From f0d2f6dfcaddc219cec186cce04581ce0fd4691a Mon Sep 17 00:00:00 2001 From: whitechiina <1293616053@qq.com> Date: Fri, 17 Jul 2026 13:11:31 +0800 Subject: [PATCH] updata --- .../home/shop_home/components/shop-cart/shop-cart.vue | 4 ++-- unpackage/dist/build/web/index.html | 2 +- .../web/static/js/{index.169cf407.js => index.04e4b496.js} | 2 +- .../js/pages-restaurant-home-shop_home-shop_home.04d5c300.js | 1 - .../js/pages-restaurant-home-shop_home-shop_home.9a7fac33.js | 1 + 5 files changed, 5 insertions(+), 5 deletions(-) rename unpackage/dist/build/web/static/js/{index.169cf407.js => index.04e4b496.js} (99%) delete mode 100644 unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.04d5c300.js create mode 100644 unpackage/dist/build/web/static/js/pages-restaurant-home-shop_home-shop_home.9a7fac33.js diff --git a/pages/restaurant/home/shop_home/components/shop-cart/shop-cart.vue b/pages/restaurant/home/shop_home/components/shop-cart/shop-cart.vue index a65b455..9482a7f 100644 --- a/pages/restaurant/home/shop_home/components/shop-cart/shop-cart.vue +++ b/pages/restaurant/home/shop_home/components/shop-cart/shop-cart.vue @@ -559,7 +559,7 @@ console.log(item['sku'],'当前sku'); // 原价 + 加料价格 item['adj_pay'] = (+item['product_price']) + (+item['add_price']); - Price += item['adj_pay'] * item['num']; + Price += item['bt_price'] * item['num']; newArr.push(item); console.log(this['GetCartList'][id],'是否规格商品'); // 此处逻辑是将同商品下的不同规格数据取出来 @@ -579,7 +579,7 @@ add_price: _item?.add_price?_item['add_price']:0 }; _item['adj_pay'] = (+_item['product_price']) + (+_item['add_price']); - Price += _item['adj_pay'] * _item['num']; + Price += _item['bt_price'] * _item['num']; this['GetCartList'][id]['Differentskulist'][i] = _item; }; newArr.push(...this['GetCartList'][id]['Differentskulist']); diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html index 8e3f656..11ab4e5 100644 --- a/unpackage/dist/build/web/index.html +++ b/unpackage/dist/build/web/index.html @@ -1,2 +1,2 @@