From 0b02dc74588a22824f3297d0753562e4a2576afb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=9D=E5=86=9B=E5=8D=8E?= Date: Sun, 30 Mar 2025 16:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5/=E8=AF=A6=E6=83=85/=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E5=88=97=E8=A1=A8/=E6=8E=A5=E5=8F=A3=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/comment/comment.vue | 297 ++++++++++++++++++++++ components/recomGoods/recomGoods.vue | 364 +++++++++++++++++++++++++++ pages.json | 3 +- pages/index/index.vue | 337 +++++++------------------ pages/index/style.scss | 118 +-------- server/api.service.js | 25 +- server/config.js | 4 +- shopProDetail/detail/detail.vue | 240 ++++-------------- shopProDetail/detail/style.scss | 303 +--------------------- shopProDetail/evallist/evallist.vue | 296 +++++++++++++--------- shopProDetail/evallist/style.scss | 10 +- store/counter.js | 54 +++- 12 files changed, 1055 insertions(+), 996 deletions(-) create mode 100644 components/comment/comment.vue create mode 100644 components/recomGoods/recomGoods.vue diff --git a/components/comment/comment.vue b/components/comment/comment.vue new file mode 100644 index 0000000..df33dff --- /dev/null +++ b/components/comment/comment.vue @@ -0,0 +1,297 @@ + + + + \ No newline at end of file diff --git a/components/recomGoods/recomGoods.vue b/components/recomGoods/recomGoods.vue new file mode 100644 index 0000000..ad0a619 --- /dev/null +++ b/components/recomGoods/recomGoods.vue @@ -0,0 +1,364 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index fcb66f5..f5bee0e 100644 --- a/pages.json +++ b/pages.json @@ -87,7 +87,8 @@ "path": "detail/detail", "style": { "navigationBarTitleText": "", - "navigationStyle": "custom" + "navigationStyle": "custom", + "enablePullDownRefresh": true } }, { diff --git a/pages/index/index.vue b/pages/index/index.vue index 313aec7..b12cbc9 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -5,7 +5,7 @@ 人间都汇·汤泉养生 - + 搜索 @@ -38,242 +38,33 @@ - - - + + + - + - - + + - 双人餐1(大盘鸡+番茄炒鸡蛋+米饭) - - 半小时送达 - 劲辣胃浓 - 劲辣胃浓 + {{i.name}}{{i.title}} + + {{t}} - 43.959.9 - - - - - - - - - - - - - 双人餐2(大盘鸡+番茄炒鸡蛋+米饭) - - 半小时送达 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - - - - - - 双人餐3(大盘鸡+番茄炒鸡蛋+米饭) - - 半小时送达 - 劲辣胃浓 - - - 43.959.9 - + {{i.productInfo.price}}{{i.productInfo.otPrice}} + - - - - - - - - - - - 单人餐1(大盘鸡+番茄炒鸡蛋+米饭) - - 半小时送达 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - - - - - - 单人餐2(大盘鸡+番茄炒鸡蛋+米饭) - - 半小时送达 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - - - - - - 单人餐3(大盘鸡+番茄炒鸡蛋+米饭) - - 半小时送达 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - - - - - - - - - - - - - - - - - - 够辣 - - - - - - 糖醋排骨 - 乡下土猪 - - 仅剩3份 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - - 香甜 - - - - - - 泡椒田鸡 - 超大只田鸡 - - 仅剩3份 - 劲辣胃浓 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - - - - 热销 - - - - - - 泡椒田鸡 - 超大只田鸡 - - 仅剩3份 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - - 新鲜 - - - - - - 泡椒田鸡 - 超大只田鸡 - - 仅剩3份 - 劲辣胃浓 - - - 43.959.9 - - - - - - - - + @@ -284,7 +75,7 @@ 43.9 - + 已优惠20元 去下单 @@ -294,37 +85,92 @@