Commit 5c905e02e24869abdfc9d40ec116c6c2d11dd9f3
1 parent
f400919d
限定链接领取
Showing
4 changed files
with
5 additions
and
3 deletions
packageA/pages/quan/quan.js
packageA/pages/quan/quan.wxml
@@ -29,7 +29,8 @@ | @@ -29,7 +29,8 @@ | ||
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> | 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 | </view> | 30 | </view> |
31 | </view> | 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 | </view> | 34 | </view> |
34 | <view class="flex ai-center jc_sb pdt20"> | 35 | <view class="flex ai-center jc_sb pdt20"> |
35 | <view wx:if="{{item.useobjecttype==0}}" class="coupon-ft ellipsis-2 fs28">全场任意产品通用</view> | 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,7 +507,7 @@ radio .wx-radio-input.wx-radio-input-checked::before{ | ||
507 | .active { | 507 | .active { |
508 | background-color: #f2f2f2; | 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,7 +52,7 @@ Page({ | ||
52 | th.data.loading=1; | 52 | th.data.loading=1; |
53 | var user_id=getApp().globalData.user_id; | 53 | var user_id=getApp().globalData.user_id; |
54 | getApp().request.promiseGet("/api/weshop/prom/coupon/pageCouponList", { | 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 | }).then(res => { | 56 | }).then(res => { |
57 | th.data.loading=0; | 57 | th.data.loading=0; |
58 | if(res.data.code==0){ | 58 | if(res.data.code==0){ |