diff --git a/components/area-product-list/index.vue b/components/area-product-list/index.vue index 0099b88..dace6c8 100644 --- a/components/area-product-list/index.vue +++ b/components/area-product-list/index.vue @@ -4,19 +4,20 @@ {{ title }} @@ -27,7 +28,12 @@ - + {{ item.waresCode }} @@ -39,14 +45,14 @@ type="primary" size="mini" shape="circle" - :custom-style="{ - background: '#005bac', - padding: 0, - width: '48rpx', - height: '48rpx', - minWidth: '48rpx' + :custom-style="{ + background: '#005bac', + margin: '0px', + width: '48rpx', + height: '48rpx', + minWidth: '48rpx', }" - @click.stop="handleAddToCart(item)" + @click.native.stop="handleAddToCart(item)" > @@ -59,88 +65,108 @@ diff --git a/pages/shoppingCar/index.vue b/pages/shoppingCar/index.vue index 95a5e00..1ddbd47 100644 --- a/pages/shoppingCar/index.vue +++ b/pages/shoppingCar/index.vue @@ -428,6 +428,7 @@ export default { } else { this.getCarList(); } + this.$store.dispatch("getCarLength"); }); }, checkArea() { @@ -537,7 +538,6 @@ export default { ctem.waresItemsParamList.push(stem.waresItemsParamsList[0]); } }); - } else { } }); }); diff --git a/pages/specialArea/index.vue b/pages/specialArea/index.vue index 985864f..2d5486c 100644 --- a/pages/specialArea/index.vue +++ b/pages/specialArea/index.vue @@ -15,9 +15,7 @@ :key="item.pkWares" > - + @@ -400,15 +398,10 @@ export default { .goods-sort { padding-bottom: 130rpx; .goods-flexs { - // display: flex; - padding: 30rpx 30rpx 20rpx 35rpx; + padding: 30rpx 20rpx 20rpx; position: relative; - // flex-wrap: wrap; - margin-left: -25rpx; .bg-color { - // width: 335rpx; width: 100%; - // height: 72rpx; background: linear-gradient( -180deg, rgba(255, 226, 226, 0.85) 0%, @@ -421,12 +414,8 @@ export default { } .goods-view { position: relative; - // width: 295rpx; - // height: 180rpx; - margin-left: 20rpx; background: #ffffff; border-radius: 15rpx; - // padding: 20rpx 20rpx 10rpx 20rpx; margin-bottom: 20rpx; .goods-top { z-index: 1;