Authored by 李奇

详情页修改

... ... @@ -79,7 +79,8 @@ Page({
shopRecList: [],
preferList: [],
showBackTop: false
showBackTop: false,
showBottomTipView: false
},
onLoad: function (options) {
let productSkn = options.productSkn ? options.productSkn : '';
... ... @@ -305,7 +306,7 @@ Page({
pickerData: pickData,
storage_sum: res.data.storage_sum,
snapshootShareData: snapData,
shopId: res.data.shop_id
shopId: res.data.shop_id,
// 暂时没用
// brand_id: res.data.brand_id,
// isLimitBuy:res.data.isLimitBuy,
... ... @@ -324,6 +325,7 @@ Page({
// 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',
// productOnlyProvideByYohoStore: res.data.store_show_status === 3 || res.data.store_show_status === 4,
// productNotForSale: res.data.attribute===2,
showBottomTipView: true
});
this.shopRecList(res.data.shop_id);
... ...
... ... @@ -105,7 +105,7 @@
<product-list list="{{preferList}}"></product-list>
</view>
</block>
<view class='bottom-tip-view' style="display:{{storage_sum===0?'flex':'none'}}">
<view class='bottom-tip-view' wx:if="{{showBottomTipView}}" style="display:{{storage_sum===0?'flex':'none'}}">
<text class="bottom-tip-view-title" style="display:{{is_supplyed?'flex':'none'}}">此商品已售罄,请等待后续备货!</text>
<text class="bottom-tip-view-title" style="display:{{is_supplyed?'none':'flex'}}">已售罄</text>
</view>
... ...