Browse Source

赠积分-1判断

yuxingxing 2 years ago
parent
commit
1fdd9de76e
1 changed files with 1 additions and 1 deletions
  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='coupon acea-row row-between-wrapper'>
 								<view class='hide line1 acea-row'>
 								<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>
 							</view>
 							<view v-if="couponList.length" class="coupon acea-row row-between-wrapper skeleton-rect"
 							<view v-if="couponList.length" class="coupon acea-row row-between-wrapper skeleton-rect"