yuxingxing 2 лет назад
Родитель
Сommit
1fdd9de76e
1 измененных файлов с 1 добавлено и 1 удалено
  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"