1.上线优化扫码领券2.0

master
杨杰 2 years ago
parent f5ca3e4045
commit 8fdf3894fc
  1. 10
      high-unionPay/pages/goods/externalCoupon/externalCoupon.vue
  2. 4
      high-unionPay/pages/user/coupon/coupon.vue

@ -23,7 +23,7 @@
v-if="userInfo != 1 && couponsDetails.highDiscountAgentCode.status != 1 && couponsDetails.highDiscount.usingRange == 5" v-if="userInfo != 1 && couponsDetails.highDiscountAgentCode.status != 1 && couponsDetails.highDiscount.usingRange == 5"
@click="useDiscount">立即使用</button> --> @click="useDiscount">立即使用</button> -->
<view class="alijus width90 mart20" <view class="alijus width90 mart20"
v-if="userInfo != 1 && couponsDetails.highDiscountAgentCode.status != 1 && couponsDetails.highDiscount.usingRange == 5"> v-if="userInfo != 1 && couponsDetails.highDiscountAgentCode.status != 1 && couponsDetails.highDiscount.usingRange == 8">
<view class="width40" style="margin-right: 5%;" @click="useDiscount"> <view class="width40" style="margin-right: 5%;" @click="useDiscount">
<view class="width100 btnno fotct font16 backcor008">立即使用</view> <view class="width100 btnno fotct font16 backcor008">立即使用</view>
</view> </view>
@ -32,7 +32,7 @@
<view class="width100 btnno fotct font16 backcor008">立即查看</view> <view class="width100 btnno fotct font16 backcor008">立即查看</view>
</view> </view>
</view> </view>
<view class="width90 mart30" v-if="couponsDetails.highDiscount.usingRange == 5"> <view class="width90 mart30" v-if="couponsDetails.highDiscount.usingRange == 8">
<image :src="imagewxUrl+imgadres3" mode="widthFix" class="width100" <image :src="imagewxUrl+imgadres3" mode="widthFix" class="width100"
v-if="couponsDetails.highDiscountAgentCode.status ==1"></image> v-if="couponsDetails.highDiscountAgentCode.status ==1"></image>
<!-- <image :src="imagewxUrl+imgadres1" mode="widthFix" class="width100" <!-- <image :src="imagewxUrl+imgadres1" mode="widthFix" class="width100"
@ -40,12 +40,12 @@
<image :src="imagewxUrl+imgadres2" mode="widthFix" class="width100" <image :src="imagewxUrl+imgadres2" mode="widthFix" class="width100"
v-if="couponsDetails.highDiscountAgentCode.status != 1"></image> v-if="couponsDetails.highDiscountAgentCode.status != 1"></image>
</view> </view>
<view class="width90 mart10 fcor666" v-if="couponsDetails.highDiscount.usingRange != 5">去使用</view> <view class="width90 mart10 fcor666" v-if="couponsDetails.highDiscount.usingRange != 8">去使用</view>
<view v-if="minecoupones == '' && couponsDetails.highDiscount.usingRange != 5" <view v-if="minecoupones == '' && couponsDetails.highDiscount.usingRange != 8"
class="mart60 fotct font14 fcor666"> class="mart60 fotct font14 fcor666">
<image mode="widthFix" style="width: 70vw;" :src="imagewxUrl+imgadres"></image> <image mode="widthFix" style="width: 70vw;" :src="imagewxUrl+imgadres"></image>
</view> </view>
<view class="product-list mart20 width90" v-if="couponsDetails.highDiscount.usingRange != 5"> <view class="product-list mart20 width90" v-if="couponsDetails.highDiscount.usingRange != 8">
<view class="product" v-for="product in minecoupones" :key="product.id" <view class="product" v-for="product in minecoupones" :key="product.id"
@tap="toGoods(product.highCoupon.id)"> @tap="toGoods(product.highCoupon.id)">
<image mode="widthFix" :src="imageUrl+product.highCoupon.couponImg"></image> <image mode="widthFix" :src="imageUrl+product.highCoupon.couponImg"></image>

@ -376,7 +376,7 @@
uni.navigateTo({ uni.navigateTo({
url: '/qianzhu-KFC/buffet-order/buffet-order' url: '/qianzhu-KFC/buffet-order/buffet-order'
}) })
} else if (e.useScope == 6) { } else if (e.discountUseScope == 6) {
uni.navigateTo({ uni.navigateTo({
url: '/member-Recharge/choicepage/choicepage' url: '/member-Recharge/choicepage/choicepage'
}) })
@ -384,7 +384,7 @@
uni.navigateTo({ uni.navigateTo({
url: '../../goods/refuel/refuel' url: '../../goods/refuel/refuel'
}) })
} else if (e.usingRange == 5) { } else if (e.discountUseScope == 8) {
this.useDiscount(e.discountAgentCodeId); this.useDiscount(e.discountAgentCodeId);
} else { } else {
uni.navigateTo({ uni.navigateTo({

Loading…
Cancel
Save