|
@@ -155,6 +155,7 @@
|
|
|
<view class="iconfont icon-shoucang" v-else></view>
|
|
<view class="iconfont icon-shoucang" v-else></view>
|
|
|
<view>收藏</view>
|
|
<view>收藏</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <!-- #ifndef MP-TOUTIAO -->
|
|
|
<navigator open-type="switchTab" class="animated item" :class="animated == true ? 'bounceIn' : ''" url="/pages/order_addcart/order_addcart" hover-class="none">
|
|
<navigator open-type="switchTab" class="animated item" :class="animated == true ? 'bounceIn' : ''" url="/pages/order_addcart/order_addcart" hover-class="none">
|
|
|
<view class="iconfont icon-gouwuche1">
|
|
<view class="iconfont icon-gouwuche1">
|
|
|
<text v-if="CartCount > 0" class="num bg-color">{{ CartCount || 0 }}</text>
|
|
<text v-if="CartCount > 0" class="num bg-color">{{ CartCount || 0 }}</text>
|
|
@@ -170,6 +171,27 @@
|
|
|
<view v-else class="bnt acea-row">
|
|
<view v-else class="bnt acea-row">
|
|
|
<form report-submit="true"><button class="buy bnts sold_out" form-type="submit" disabled>商品已售罄</button></form>
|
|
<form report-submit="true"><button class="buy bnts sold_out" form-type="submit" disabled>商品已售罄</button></form>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <!-- #endif -->
|
|
|
|
|
+ <!-- #ifdef MP-TOUTIAO -->
|
|
|
|
|
+ <template v-if="power != ''">
|
|
|
|
|
+ <navigator open-type="switchTab" class="animated item" :class="animated == true ? 'bounceIn' : ''" url="/pages/order_addcart/order_addcart" hover-class="none">
|
|
|
|
|
+ <view class="iconfont icon-gouwuche1">
|
|
|
|
|
+ <text v-if="CartCount > 0" class="num bg-color">{{ CartCount || 0 }}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view>购物车</view>
|
|
|
|
|
+ </navigator>
|
|
|
|
|
+ <view v-if="attr.productSelect.stock != 0" class="bnt acea-row">
|
|
|
|
|
+ <form @submit="joinCart" report-submit="true"><button class="joinCart bnts" form-type="submit">加入购物车</button></form>
|
|
|
|
|
+ <form @submit="goBuy" report-submit="true" v-if="attr.productSelect">
|
|
|
|
|
+ <button class="buy bnts" form-type="submit" :disabled="attr.productSelect.stock == 0">立即购买</button>
|
|
|
|
|
+ </form>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view v-else class="bnt acea-row">
|
|
|
|
|
+ <form report-submit="true"><button class="buy bnts sold_out" form-type="submit" disabled>商品已售罄</button></form>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- #endif -->
|
|
|
</view>
|
|
</view>
|
|
|
<block v-if="sharePacket.max && sharePacket.min">
|
|
<block v-if="sharePacket.max && sharePacket.min">
|
|
|
<shareRedPackets
|
|
<shareRedPackets
|