Authored by 李奇

详情页修改

@@ -79,7 +79,8 @@ Page({ @@ -79,7 +79,8 @@ Page({
79 shopRecList: [], 79 shopRecList: [],
80 preferList: [], 80 preferList: [],
81 81
82 - showBackTop: false 82 + showBackTop: false,
  83 + showBottomTipView: false
83 }, 84 },
84 onLoad: function (options) { 85 onLoad: function (options) {
85 let productSkn = options.productSkn ? options.productSkn : ''; 86 let productSkn = options.productSkn ? options.productSkn : '';
@@ -305,7 +306,7 @@ Page({ @@ -305,7 +306,7 @@ Page({
305 pickerData: pickData, 306 pickerData: pickData,
306 storage_sum: res.data.storage_sum, 307 storage_sum: res.data.storage_sum,
307 snapshootShareData: snapData, 308 snapshootShareData: snapData,
308 - shopId: res.data.shop_id 309 + shopId: res.data.shop_id,
309 // 暂时没用 310 // 暂时没用
310 // brand_id: res.data.brand_id, 311 // brand_id: res.data.brand_id,
311 // isLimitBuy:res.data.isLimitBuy, 312 // isLimitBuy:res.data.isLimitBuy,
@@ -324,6 +325,7 @@ Page({ @@ -324,6 +325,7 @@ Page({
324 // productOnlyProvideByYohoAPP: res.data.is_secKill === 'Y' || res.data.is_advance === 'Y' || res.data.attribute === 3 || res.data.attribute === 4 || res.data.isLimitBuy || res.data.is_deposit_advance==='Y', 325 // productOnlyProvideByYohoAPP: res.data.is_secKill === 'Y' || res.data.is_advance === 'Y' || res.data.attribute === 3 || res.data.attribute === 4 || res.data.isLimitBuy || res.data.is_deposit_advance==='Y',
325 // productOnlyProvideByYohoStore: res.data.store_show_status === 3 || res.data.store_show_status === 4, 326 // productOnlyProvideByYohoStore: res.data.store_show_status === 3 || res.data.store_show_status === 4,
326 // productNotForSale: res.data.attribute===2, 327 // productNotForSale: res.data.attribute===2,
  328 + showBottomTipView: true
327 }); 329 });
328 330
329 this.shopRecList(res.data.shop_id); 331 this.shopRecList(res.data.shop_id);
@@ -105,7 +105,7 @@ @@ -105,7 +105,7 @@
105 <product-list list="{{preferList}}"></product-list> 105 <product-list list="{{preferList}}"></product-list>
106 </view> 106 </view>
107 </block> 107 </block>
108 - <view class='bottom-tip-view' style="display:{{storage_sum===0?'flex':'none'}}"> 108 + <view class='bottom-tip-view' wx:if="{{showBottomTipView}}" style="display:{{storage_sum===0?'flex':'none'}}">
109 <text class="bottom-tip-view-title" style="display:{{is_supplyed?'flex':'none'}}">此商品已售罄,请等待后续备货!</text> 109 <text class="bottom-tip-view-title" style="display:{{is_supplyed?'flex':'none'}}">此商品已售罄,请等待后续备货!</text>
110 <text class="bottom-tip-view-title" style="display:{{is_supplyed?'none':'flex'}}">已售罄</text> 110 <text class="bottom-tip-view-title" style="display:{{is_supplyed?'none':'flex'}}">已售罄</text>
111 </view> 111 </view>