...
|
...
|
@@ -118,19 +118,10 @@ |
|
|
</view>
|
|
|
|
|
|
<view class="fixed-bottom-actions">
|
|
|
<!--<block wx:if="{{storage_sum==0}}">-->
|
|
|
<!--<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>-->
|
|
|
<!--</block>-->
|
|
|
<!--<block wx:else>-->
|
|
|
<!--<view-->
|
|
|
<!--class="bottom-action {{(productOnlyProvideByYohoAPP || productOnlyProvideByYohoStore || productNotForSale) ? 'disabled' : ''}}" >-->
|
|
|
<!--<view wx:if="{{login}}" class="buy-btn" bindtap="buyImmediate">立即购买</view>-->
|
|
|
<!--<button wx:else class="buy-btn" open-type="getUserInfo" bindgetuserinfo="getUserInfoLogin">立即购买</button>-->
|
|
|
<!--</view>-->
|
|
|
<!--</block>-->
|
|
|
<view class="invalid-tip" wx:if="{{storage_sum === 0}}">
|
|
|
<view class="tip-bg"></view>
|
|
|
<text class="tip-text" wx:if="{{storage_sum === 0}}">此商品已售罄,请等待后续备货!</text>
|
|
|
</view>
|
|
|
<view class="img-action" bindtap="goCart">
|
|
|
<view class="badge" hidden='{{countInCart===0}}'>{{countInCart}}</view>
|
|
|
<image class="image" src="../../../static/images/cart-btn.png" mode="widthFix"></image>
|
...
|
...
|
@@ -138,15 +129,21 @@ |
|
|
<view class="img-action" bindtap="toShop">
|
|
|
<image class="image" src="../../../static/images/store-btn-active.png" mode="widthFix"></image>
|
|
|
</view>
|
|
|
<view wx:if="{{login}}" class="txt-action add" bindtap="addToCart">加入购物车</view>
|
|
|
<view wx:else class="txt-action add" bindtap="addToCart">
|
|
|
<button class="add-btn" open-type="getUserInfo" bindgetuserinfo="getUserInfoLogin" plain="true">加入购物车</button>
|
|
|
</view>
|
|
|
|
|
|
<view wx:if="{{login}}" class="txt-action buy" bindtap="buyImmediate">立即购买</view>
|
|
|
<view wx:else class="txt-action buy" bindtap="buyImmediate">
|
|
|
<button class="buy-btn" open-type="getUserInfo" bindgetuserinfo="getUserInfoLogin" plain="true">立即购买</button>
|
|
|
</view>
|
|
|
<block wx:if="{{true}}">
|
|
|
<view wx:if="{{login}}" class="txt-action add" bindtap="addToCart">加入购物车</view>
|
|
|
<view wx:else class="txt-action add" bindtap="addToCart">
|
|
|
<button class="add-btn" open-type="getUserInfo" bindgetuserinfo="getUserInfoLogin" plain="true">加入购物车</button>
|
|
|
</view>
|
|
|
|
|
|
<view wx:if="{{login}}" class="txt-action buy" bindtap="buyImmediate">立即购买</view>
|
|
|
<view wx:else class="txt-action buy" bindtap="buyImmediate">
|
|
|
<button class="buy-btn" open-type="getUserInfo" bindgetuserinfo="getUserInfoLogin" plain="true">立即购买</button>
|
|
|
</view>
|
|
|
</block>
|
|
|
<block wx:else>
|
|
|
<view class="txt-action disabled">加入购物车</view>
|
|
|
<view class="txt-action buy disabled">立即购买</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
|
|
|
|
...
|
...
|
|