From 035c63ce2bfbc88eb331b06c75077b4e6edd9f73 Mon Sep 17 00:00:00 2001
From: GaoHao <1210693421@qq.com>
Date: Sat, 3 Aug 2024 11:36:43 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E5=A4=9A=E7=94=A8=E6=88=B7=E5=85=B6?=
=?UTF-8?q?=E4=BB=96=E7=94=A8=E6=88=B7=E6=94=AF=E4=BB=98=20=E5=BD=93?=
=?UTF-8?q?=E5=89=8D=E7=94=A8=E6=88=B7=E8=B4=AD=E7=89=A9=E6=B8=85=E7=A9=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/order_food/order_food.vue | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/pages/order_food/order_food.vue b/pages/order_food/order_food.vue
index a6e1c1a..8b5103f 100644
--- a/pages/order_food/order_food.vue
+++ b/pages/order_food/order_food.vue
@@ -798,9 +798,11 @@
case 'sku': // sku 数量 查询这个商品的价格和数量
break;
case 'order':
- this.skuidname = []
- this.showCart = false
- this.cartLists = msg
+ this.cartLists_count = 0;
+ this.skuidname = [];
+ this.cartListsdatashow = false;
+ this.showCart = false;
+ this.cartLists = msg;
break;
case 'addCart': //初始化add
this.cartLists = msg
From 29af36c446bf791ab36a6f03d85cee163190788c Mon Sep 17 00:00:00 2001
From: GaoHao <1210693421@qq.com>
Date: Sat, 3 Aug 2024 11:39:20 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=A4=9A=E7=94=A8=E6=88=B7=E4=B8=8B?=
=?UTF-8?q?=E5=8D=95=20=E5=85=B6=E4=BB=96=E7=94=A8=E6=88=B7=E4=BB=98?=
=?UTF-8?q?=E6=AC=BE=20=E5=BD=93=E5=89=8D=E7=94=A8=E6=88=B7=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E9=87=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/order_food/order_food.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/pages/order_food/order_food.vue b/pages/order_food/order_food.vue
index 8b5103f..d1bd258 100644
--- a/pages/order_food/order_food.vue
+++ b/pages/order_food/order_food.vue
@@ -803,6 +803,7 @@
this.cartListsdatashow = false;
this.showCart = false;
this.cartLists = msg;
+ this.productqueryProduct() //list 数据
break;
case 'addCart': //初始化add
this.cartLists = msg
From 703f53c8ac53717264aab15769835322e8fd5386 Mon Sep 17 00:00:00 2001
From: GaoHao <1210693421@qq.com>
Date: Sat, 3 Aug 2024 15:31:42 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=95=86=E5=93=81=E6=95=B0=E9=87=8F?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/order/confirm_order.vue | 17 +-
pages/order_food/order_food - 副本.vue | 731 ++++++++++++++-----------
pages/order_food/order_food.vue | 16 +-
3 files changed, 417 insertions(+), 347 deletions(-)
diff --git a/pages/order/confirm_order.vue b/pages/order/confirm_order.vue
index 1ee7b04..e455202 100644
--- a/pages/order/confirm_order.vue
+++ b/pages/order/confirm_order.vue
@@ -52,14 +52,14 @@
{{ listinfo.name }}
-
+
- {{item.name}}
- {{ item.skuName}}
- X{{ item.totalNumber}}
+ {{item.name || item.productName || "" }}
+ {{ item.skuName || item.productSkuName || ""}}
+ X{{ item.totalNumber || item.num}}
- ¥{{ item.totalAmount}}
+ ¥{{ item.totalAmount || item.priceAmount || 0}}
+
+
+
+ 加载中
+
-
-
-
-
+
-
-
+
{{ shopInfo.storeInfo.shopName }}
@@ -32,9 +31,10 @@
本店招牌菜
-
+
-
+
{{ item.name }}
@@ -59,20 +59,22 @@
「{{item.suit}}份起点」
-
+
选规格
- {{item.cartNumber<99?item.cartNumber:'99+'}}
+ {{item.cartNumber<99?item.cartNumber:'99+'}}
-
-
+
+
{{ item.cartNumber }}
-
+
@@ -80,7 +82,7 @@
-
+
@@ -91,43 +93,54 @@
:scroll-into-view="leftIntoView" :scroll-with-animation="false">
{{item.name}}
+ @tap="leftTap">{{item.name}}
+
-
-
+
+
{{item.name}}
-
-
-
- TOP{{index1+1}}
+
+
+
+ TOP{{index1+1}}
+
{{ item1.name }}
本店回头客第{{index1+1}}名
{{item1.shortTitle?item1.shortTitle:''}}
月售{{item1.stockNumber}}
- ¥{{ item1.lowPrice }}/份「{{item1.suit}}份起点」
-
+ ¥{{ item1.lowPrice }}/份「{{item1.suit}}份起点」
+
-
+
选规格
- {{item1.cartNumber<99?item1.cartNumber:'99+'}}
+ {{item1.cartNumber<99?item1.cartNumber:'99+'}}
-
+
-
-
+
+
{{ item1.cartNumber }}
-
+
-
+
@@ -137,25 +150,19 @@
-
-
-
+
-
{{cartLists_count<99?cartLists_count:'99+'}}
-
+
¥
{{cartLists.amount||'0.00'}}
@@ -164,9 +171,10 @@
-
+
-
+
-
-
+
+
-
+
@@ -222,7 +230,8 @@
营业时间:
- {{ shopInfo.storeInfo.businessStartDay +'至'+ shopInfo.storeInfo.businessEndDay +' '+ shopInfo.storeInfo.businessTime }}
+ {{ shopInfo.storeInfo.businessStartDay +'至'+ shopInfo.storeInfo.businessEndDay +' '+ shopInfo.storeInfo.businessTime }}
商家地址:
@@ -240,23 +249,23 @@
{{ shopInfo.storeInfo.detail }}
-
+
-
-
+
-
+
{{specifications.name}}
- 本店回头客第{{specifications.indexb+1}}名
+
+ 本店回头客第{{specifications.indexb+1}}名
{{specifications.shortTitle?specifications.shortTitle:''}}
-
+
@@ -270,8 +279,8 @@
-
-
+
+
@@ -280,22 +289,24 @@
/杯
-
+
-
+
{{amountcartNumber}}
-
+
{{skuidname.toString()}}
- 添加到购物车
+
+ 添加到购物车
@@ -303,7 +314,7 @@