1.修改分享直领取优惠券

yj-dev
杨杰 2 years ago
parent 85ffb79965
commit a34b1b92c7
  1. 10
      pages/user/payActivity/payActivity.vue
  2. 10
      subPages/shareCounpon/shareCounpon.vue

@ -29,10 +29,7 @@
</view> </view>
<view class="right"> <view class="right">
<view class="ticket" style="background-color: #009DFF;padding-top: 1vw;"> <view class="ticket" style="background-color: #009DFF;padding-top: 1vw;">
<view class="num" v-if="row.discountType == 3"> <view class="num">
{{row.discountPrice * 10}}
</view>
<view class="num" v-else>
{{row.discountPrice}} {{row.discountPrice}}
</view> </view>
<view class="unit margle" v-if="row.discountType == 3"> <view class="unit margle" v-if="row.discountType == 3">
@ -90,10 +87,7 @@
</view> </view>
<view class="right"> <view class="right">
<view class="ticket" style="background-color: #999999;"> <view class="ticket" style="background-color: #999999;">
<view class="num" v-if="row.discountType == 3"> <view class="num">
{{row.discountPrice * 10}}
</view>
<view class="num" v-else>
{{row.discountPrice}} {{row.discountPrice}}
</view> </view>
<view class="unit margle" v-if="row.discountType == 3"> <view class="unit margle" v-if="row.discountType == 3">

@ -65,12 +65,18 @@
if (app.globalData.accountType == '0000012&key') { if (app.globalData.accountType == '0000012&key') {
uni.removeStorage({ uni.removeStorage({
key: 'shareNum' key: 'shareNum'
}); });
uni.setNavigationBarTitle({
title: '分享领取优惠券'
})
that.partakeWay = 2; that.partakeWay = 2;
that.getOrderByOutTradeOrder(); that.getOrderByOutTradeOrder();
} }
if (app.globalData.accountType == '0000014&key') { if (app.globalData.accountType == '0000014&key') {
that.partakeWay = 3; that.partakeWay = 3;
uni.setNavigationBarTitle({
title: '立即领取优惠券'
})
uni.getStorage({ uni.getStorage({
key: 'staffCode', key: 'staffCode',
success: (res) => { success: (res) => {

Loading…
Cancel
Save