1234567891011121314151617181920212223242526272829 |
- <view class="flex soldout flex-center wr-sold-out" wx:if="{{soldout || !isStock}}">
- {{soldout ? '商品已下架' : '商品已售馨'}}
- </view>
- <view class="footer-cont flex flex-between wr-class">
- <view class="flex flex-between bottom-operate-left" wx:if="{{jumpArray.length > 0}}">
- <view wx:for="{{jumpArray}}" wx:key="index" class="icon-warp operate-wrap" bindtap="toNav" data-ele="foot_navigation" data-index="{{index}}" data-url="{{item.url}}">
- <view>
- <text wx:if="{{shopCartNum > 0 && item.showCartNum}}" class="tag-cart-num">
- {{shopCartNum > 99 ? '99+' : shopCartNum}}
- </text>
- <t-icon prefix="{{item.prefix}}" name="{{ item.selected ? item.selectedIconName : item.iconName}}" size="46rpx" t-class="{{item.fav ? ' red': '' }}" />
- <view class="operate-text">{{item.title}}</view>
- </view>
- </view>
- </view>
- <block wx:if="{{buttonType === 1}}">
- <view class="flex buy-buttons">
- <view class="bar-separately {{soldout || !isStock ? 'bar-addCart-disabled' : ''}}" bindtap="toAddCart">
- {{addingCart ? "正在加入购物车" : "加入购物车"}}
- </view>
- <view class="bar-buy {{noDraw ? 'bar-buyNow-disabled' : ''}}" bindtap="toJum3D">
- 在线展示
- </view>
- </view>
- </block>
- <block wx:if="{{isSlotButton}}">
- <slot name="buyButton" />
- </block>
- </view>
|