1.优化2.0扫码领券下架状态

yj-dev
杨杰 2 years ago
parent 2ade2e4e68
commit b701fc0057
  1. 4
      pages/goods/externalCoupon/externalCoupon.vue

@ -36,7 +36,7 @@
</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 != 5">
<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,product.highCoupon.couponSource)"> @tap="toGoods(product.highCoupon.id,product.highCoupon.status)">
<image mode="widthFix" :src="imageUrl+product.highCoupon.couponImg"></image> <image mode="widthFix" :src="imageUrl+product.highCoupon.couponImg"></image>
<view class="name">{{ product.highCoupon.couponName }}</view> <view class="name">{{ product.highCoupon.couponName }}</view>
<view class="info" v-if="product.highCoupon.payType == 1"> <view class="info" v-if="product.highCoupon.payType == 1">
@ -360,7 +360,7 @@
toGoods(e, item) { toGoods(e, item) {
if (app.globalData.userInfo) { if (app.globalData.userInfo) {
if (app.globalData.openId) { if (app.globalData.openId) {
if (item == 4) { if (item != 2) {
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: '系统维护中,暂时无法购买', title: '系统维护中,暂时无法购买',

Loading…
Cancel
Save