From 569d56a198d907599f1c17caeae2a740cff88c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Mon, 1 Dec 2025 15:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shop/shopCar/index.vue | 2 ++ pages/user/index.vue | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/shop/shopCar/index.vue b/packages/shop/shopCar/index.vue index f7ecc76e..42cd53d4 100644 --- a/packages/shop/shopCar/index.vue +++ b/packages/shop/shopCar/index.vue @@ -689,6 +689,8 @@ export default { return; } + // 根据是否是团购来设置goods_cate的值 + const goods_cate = that.is_group_buy ? 2 : 1; request(apiArr.deleteCar, "POST", { ids, goods_cate: goods_cate, diff --git a/pages/user/index.vue b/pages/user/index.vue index 1d3860d2..887297eb 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -230,12 +230,12 @@ export default { url: "/packages/storeManagement/index/index", isShow: uni.getStorageSync('is_merchant'), }, - { - image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", - name: "供应商端", - url: "", - isShow: uni.getStorageSync('is_worker'), - }, + // { + // image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", + // name: "供应商端", + // url: "", + // isShow: uni.getStorageSync('is_worker'), + // }, { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageWuye.png", name: "物业端", @@ -334,12 +334,12 @@ export default { url: "/packages/storeManagement/index/index", isShow: loginRes.is_merchant, }, - { - image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", - name: "供应商端", - url: "", - isShow: loginRes.is_worker, - }, + // { + // image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageGys.png", + // name: "供应商端", + // url: "", + // isShow: loginRes.is_worker, + // }, { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/userPageWuye.png", name: "物业端",