From 2eb1a1bf41473920363f73584e1e0662b1a1a401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E8=B6=8A?= <552369664@qq.com> Date: Thu, 8 Aug 2024 09:45:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=92=8C=E8=B4=AD=E7=89=A9=E8=BD=A6=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E7=BB=93=E7=AE=97=E9=A1=B5=E9=9D=A2=E6=97=B6=E4=BC=A0=E5=85=A5?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=86=E7=B1=BB=E7=BC=96=E5=8F=B7=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E4=BE=BF=E6=9F=A5=E8=AF=A2=E5=8F=AF=E7=94=A8=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/index.vue | 3 ++- pages/index/cart.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/goods/index.vue b/pages/goods/index.vue index 488c435d..bf0b0cb9 100644 --- a/pages/goods/index.vue +++ b/pages/goods/index.vue @@ -156,7 +156,8 @@ data: JSON.stringify({ items: [{ skuId: e.id, - count: e.goods_num + count: e.goods_num, + categoryId: state.goodsInfo.categoryId }] }), }); diff --git a/pages/index/cart.vue b/pages/index/cart.vue index 3f42523b..633b567d 100644 --- a/pages/index/cart.vue +++ b/pages/index/cart.vue @@ -107,6 +107,7 @@ skuId: item.sku.id, count: item.count, cartId: item.id, + categoryId: item.spu.categoryId }) goods_list.push({ // goods_id: item.goods_id, From e12698162892ea919105ced07380c62688126d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E8=B6=8A?= <552369664@qq.com> Date: Thu, 8 Aug 2024 09:56:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=96=B9=E5=BC=8F=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=EF=BC=8C=E5=81=B6=E7=8E=B0=E7=99=BB=E5=BD=95=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=BC=B9=E5=87=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/hooks/useModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheep/hooks/useModal.js b/sheep/hooks/useModal.js index b8505256..003fe809 100644 --- a/sheep/hooks/useModal.js +++ b/sheep/hooks/useModal.js @@ -14,7 +14,7 @@ export function showAuthModal(type = 'smsLogin') { modal.$patch((state) => { state.auth = type; }); - }, 200); + }, 500); closeAuthModal(); } else { modal.$patch((state) => {