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"
+ }
}
]
},