【修复】修复非【仿点餐模块】栏目样式下,出现购物车框的问题。

This commit is contained in:
JianWeie
2022-09-28 15:36:46 +08:00
parent 4b57f818a6
commit 3c97c32e9e
2 changed files with 20 additions and 20 deletions

View File

@@ -92,6 +92,15 @@
</view>
</scroll-view>
</view>
<!-- 购物车栏 begin -->
<view class="cart-box">
<view class="mark">
<image src="https://files.cdn.coreshop.cn/static/template/diancan/images/cart.png" class="cart-img"></image>
<view class="tag">{{cartNums}}</view>
</view>
<view class="price">{{cartMoney}}</view>
<button type="primary" class="pay-btn" @tap="redirectCart" :disabled="cartNums<=0">去结算</button>
</view>
<!-- 购物车栏 end -->
</view>
@@ -106,15 +115,7 @@
@add-cart="addCart"
@buy-now="buyNow"></vk-data-goods-sku-popup>
</view>
<!-- 购物车栏 begin -->
<view class="cart-box">
<view class="mark">
<image src="https://files.cdn.coreshop.cn/static/template/diancan/images/cart.png" class="cart-img"></image>
<view class="tag">{{cartNums}}</view>
</view>
<view class="price">{{cartMoney}}</view>
<button type="primary" class="pay-btn" @tap="redirectCart" :disabled="cartNums<=0">去结算</button>
</view>
<!-- 登录提示 -->
<coreshop-login-modal></coreshop-login-modal>
</view>

View File

@@ -78,7 +78,16 @@
</view>
</scroll-view>
<!-- goods list end -->
<!-- 购物车栏 begin -->
<view class="cart-box">
<view class="mark">
<image src="https://files.cdn.coreshop.cn/static/template/diancan/images/cart.png" class="cart-img"></image>
<view class="tag">{{cartNums}}</view>
</view>
<view class="price">{{cartMoney}}</view>
<button type="primary" class="pay-btn" @tap="redirectCart" :disabled="cartNums<=0">去结算</button>
</view>
<!-- 购物车栏 end -->
</view>
</view>
@@ -94,16 +103,6 @@
@add-cart="addCart"
@buy-now="buyNow"></vk-data-goods-sku-popup>
<!-- 购物车栏 begin -->
<view class="cart-box">
<view class="mark">
<image src="https://files.cdn.coreshop.cn/static/template/diancan/images/cart.png" class="cart-img"></image>
<view class="tag">{{cartNums}}</view>
</view>
<view class="price">{{cartMoney}}</view>
<button type="primary" class="pay-btn" @tap="redirectCart" :disabled="cartNums<=0">去结算</button>
</view>
<!-- 购物车栏 end -->
<!-- 登录提示 -->
<coreshop-login-modal></coreshop-login-modal>
</view>