1.修改优惠券跳转

master
杨杰 2 years ago
parent cfb0389f82
commit 4fdc616ed2
  1. 20
      high-unionPay/pages/user/coupon/coupon.vue
  2. 2
      high-unionPay/subPages/coupon-packge-details/coupon-packge-details.vue

@ -220,7 +220,25 @@
uni.navigateTo({ uni.navigateTo({
url: '../../unionPay/recharge/recharge' url: '../../unionPay/recharge/recharge'
}) })
}else{ }else if (e.highDiscount.useScope == 4) {
app.globalData.distinguishid = 1;
uni.navigateTo({
url: '/qianzhu-KFC/buffet-order/buffet-order'
})
} else if (e.highDiscount.useScope == 5) {
app.globalData.distinguishid = 2;
uni.navigateTo({
url: '/qianzhu-KFC/buffet-order/buffet-order'
})
} else if (e.highDiscount.useScope == 6) {
uni.navigateTo({
url: '/member-Recharge/choicepage/choicepage'
})
}else if (e.highDiscount.useScope == 7) {
uni.navigateTo({
url: '../../goods/refuel/refuel'
})
} else{
uni.navigateTo({ uni.navigateTo({
url: '../mineCouponsDestails/mineCouponsDestails?id=' + e.id url: '../mineCouponsDestails/mineCouponsDestails?id=' + e.id
}) })

@ -66,7 +66,7 @@
<wybPopup ref="popup" type="bottom" width="500" scrollY="true" radius="6" :showCloseIcon="true"> <wybPopup ref="popup" type="bottom" width="500" scrollY="true" radius="6" :showCloseIcon="true">
<view class="fotct font18 fontwig6 fcor333 mart10 height30">优惠券包</view> <view class="fotct font18 fontwig6 fcor333 mart10 height30">优惠券包</view>
<view class="width92 height110 tccs mart10" v-for="product in goodsData.discountList" :key="product.id"> <view class="width92 height110 tccs mart10" v-for="product in goodsData.discountList" :key="product.id">
<image mode="widthFix" class="flleft" src="../../static/img/logo.png"></image> <image mode="widthFix" class="flleft" :src="imageUrl+product.discountDetail.discountImg"></image>
<view class="tcrig"> <view class="tcrig">
<view class="font16 fontwig6 fcor333 text2">{{ product.discountDetail.discountName}}</view> <view class="font16 fontwig6 fcor333 text2">{{ product.discountDetail.discountName}}</view>
<view class="font14 fcor999 mart5">数量: x{{product.num}}</view> <view class="font14 fcor999 mart5">数量: x{{product.num}}</view>

Loading…
Cancel
Save