Parcourir la source

赠积分-1判断

yuxingxing il y a 2 ans
Parent
commit
1fdd9de76e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/goods_details/index.vue

+ 1 - 1
pages/goods_details/index.vue

@@ -74,7 +74,7 @@
 							<view class='coupon acea-row row-between-wrapper'>
 								<view class='hide line1 acea-row'>
 									赠积分:
-									<view class='activity'>赠送 {{ storeInfo.obtainIntegral }} 红积分</view>
+									<view class='activity' v-if="storeInfo.obtainIntegral>0">赠送 {{ storeInfo.obtainIntegral }} 红积分</view>
 								</view>
 							</view>
 							<view v-if="couponList.length" class="coupon acea-row row-between-wrapper skeleton-rect"