diff --git a/pages/chat/customer_list/chat.vue b/pages/chat/customer_list/chat.vue index 22f16a5..8bef522 100644 --- a/pages/chat/customer_list/chat.vue +++ b/pages/chat/customer_list/chat.vue @@ -718,7 +718,7 @@
{{productInfo.store_name}}
- ¥{{ saleType == 1? productInfo.price :productInfo.wholesale_price}} + ¥{{ saleType == 1 ? productInfo.price :productInfo.wholesale_price}}
发送商品
@@ -1458,7 +1458,8 @@ sendProduct() { consultApi({ user_id: this.toUid, - product_id: this.productId + product_id: this.productId, + sale_type: this.saleType }) if (this.presellId || this.combinationId) { if (this.presellId) { diff --git a/pages/cloud_warehouse/home/home.vue b/pages/cloud_warehouse/home/home.vue index 91a50a2..d0720ba 100644 --- a/pages/cloud_warehouse/home/home.vue +++ b/pages/cloud_warehouse/home/home.vue @@ -45,7 +45,7 @@ - 全部 + 全部 @@ -415,17 +415,16 @@ right: 0; top: 50%; transform: translateY(-50%); - height: 100%; - background-color: #f3f3f3; + height: 101%; z-index: 10; display: flex; justify-content: center; align-items: center; flex-direction: column; font-size: 24rpx; - border-radius: 4rpx; width: 70rpx; color: #919191; + box-shadow: 0px 0px 60rpx #c5c5c5; } } diff --git a/pages/cloud_warehouse/market/market.vue b/pages/cloud_warehouse/market/market.vue index 1dfa689..5af035f 100644 --- a/pages/cloud_warehouse/market/market.vue +++ b/pages/cloud_warehouse/market/market.vue @@ -554,16 +554,15 @@ top: 50%; transform: translateY(-50%); height: 100%; - background-color: #f3f3f3; z-index: 10; display: flex; justify-content: center; align-items: center; flex-direction: column; font-size: 24rpx; - border-radius: 4rpx; width: 70rpx; color: #919191; + box-shadow: 0px 0px 60rpx #c5c5c5; } } } diff --git a/pages/cloud_warehouse/specialty/specialty.vue b/pages/cloud_warehouse/specialty/specialty.vue index 742e51d..fbb22a1 100644 --- a/pages/cloud_warehouse/specialty/specialty.vue +++ b/pages/cloud_warehouse/specialty/specialty.vue @@ -408,16 +408,15 @@ top: 50%; transform: translateY(-50%); height: 100%; - background-color: #f3f3f3; z-index: 10; display: flex; justify-content: center; align-items: center; flex-direction: column; font-size: 24rpx; - border-radius: 4rpx; width: 70rpx; color: #919191; + box-shadow: 0px 0px 60rpx #c5c5c5; } } } diff --git a/pages/goods_details/index.vue b/pages/goods_details/index.vue index 3e245f8..829f28d 100644 --- a/pages/goods_details/index.vue +++ b/pages/goods_details/index.vue @@ -1502,7 +1502,7 @@ toLogin() } else { uni.navigateTo({ - url: `/pages/chat/customer_list/chat?mer_id=${that.storeInfo.mer_id}&uid=${that.uid}&productId=${that.id}$sale_type=${that.sale_type}` + url: `/pages/chat/customer_list/chat?mer_id=${that.storeInfo.mer_id}&uid=${that.uid}&productId=${that.id}&sale_type=${that.sale_type}` }); } }, diff --git a/pages/whole_sale/index.vue b/pages/whole_sale/index.vue index 046fca9..d4cfc94 100644 --- a/pages/whole_sale/index.vue +++ b/pages/whole_sale/index.vue @@ -105,7 +105,8 @@ @click="toOrder('', 3)"> 综合 - + + 抵扣 @@ -417,7 +418,6 @@ this.getProductslist(true); }, changeSub(e) { - console.log(e); this.subCurr = e; this.where = { page: 1, @@ -486,12 +486,35 @@ // 高度判断 getHeight() { + + console.log(this.store_category_children); + if (this.tabsCurr == 1) { - if (this.cate_change) { - this.wrapHeight = 410; + + if (this.where.cate_pid) { + if (this.deduction_rate) { + this.wrapHeight = 460; + } else { + this.wrapHeight = 410; + } } else { - this.wrapHeight = 360; + if (this.deduction_rate) { + this.wrapHeight = 410; + } else { + this.wrapHeight = 360; + } } + // if (this.store_category_children.length > 1 && this.deduction_rate) { + // this.wrapHeight = 460; + // } else if (this.store_category_children.length == 1 || !this.deduction_rate) { + // this.wrapHeight = 410; + // } else { + // if (this.cate_change || this.deduction_rate) { + // this.wrapHeight = 410; + // } else { + // this.wrapHeight = 360; + // } + // } } else if (this.tabsCurr == 2) { if (this.subCurr == 1) { this.wrapHeight = 400; @@ -503,6 +526,11 @@ } }, + onChangeDeductionRate() { + this.deduction_rate = !this.deduction_rate; + this.getHeight() + }, + changeCate(e) { this.cate_change = e; this.store_category_children = []; @@ -799,16 +827,15 @@ top: 50%; transform: translateY(-50%); height: 100%; - background-color: #f3f3f3; z-index: 10; display: flex; justify-content: center; align-items: center; flex-direction: column; font-size: 24rpx; - border-radius: 4rpx; width: 70rpx; color: #919191; + box-shadow: 0px 0px 60rpx #c5c5c5; } }