diff --git a/multipleShop/index/index.vue b/multipleShop/index/index.vue index 114ab3f..6deb7de 100644 --- a/multipleShop/index/index.vue +++ b/multipleShop/index/index.vue @@ -11,7 +11,7 @@ + @click="onChooseShop(item)"> {{item.name}} @@ -88,12 +88,12 @@ }); // 门店选择 - const onChooseShop = (id) => { - currShop.value = id; - + const onChooseShop = (item) => { + currShop.value = item.id; + uni.setStorageSync('STORE_INFO', JSON.stringify(item)) setTimeout(() => { uni.reLaunch({ - url: '/pages/index/index?id=' + id, + url: '/pages/index/index?id=' + item.id, fail(err) { console.log(err); } diff --git a/pages/cart/cart.vue b/pages/cart/cart.vue index 93f59c2..233c4e8 100644 --- a/pages/cart/cart.vue +++ b/pages/cart/cart.vue @@ -187,7 +187,7 @@ if (item.check) list.push(item.id); }) cartDeleteApi({ - cart_id: list + id: list }).then(() => { getcartList(false); }) diff --git a/pagesOrder/settle/settle.vue b/pagesOrder/settle/settle.vue index fc65f24..cfd09b7 100644 --- a/pagesOrder/settle/settle.vue +++ b/pagesOrder/settle/settle.vue @@ -96,7 +96,7 @@ 活动折扣 9折 - {{c_price(orderInfo.pay_price, 0)}}.{{c_price(orderInfo.pay_price, 1)}} + {{c_price(orderInfo.vip_price, 0)}}.{{c_price(orderInfo.vip_price, 1)}} diff --git a/store/user.js b/store/user.js index cda2ad7..cbfd2c5 100644 --- a/store/user.js +++ b/store/user.js @@ -35,7 +35,7 @@ const useUserStore = defineStore("user", () => { mobile: "19330904744", nickname: "用户1714964250", supplier: null, - token: "f3b5b546ef3fd35370ba0b38dfac65a8" + token: "04d41270bc4dae8053cd180148514747" } // #endif