Feat(商品详情):细节调整

This commit is contained in:
modendeveloper
2024-09-09 22:57:58 +08:00
parent 43841c0491
commit d6f6356ee0
+2 -2
View File
@@ -391,7 +391,7 @@
</view>
<view @click="goShoppingCart()" class="item animated" v-if="!animated">
<view class="iconfont icon-gouwuche1">
<text class="num bg-color-lightred" v-if="CartCount > 0">{{ CartCount }}</text>
<text class="num bg-color-lightred v12-primary" v-if="CartCount > 0">{{ CartCount }}</text>
</view>
<text style="text-align: center;">购物车</text>
</view>
@@ -418,7 +418,7 @@
加入购物车
</view>
<view
class="btn-buy"
class="btn-buy v12-primary"
:class="{
'btn-buy-disabled': (attr.productSelect.stock === 0 && attr.cartAttr) || storeInfo.stock === 0
}"