服务器提交

This commit is contained in:
2026-04-05 10:48:38 +08:00
parent 3eff15071e
commit 6423d681af
8000 changed files with 5341 additions and 899005 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "好友瓜分券",
"usingComponents": {
"uni-count-down": "/components/uni-count-down/uni-count-down",
"ns-goods-recommend": "/components/ns-goods-recommend/ns-goods-recommend",
"uni-popup": "/components/uni-popup/uni-popup",
"ns-login": "/components/ns-login/ns-login",
"loading-cover": "/components/loading-cover/loading-cover"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_promotion/divideticket/list"],{"3d47":function(e,t,n){},"544a":function(e,t,n){"use strict";var i=n("3d47"),o=n.n(i);o.a},"5c0d":function(e,t,n){"use strict";n.r(t);var i=n("b57a"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},9286:function(e,t,n){"use strict";n.r(t);var i=n("fb6a"),o=n("5c0d");for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("544a");var s=n("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"6a3ed67f",null,!1,i["a"],void 0);t["default"]=r.exports},a6d7:function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("d381");i(n("3240"));var o=i(n("9286"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},b57a:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{type:"",types:"",state:1,sort:1,list:[],isIphoneX:!1,showEmpty:!1,mpShareData:null}},onLoad:function(t){var n=this;if(this.isIphoneX=this.$util.uniappIsIPhoneX(),t.source_member&&e.setStorageSync("source_member",t.source_member),t.scene){var i=decodeURIComponent(t.scene);i=i.split("&"),i.length&&i.forEach((function(t){-1!=t.indexOf("sku_id")&&(n.skuId=t.split("-")[1]),-1!=t.indexOf("m")&&e.setStorageSync("source_member",t.split("-")[1]),-1!=t.indexOf("is_test")&&e.setStorageSync("is_test",1)}))}},filters:{int:function(e){var t=String(e),n=t.split(".");return parseInt(n[1])>0?t:n[0]}},onShow:function(){var t=this;setTimeout((function(){t.addonIsExist.divideticket||(t.$util.showToast({title:"商家未开启瓜分券",mask:!0,duration:2e3}),setTimeout((function(){t.$util.redirectTo("/pages/index/index")}),2e3))}),1e3),this.storeToken&&e.getStorageSync("source_member")&&this.$util.onSourceMember(e.getStorageSync("source_member")),this.$util.getMpShare().then((function(e){t.mpShareData=e}))},onShareAppMessage:function(){return this.mpShareData.appMessage},onShareTimeline:function(){return this.mpShareData.timeLine},methods:{getMemberCouponList:function(e){var t=this;this.showEmpty=!1,this.$api.sendRequest({url:"/divideticket/api/divideticket/lists",data:{page:e.num,page_size:e.size},success:function(n){t.showEmpty=!0;var i=[],o=n.message;0==n.code&&n.data?i=n.data.list:t.$util.showToast({title:o}),e.endSuccess(i.length),1==e.num&&(t.list=[]),t.list=t.list.concat(i);var a=n.data;a&&(t.couponList=a),t.$refs.loadingCover&&t.$refs.loadingCover.hide()},fail:function(n){e.endErr(),t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},imageError:function(e){this.list[e].image=this.$util.getDefaultImage().goods,this.$forceUpdate()},toGoodsList:function(e){this.$util.redirectTo("/pages_promotion/divideticket/index",{coupon_id:e.coupon_id})}}};t.default=n}).call(this,n("df3c")["default"])},fb6a:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var i={nsEmpty:function(){return n.e("components/ns-empty/ns-empty").then(n.bind(null,"52a6"))},nsLogin:function(){return Promise.all([n.e("common/vendor"),n.e("components/ns-login/ns-login")]).then(n.bind(null,"2910"))},hoverNav:function(){return n.e("components/hover-nav/hover-nav").then(n.bind(null,"c1f1"))},loadingCover:function(){return n.e("components/loading-cover/loading-cover").then(n.bind(null,"c003"))}},o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.list.length),i=n>0?e.__map(e.list,(function(t,n){var i=e.__get_orig(t),o=""!=t.image?e.$util.img(t.image):null,a=""==t.image?e.$util.img("public/uniapp/divideticket/coupon_list_img.png"):null,s=e._f("int")(t.money),r=t.validity_type?null:e.$util.timeStampTurnTime(t.end_time),u=parseFloat(t.money).toFixed(2).split("."),c=parseFloat(t.money).toFixed(2).split(".");return{$orig:i,g1:o,g2:a,f0:s,g3:r,g4:u,g5:c}})):null;e.$mp.data=Object.assign({},{$root:{g0:n,l0:i}})},a=[]}},[["a6d7","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "好友瓜分劵列表",
"usingComponents": {
"ns-empty": "/components/ns-empty/ns-empty",
"ns-login": "/components/ns-login/ns-login",
"hover-nav": "/components/hover-nav/hover-nav",
"loading-cover": "/components/loading-cover/loading-cover"
}
}

View File

@@ -0,0 +1 @@
<page-meta page-style="{{themeColor}}" class="data-v-6a3ed67f"></page-meta><view class="{{['data-v-6a3ed67f',isIphoneX?'iphone-x':'']}}"><mescroll-uni vue-id="764e837a-1" top="20" data-ref="mescroll" data-event-opts="{{[['^getData',[['getMemberCouponList']]]]}}" bind:getData="__e" class="data-v-6a3ed67f vue-ref" bind:__l="__l" vue-slots="{{['list']}}"><view slot="list" class="data-v-6a3ed67f"><block wx:if="{{$root.g0>0}}"><view class="coupon-listone data-v-6a3ed67f"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toGoodsList',['$0'],[[['list','',index]]]]]]]}}" class="item data-v-6a3ed67f" bindtap="__e"><view class="item-left data-v-6a3ed67f"><view class="item-flex data-v-6a3ed67f"><view class="item-base data-v-6a3ed67f"><block wx:if="{{item.$orig.image!=''}}"><image src="{{item.g1}}" mode="aspectFit" data-event-opts="{{[['error',[['imageError',[index]]]]]}}" binderror="__e" class="data-v-6a3ed67f"></image></block><block wx:else><image src="{{item.g2}}" mode="aspectFit" class="data-v-6a3ed67f"></image></block></view><view class="item-info data-v-6a3ed67f"><view class="use_name data-v-6a3ed67f">{{item.$orig.name}}</view><view class="use_title data-v-6a3ed67f">{{item.$orig.divide_num+"名好友瓜分"+item.f0+"元优惠券"}}</view><block wx:if="{{item.$orig.validity_type}}"><view class="use_time data-v-6a3ed67f">{{"有效期:领取之日起"+item.$orig.fixed_term+"日内有效"}}</view></block><block wx:else><view class="use_time data-v-6a3ed67f">{{"有效期:"+item.g3}}</view></block></view></view></view><view class="item-right data-v-6a3ed67f"><view class="use_price data-v-6a3ed67f"><text class="data-v-6a3ed67f">¥</text>{{''+item.g4[0]+''}}<text class="data-v-6a3ed67f">{{"."+item.g5[1]}}</text></view><block wx:if="{{item.$orig.g_status==2}}"><view data-event-opts="{{[['tap',[['toGoodsList',['$0'],[[['list','',index]]]]]]]}}" class="tag data-v-6a3ed67f" catchtap="__e">去瓜分</view></block><block wx:if="{{item.$orig.g_status==1}}"><view data-event-opts="{{[['tap',[['toGoodsList',['$0'],[[['list','',index]]]]]]]}}" class="tag data-v-6a3ed67f" catchtap="__e">去查看</view></block><block wx:if="{{item.$orig.g_status==0}}"><view data-event-opts="{{[['tap',[['toGoodsList',['$0'],[[['list','',index]]]]]]]}}" class="tag data-v-6a3ed67f" catchtap="__e">组队中</view></block></view></view></block></view></block><block wx:else><view class="data-v-6a3ed67f"><ns-empty vue-id="{{('764e837a-2')+','+('764e837a-1')}}" isIndex="{{false}}" text="暂无数据" class="data-v-6a3ed67f" bind:__l="__l"></ns-empty></view></block></view></mescroll-uni><ns-login vue-id="764e837a-3" data-ref="login" class="data-v-6a3ed67f vue-ref" bind:__l="__l"></ns-login><hover-nav vue-id="764e837a-4" class="data-v-6a3ed67f" bind:__l="__l"></hover-nav><loading-cover vue-id="764e837a-5" data-ref="loadingCover" class="data-v-6a3ed67f vue-ref" bind:__l="__l"></loading-cover><privacy-popup vue-id="764e837a-6" data-ref="privacyPopup" class="data-v-6a3ed67f vue-ref" bind:__l="__l"></privacy-popup></view>

View File

@@ -0,0 +1 @@
.cart-empty.data-v-6a3ed67f{margin-top:104px!important}.active.data-v-6a3ed67f{border-bottom:4rpx solid}.coupon-head.data-v-6a3ed67f{display:flex;background:#fff;padding:20rpx 50rpx}.coupon-head .sort.data-v-6a3ed67f{border:1px solid #c5c5c5;padding:1rpx 20rpx;border-radius:50rpx;cursor:pointer;margin-right:15rpx}.cf-container.data-v-6a3ed67f{background:#fff;overflow:hidden}.tab.data-v-6a3ed67f{display:flex;justify-content:space-between;height:86rpx}.tab > view.data-v-6a3ed67f{text-align:center;width:33%;height:86rpx}.tab > view text.data-v-6a3ed67f{display:inline-block;line-height:86rpx;height:80rpx;font-size:30rpx}.coupon-listone.data-v-6a3ed67f{margin:0 30rpx}.coupon-listone .item.data-v-6a3ed67f{display:flex;flex-direction:column;background-color:#fff;background-size:100% 100%;border-radius:20rpx;align-items:stretch;margin-top:20rpx;overflow:hidden;padding:20rpx}.coupon-listone .item .item-left.data-v-6a3ed67f{margin-bottom:30rpx}.coupon-listone .item .item-left .use_name.data-v-6a3ed67f{font-weight:700;width:460rpx;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.coupon-listone .item .item-left .item-flex.data-v-6a3ed67f{display:flex;align-items:center}.coupon-listone .item .item-left .use_time.data-v-6a3ed67f{font-size:24rpx;color:#909399}.coupon-listone .item .item-left .item-base.data-v-6a3ed67f{width:160rpx;height:160rpx;border-radius:10rpx}.coupon-listone .item .item-left .item-base image.data-v-6a3ed67f{width:100%;height:100%;border-radius:10rpx}.coupon-listone .item .item-left .item-info.data-v-6a3ed67f{margin-left:20rpx;overflow:hidden;background-repeat-x:no-repeat;background-repeat-y:repeat}.coupon-listone .item .item-left .item-info .use_title.data-v-6a3ed67f{font-size:24rpx;max-width:330rpx;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#606266}.coupon-listone .item .item-left .item-info .use_title .max_price.data-v-6a3ed67f{font-weight:400;font-size:24rpx}.coupon-listone .item .item-left .item-info .use_type.data-v-6a3ed67f{max-width:330rpx;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-radius:5rpx;background-color:#f98}.coupon-listone .item .item-right.data-v-6a3ed67f{padding-top:20rpx;display:flex;justify-content:space-between;border-top:1px solid #eee}.coupon-listone .item .item-right .use_price.data-v-6a3ed67f{font-weight:700;font-size:36rpx;color:var(--price-color)}.coupon-listone .item .item-right .use_price text.data-v-6a3ed67f{font-size:28rpx;margin-right:10rpx;font-weight:700}.coupon-listone .item .item-right .tag.data-v-6a3ed67f{height:50rpx;border-radius:10rpx;line-height:50rpx;padding:0 19.5px;text-align:center;background:linear-gradient(90deg,var(--bg-color),var(--bg-color-shallow));color:#fff;font-size:24rpx}.coupon-listone .item .item-right .tag.disabled.data-v-6a3ed67f{background:#eee!important;color:#909399!important}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "我的瓜分列表",
"usingComponents": {
"ns-empty": "/components/ns-empty/ns-empty",
"ns-login": "/components/ns-login/ns-login",
"loading-cover": "/components/loading-cover/loading-cover"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.cart-empty.data-v-0771e3e6{margin-top:104px!important}.active.data-v-0771e3e6{border-bottom:4rpx solid}.coupon-head.data-v-0771e3e6{display:flex;background:#fff;padding:20rpx 50rpx}.coupon-head .sort.data-v-0771e3e6{border:1px solid #c5c5c5;padding:1rpx 20rpx;border-radius:50rpx;cursor:pointer;margin-right:15rpx}.cf-container.data-v-0771e3e6{background:#fff;overflow:hidden}.tab.data-v-0771e3e6{display:flex;justify-content:space-between;height:86rpx}.tab > view.data-v-0771e3e6{text-align:center;width:33%;height:86rpx}.tab > view text.data-v-0771e3e6{display:inline-block;line-height:86rpx;height:80rpx;font-size:30rpx}.coupon-listone.data-v-0771e3e6{margin:0 30rpx}.coupon-listone .item.data-v-0771e3e6{display:flex;flex-direction:column;background-color:#fff;background-size:100% 100%;border-radius:20rpx;align-items:stretch;margin-top:20rpx;overflow:hidden;padding:20rpx}.coupon-listone .item .item-top.data-v-0771e3e6{display:flex;justify-content:space-between;margin-bottom:30rpx}.coupon-listone .item .item-left.data-v-0771e3e6{margin-bottom:40rpx}.coupon-listone .item .item-left .use_name.data-v-0771e3e6{font-weight:700;width:460rpx;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.coupon-listone .item .item-left .item-flex.data-v-0771e3e6{display:flex;align-items:center}.coupon-listone .item .item-left .use_time.data-v-0771e3e6{font-size:24rpx;color:#909399}.coupon-listone .item .item-left .item-base.data-v-0771e3e6{width:160rpx;height:160rpx;border-radius:10rpx}.coupon-listone .item .item-left .item-base image.data-v-0771e3e6{width:100%;height:100%;border-radius:10rpx}.coupon-listone .item .item-left .item-info.data-v-0771e3e6{margin-left:20rpx;overflow:hidden;background-repeat-x:no-repeat;background-repeat-y:repeat}.coupon-listone .item .item-left .item-info .use_title.data-v-0771e3e6{font-size:24rpx;max-width:330rpx;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#606266}.coupon-listone .item .item-left .item-info .use_title .max_price.data-v-0771e3e6{font-weight:400;font-size:24rpx}.coupon-listone .item .item-left .item-info .use_type.data-v-0771e3e6{max-width:330rpx;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-radius:5rpx;background-color:#f98}.coupon-listone .item .item-right.data-v-0771e3e6{display:flex;justify-content:space-between;align-items:center;position:relative}.coupon-listone .item .item-right image.data-v-0771e3e6{width:50rpx;height:50rpx;border-radius:50%}.coupon-listone .item .item-right .posi.data-v-0771e3e6{position:absolute;bottom:12rpx;left:100rpx;background-color:#fff}.coupon-listone .item .item-right .img-list.data-v-0771e3e6{padding-left:40rpx;display:flex}.coupon-listone .item .item-right .img-list image.data-v-0771e3e6{margin-right:10rpx;border:1px solid #fff;margin-left:-40rpx}.coupon-listone .item .item-right .use_price.data-v-0771e3e6{width:50rpx;height:50rpx;line-height:50rpx;border:1px dashed;border-radius:50%;font-size:40rpx;text-align:center}.coupon-listone .item .item-right .tag.data-v-0771e3e6{height:50rpx;border-radius:26rpx;line-height:50rpx;padding:0 19.5px;text-align:center;color:#fff;font-size:24rpx}.coupon-listone .item .item-right .tag.disabled.data-v-0771e3e6{background:#eee!important;color:#909399!important}.coupon-listone .item .item-right .image-lists image.data-v-0771e3e6{border:1px solid #fff}.coupon-listone .item .item-right .posi-one.data-v-0771e3e6{position:absolute;top:0;left:20rpx}.coupon-listone .item .item-right .posi-two.data-v-0771e3e6{position:absolute;top:0;left:40rpx}.coupon-listone .item .item-right .posi-three.data-v-0771e3e6{position:absolute;top:0;left:60rpx}.coupon-listone .item .item-right .posi-four.data-v-0771e3e6{position:absolute;top:0;left:80rpx}.order-nav.data-v-0771e3e6{width:100vw;height:90rpx;flex-direction:row;white-space:nowrap;background:#fff;display:flex;position:fixed;left:0;z-index:998}.order-nav .uni-tab-item.data-v-0771e3e6{flex:1;padding-left:24rpx;padding-right:24rpx}.order-nav .uni-tab-item-title.data-v-0771e3e6{display:block;height:86rpx;line-height:90rpx;border-bottom:1px solid #fff;padding:0 10rpx;flex-wrap:nowrap;white-space:nowrap;text-align:center;font-size:30rpx}.order-nav .uni-tab-item-title-active.data-v-0771e3e6{display:block;height:86rpx;border-bottom:2px solid #fff;padding:0 10rpx}.order-nav.data-v-0771e3e6 ::-webkit-scrollbar{width:0;height:0;color:transparent}.mescroll-uni-fixed{top:100rpx!important}

View File

@@ -0,0 +1 @@
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_promotion/divideticket/poster"],{"18b8":function(t,i,e){"use strict";(function(t,i){var n=e("47a9");e("d381");n(e("3240"));var o=n(e("38e5"));t.__webpack_require_UNI_MP_PLUGIN__=e,i(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"1fe9":function(t,i,e){},2591:function(t,i,e){"use strict";var n=e("1fe9"),o=e.n(n);o.a},"29fa":function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default={data:function(){return{poster:"",posterMsg:"",posterHeight:0,couponId:"",groupId:0,inviterId:""}},onLoad:function(t){this.couponId=t.coupon_id,this.groupId=t.group_id,this.inviterId=t.inviter_id,this.getGoodsPoster()},methods:{getGoodsPoster:function(){var t=this;this.$api.sendRequest({url:"/divideticket/api/divideticket/poster",data:{coupon_id:this.couponId,group_id:""==this.groupId?0:this.groupId,inviter_id:""==this.inviterId?0:this.inviterId},success:function(i){0==i.code?t.poster=i.data.path:t.posterMsg=i.message}})}}}},"38e5":function(t,i,e){"use strict";e.r(i);var n=e("47db"),o=e("67b9");for(var r in o)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(r);e("2591");var u=e("828b"),s=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);i["default"]=s.exports},"47db":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement,i=(this._self._c,this.$util.img(this.poster));this.$mp.data=Object.assign({},{$root:{g0:i}})},o=[]},"67b9":function(t,i,e){"use strict";e.r(i);var n=e("29fa"),o=e.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);i["default"]=o.a}},[["18b8","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "瓜分海报",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<page-meta page-style="{{themeColor}}"></page-meta><view class="container"><swiper class="swiper"><swiper-item><view class="swiper-item"><view class="poster-wrap"><image src="{{$root.g0}}" mode="widthFix" show-menu-by-longpress="{{true}}"></image></view></view></swiper-item></swiper><privacy-popup class="vue-ref" vue-id="4fce2634-1" data-ref="privacyPopup" bind:__l="__l"></privacy-popup></view>

View File

@@ -0,0 +1 @@
.container{width:100vw;min-height:100vh;background-color:#f5f5f5}.poster-wrap{padding:40rpx 0;width:calc(100vw - 80rpx);margin:0 40rpx;line-height:1}.poster-wrap image{border-radius:20rpx;overflow:hidden;width:100%}.swiper{height:100vh}