From b1c813ca0f1fbf97d8fa1b6257843f1d6f4989f7 Mon Sep 17 00:00:00 2001 From: riverflow <3011499946@qq.com> Date: Sun, 17 Aug 2025 18:20:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E9=A6=96=E9=A1=B5=E7=83=AD?= =?UTF-8?q?=E6=8E=A8=E5=95=86=E5=93=81=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- order-app/src/api/home.js | 5 ++ order-app/src/pages/index/index.vue | 76 ++++++++++------------------- 2 files changed, 30 insertions(+), 51 deletions(-) diff --git a/order-app/src/api/home.js b/order-app/src/api/home.js index 023639c..5a896f7 100644 --- a/order-app/src/api/home.js +++ b/order-app/src/api/home.js @@ -2,4 +2,9 @@ import http from '../common/http.js' //轮播图 export const getSwipperListApi = ()=>{ return http.get("/api/home/getSwipperList") +} + +//首页热推 +export const getHotListApi = ()=>{ + return http.get("/api/home/getHotList") } \ No newline at end of file diff --git a/order-app/src/pages/index/index.vue b/order-app/src/pages/index/index.vue index 8cf039b..22ae1ed 100644 --- a/order-app/src/pages/index/index.vue +++ b/order-app/src/pages/index/index.vue @@ -1,5 +1,6 @@