diff --git a/pages/goods/externalCoupon/externalCoupon.vue b/pages/goods/externalCoupon/externalCoupon.vue
index eff2937..343458e 100644
--- a/pages/goods/externalCoupon/externalCoupon.vue
+++ b/pages/goods/externalCoupon/externalCoupon.vue
@@ -39,7 +39,7 @@
-
{{couponsDetails.highDiscount.discountName}}
@@ -76,7 +76,7 @@
-
{{couponsDetails.highDiscount.discountName}}
@@ -643,7 +643,7 @@
.contents {
position: relative;
top: 160px;
-
+ padding-bottom: 1px;
.headcontimg {
width: 90px;
height: 90px;
diff --git a/pages/goods/goods-list/goods-list.vue b/pages/goods/goods-list/goods-list.vue
index 688bdd0..e8426f9 100644
--- a/pages/goods/goods-list/goods-list.vue
+++ b/pages/goods/goods-list/goods-list.vue
@@ -227,7 +227,8 @@
}
let pagenum = this.pageNum;
let params = {
- regionId: app.globalData.cityId,
+ // regionId: app.globalData.cityId,
+ companyId:app.globalData.companyId,
goodsTypeId: this.goodtyid,
pageNum: pagenum,
pageSize: this.pageSize,
diff --git a/pages/tabBar/classify/classify.vue b/pages/tabBar/classify/classify.vue
index a9c7e19..8d4f737 100644
--- a/pages/tabBar/classify/classify.vue
+++ b/pages/tabBar/classify/classify.vue
@@ -160,11 +160,9 @@
},
onShow(){
this.$nextTick(()=>{
- if(this.$refs.goodsList&&app.globalData.userInfo){
+ if(this.isLoading==false&&app.globalData.userInfo){
this.$refs.goodsList.refreshCartNum()
}
-
-
})
@@ -194,7 +192,7 @@
length:_this.data_content.children.length
};
// console.log(_this.selectObject,"_this.selectObject")
- await _this.get_goods_list(_this.data_content.children[_this.nav_active_item_two_index].key);//获取右侧商品
+ await _this.get_goods_list(_this.data_content.children[_this.nav_active_item_two_index].key,true);//获取右侧商品
}
}
@@ -247,7 +245,7 @@
this.get_goods_list(this.data_content.children[this.nav_active_item_two_index].key)
},
- get_goods_list(key){
+ get_goods_list(key,isRefreshCart=false){
let price =0;
if(this.sortIndex ==3){
@@ -276,6 +274,11 @@
getListGoodsDetail(params).then(res=>{
setTimeout(()=>{
this.isLoading = false;
+ if(isRefreshCart&&app.globalData.userInfo){
+ this.$nextTick(()=>{
+ this.$refs.goodsList.refreshCartNum();
+ })
+ }
},200)
// uni.hideLoading();
if (res.return_code == '000000') {
diff --git a/subPages/coupon-package/coupon-package.vue b/subPages/coupon-package/coupon-package.vue
index 72dbd17..ef1eb67 100644
--- a/subPages/coupon-package/coupon-package.vue
+++ b/subPages/coupon-package/coupon-package.vue
@@ -131,7 +131,8 @@
}
let pagenum = this.pageNum;
let params = {
- regionId: app.globalData.cityId,
+ // regionId: app.globalData.cityId,
+ companyId:app.globalData.companyId,
pageNum: pagenum,
pageSize: this.pageSize,
title: this.couponName