Explorar el Código

我的代金券里不显示剩余数量

skym1024 hace 1 año
padre
commit
2fb1b2adfa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/goods/details.vue

+ 1 - 1
pages/goods/details.vue

@@ -5,7 +5,7 @@
  			<view class="voucher-coupon-detail-header-info">
  				<view class="voucher-coupon-detail-header-info-title">{{coupon.name}}</view>				
 				<!-- <view class="voucher-coupon-detail-header-info-time">代金券面额:¥{{coupon.money}}</view> -->
- 				<view class="voucher-coupon-detail-header-info-desc">剩余数量:{{coupon.remainCount || 0}}</view>
+ 				<view class="voucher-coupon-detail-header-info-desc"  v-if="type !== 'my'" >剩余数量:{{coupon.remainCount || 0}}</view>
 				<view class="voucher-coupon-detail-header-info-time">需要积分:{{coupon.integral}}</view> 
 				<view class="voucher-coupon-detail-header-info-time">开始兑换:{{coupon.startTime}}</view> 
 				<view class="voucher-coupon-detail-header-info-time">结束兑换:{{coupon.endTime}}</view>