Selaa lähdekoodia

修改团购详情页

pangqijun 1 vuosi sitten
vanhempi
commit
29b57ab20c
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      pages/groupbuying_details/index.vue

+ 3 - 3
pages/groupbuying_details/index.vue

@@ -85,7 +85,7 @@
 							<view class="groupbuying-log " hover-class="none" hover-stop-propagation="false">
 								<view class="log-top">
 									<text class="log-top-title">团购记录</text>
-									<text class="log-top-count">共{{storeInfo.grouponUsers.length}}条</text>
+									<text class="log-top-count">共{{storeInfo.grouponUsers ? storeInfo.grouponUsers.length : 0}}条</text>
 								</view>
 								<view v-if="storeInfo.grouponUsers">
 
@@ -138,7 +138,7 @@
 													<text class="line-thr">{{item.salePrice}}</text>
 												</view>
 
-												<view class="u-number-box">
+												<view class="u-number-box" v-if="!storeInfo.isEnd">
 													<u-number-box :disabled="!isShowBottom" :min=0 :max="10" v-model="storeInfo.goodsList[index].num" @change="addGoodsNum"></u-number-box>
 												</view>
 											</view>
@@ -272,7 +272,7 @@
 				<text class="lookGoodsText">查看商品</text>
 			</view>
 			<view class="lookGoodsNumberView">
-				<text v-if="storeInfo.goodsList" class="lookGoodsNumber">{{storeInfo.goodsList.length}}</text>
+				<text v-if="storeInfo.goodsList" class="lookGoodsNumber">{{storeInfo.goodsTotal}}</text>
 			</view>
 		</view>