zs 2 years ago
parent
commit
a04f6da03a
1 changed files with 5 additions and 4 deletions
  1. 5 4
      pagesHome/group/share.vue

+ 5 - 4
pagesHome/group/share.vue

@@ -151,8 +151,8 @@
 										</view>
 										<view class="one_3_1">
 											<text>库存{{specsInfo.num||0}}</text>
-											<text
-												class="limit" v-if="specsInfo.limit_num">({{specsInfo.buy_name||'暂无'}}{{specsInfo.limit_num||0}}个)</text>
+											<text class="limit"
+												v-if="specsInfo.limit_num">({{specsInfo.buy_name||'暂无'}}{{specsInfo.limit_num||0}}个)</text>
 										</view>
 									</view>
 								</view>
@@ -294,12 +294,12 @@
 							that.$set(that, `infospecs`, indexSpecs[0])
 						}
 						that.$set(that, `info`, data);
+						// 查询其他
+						await that.searchOther();
 						// 查询规格
 						that.searchSpecs(data.specs);
 						// 查询评价数
 						that.searchRate(data);
-						// 查询其他
-						await that.searchOther();
 					} else {
 						uni.showToast({
 							title: res.errmsg,
@@ -924,6 +924,7 @@
 								font-size: 14px;
 								color: #858585;
 							}
+
 							.limit {
 								color: #ff0000;
 								padding: 0 0 0 2vw;