From fd462f66bb743b0febd014c1401f4a52fd6b3aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Mon, 15 Sep 2025 17:59:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=A2=E8=B4=AD=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=B8=8D=E5=90=8C=E9=A1=B5=E9=9D=A2=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E5=AF=BC=E8=87=B4=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=8D=E5=AF=B9=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shop/groupPurchase/index.css | 6 +++++- packages/shop/groupPurchaseDetail/index.vue | 8 ++++++-- packages/shop/groupPurchaseSubmit/index.vue | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/shop/groupPurchase/index.css b/packages/shop/groupPurchase/index.css index e9f2bf7e..dd423923 100644 --- a/packages/shop/groupPurchase/index.css +++ b/packages/shop/groupPurchase/index.css @@ -98,7 +98,7 @@ font-weight: bold; margin-bottom: 8rpx; display: -webkit-box; - -webkit-line-clamp: 2; + -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } @@ -107,6 +107,10 @@ font-size: 22rpx; color: #666; margin-bottom: 10rpx; + display: -webkit-box; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical; + overflow: hidden; } .goods-price { diff --git a/packages/shop/groupPurchaseDetail/index.vue b/packages/shop/groupPurchaseDetail/index.vue index 4ae9b7a7..047126ca 100644 --- a/packages/shop/groupPurchaseDetail/index.vue +++ b/packages/shop/groupPurchaseDetail/index.vue @@ -653,7 +653,6 @@ export default { // 切换规格 changeGG(item, index) { - console.log("🚀 ~ changeGG ~ item:", item) this.currentGG = item; this.currentGGIndex = index; if (this.currentGG.cart_count) { @@ -666,7 +665,10 @@ export default { this.changePrice = item.sales_price }, car() { - NavgateTo("../shopCar/index"); + const item = { + is_group_buy: 1, + } + NavgateTo("../shopCar/index?item=" + JSON.stringify(item)); }, //获取购物车数量 @@ -712,6 +714,7 @@ export default { count: countVal, }, ], + group_buy_id: this.info.commodity_goods_info_list[this.currentGGIndex].group_buy_activity_id, } request(apiArr.updateCar, "POST", params).then((res) => { that.getShopCar(); @@ -734,6 +737,7 @@ export default { count: newCount, }, ], + group_buy_id: this.info.commodity_goods_info_list[this.currentGGIndex].group_buy_activity_id, }; request(apiArr.updateCar, "POST", params).then((res) => { diff --git a/packages/shop/groupPurchaseSubmit/index.vue b/packages/shop/groupPurchaseSubmit/index.vue index 74215c8d..13bcfe8d 100644 --- a/packages/shop/groupPurchaseSubmit/index.vue +++ b/packages/shop/groupPurchaseSubmit/index.vue @@ -306,7 +306,7 @@ export default { activeTab: 'pickup', // 默认选中自提 quantity: 1, // 商品数量 selectedPayment: 'wechat', - boxshadow1: true, + boxshadow1: false, boxshadow2: false, defAddress: {}, defZTAddress: [],