去除测试log;修改购物车无法选中的问题

This commit is contained in:
Gaoxs
2020-09-28 11:02:36 +08:00
parent 4955c2198a
commit b61c95035e
6 changed files with 47 additions and 37 deletions

View File

@ -135,7 +135,10 @@
</button>
</view>
<!-- #endif -->
<view class="item" @click="goHome" >
<view class="iconfont icon-shouye-xianxing"></view>
<text>首页</text>
</view>
<view class="item" @click="setCollect" v-if="storeInfo.userCollect">
<view class="iconfont icon-shoucang1"></view>
<text>收藏</text>
@ -351,6 +354,9 @@
}
}
},
goHome() {
this.$yrouter.switchTab("/pages/home/index");
},
goShoppingCart() {
this.$yrouter.switchTab("/pages/shop/ShoppingCart/index");
},

View File

@ -28,7 +28,7 @@
<view class="checkbox-wrapper">
<checkbox-group @change="switchSelect(cartListValidIndex)">
<label class="well-check">
<checkbox value :checked="item.checked+''"></checkbox>
<checkbox color="#eb3729" value :checked="item.checked"></checkbox>
</label>
</checkbox-group>
</view>
@ -113,7 +113,7 @@
<checkbox-group @change="allChecked">
<label class="well-check">
<checkbox value="allSelect" :checked="isAllSelect && cartCount > 0"></checkbox>
<checkbox color="#eb3729" value="allSelect" :checked="isAllSelect && cartCount > 0"></checkbox>
<text class="checkAll">全选 ({{ cartCount }})</text>
</label>
</checkbox-group>