Commit 5c905e02e24869abdfc9d40ec116c6c2d11dd9f3

Authored by WXD-SEASON\season
1 parent f400919d

限定链接领取

packageA/pages/quan/quan.js
... ... @@ -17,6 +17,7 @@ Page({
17 17 currentPage:1, //当前的页码
18 18 share_hidden:1, //-- 分享的按钮隐藏 --
19 19 hiddenPopup:1,
  20 + imghost: oo.imghost,
20 21 },
21 22  
22 23 /**
... ...
packageA/pages/quan/quan.wxml
... ... @@ -29,7 +29,8 @@
29 29 <text wx:if="{{item.starttype==1}}">{{filters.format_time(getcurday+3600*24*item.startdays)}}至</text> <text wx:if="{{item.days>0}}">{{filters.format_time(getcurday+3600*24*item.days)}}</text><text wx:else>不限</text>
30 30 </view>
31 31 </view>
32   - <view class="price">¥<text class="fs40">{{filters.toFix(item.money,2)}}</text></view>
  32 + <view class="price">¥<text class="fs40">{{filters.toFix(item.money,2)}}</text> <image src="{{imghost}}miniapp/images/coupon_img/sharelinke.png" class="sharelink"></image></view>
  33 +
33 34 </view>
34 35 <view class="flex ai-center jc_sb pdt20">
35 36 <view wx:if="{{item.useobjecttype==0}}" class="coupon-ft ellipsis-2 fs28">全场任意产品通用</view>
... ...
packageA/pages/quan/quan.wxss
... ... @@ -507,7 +507,7 @@ radio .wx-radio-input.wx-radio-input-checked::before{
507 507 .active {
508 508 background-color: #f2f2f2;
509 509 }
510   -
  510 +.sharelink{ width: 40rpx; height: 40rpx; padding-left:10rpx;}
511 511  
512 512  
513 513  
... ...
packageA/pages/quan_list/quan_list.js
... ... @@ -52,7 +52,7 @@ Page({
52 52 th.data.loading=1;
53 53 var user_id=getApp().globalData.user_id;
54 54 getApp().request.promiseGet("/api/weshop/prom/coupon/pageCouponList", {
55   - data:{store_id:os.stoid,type:1,pageSize:10,page:th.data.curpage,user_id:user_id}
  55 + data:{store_id:os.stoid,type:1,pageSize:10,page:th.data.curpage,user_id:user_id,is_share:0}
56 56 }).then(res => {
57 57 th.data.loading=0;
58 58 if(res.data.code==0){
... ...