From 5a965ccb161de3017e66d32700e65b08243579be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com>
Date: Thu, 20 Nov 2025 14:46:08 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=AD=E7=89=A9=E8=BD=A6?=
=?UTF-8?q?=E5=88=A0=E9=99=A4=E7=9A=84=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/advertising/shopCar/index.vue | 7 ++++---
packages/shop/shopCar/index.vue | 6 ++++--
packages/shop/submitOrder/index.vue | 1 -
packages/shopCar/index/index.vue | 2 ++
pages.json | 7 +++++++
5 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/packages/advertising/shopCar/index.vue b/packages/advertising/shopCar/index.vue
index c4a13fc6..fe09b37b 100644
--- a/packages/advertising/shopCar/index.vue
+++ b/packages/advertising/shopCar/index.vue
@@ -169,8 +169,7 @@
- {{
+ {{
item.count }}
@@ -517,7 +516,7 @@ export default {
// total += goods.commodity_goods_info.sales_price * goods.count;
// }
- if(goods.is_one_one === 1) {
+ if (goods.is_one_one === 1) {
total += goods.price * (goods.count / 2)
} else {
total += goods.price * goods.count
@@ -535,6 +534,7 @@ export default {
const that = this;
request(apiArr.deleteCar, "POST", {
ids: [carItem.id],
+ goods_cate: 3,
}).then((res) => {
// 从商品列表中移除该商品
item.splice(goodsIndex, 1);
@@ -700,6 +700,7 @@ export default {
request(apiArr.deleteCar, "POST", {
ids,
+ goods_cate: 3,
})
.then((res) => {
uni.showToast({
diff --git a/packages/shop/shopCar/index.vue b/packages/shop/shopCar/index.vue
index 3353c498..9522bcfd 100644
--- a/packages/shop/shopCar/index.vue
+++ b/packages/shop/shopCar/index.vue
@@ -304,9 +304,9 @@ export default {
isAdver: item.adver_id ? true : ''
}));
// NavgateTo(`../submitOrder/index?shopCarList=${JSON.stringify(arr)}`);
- if(this.is_group_buy){
+ if (this.is_group_buy) {
NavgateTo(`../groupPurchaseSubmit/index?shopCarList=${JSON.stringify(updatedArr)}`);
- }else{
+ } else {
NavgateTo(`../goodsSubmit/index?shopCarList=${JSON.stringify(updatedArr)}`);
}
},
@@ -520,6 +520,7 @@ export default {
const that = this;
request(apiArr.deleteCar, "POST", {
ids: [carItem.id],
+ goods_cate: 1,
}).then((res) => {
// 从商品列表中移除该商品
item.splice(goodsIndex, 1);
@@ -685,6 +686,7 @@ export default {
request(apiArr.deleteCar, "POST", {
ids,
+ goods_cate: 1,
})
.then((res) => {
uni.showToast({
diff --git a/packages/shop/submitOrder/index.vue b/packages/shop/submitOrder/index.vue
index f5ec4352..f6d1ffaa 100644
--- a/packages/shop/submitOrder/index.vue
+++ b/packages/shop/submitOrder/index.vue
@@ -133,7 +133,6 @@ export default {
},
craeteOrder() {
-
uni.showLoading({
title: '加载中',
})
diff --git a/packages/shopCar/index/index.vue b/packages/shopCar/index/index.vue
index 7f789701..3699e447 100644
--- a/packages/shopCar/index/index.vue
+++ b/packages/shopCar/index/index.vue
@@ -561,6 +561,7 @@ export default {
const that = this;
request(apiArr.deleteCar, "POST", {
ids: [carItem.id],
+ goods_cate: this.activeTab + 1,
}).then((res) => {
// 从商品列表中移除该商品
item.splice(goodsIndex, 1);
@@ -726,6 +727,7 @@ export default {
request(apiArr.deleteCar, "POST", {
ids,
+ goods_cate: that.activeTab + 1,
})
.then((res) => {
uni.showToast({
diff --git a/pages.json b/pages.json
index 08d1b74e..23694e96 100644
--- a/pages.json
+++ b/pages.json
@@ -158,6 +158,13 @@
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#F9F9F9"
}
+ },
+ {
+ "path": "contract/index",
+ "style": {
+ "navigationBarTitleText": "合作协议",
+ "navigationBarBackgroundColor": "#fff"
+ }
}
]
},