From 987b1e9cd7bba59c9670dd5a7e102433d5d583d3 Mon Sep 17 00:00:00 2001 From: xvv Date: Sat, 3 Aug 2024 13:48:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E8=A1=A5=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/gw/home.js | 14 + ruoyi-ui/src/views/home.vue | 75 ++++- ruoyi-ui/src/views/officialWebsite/xufang.vue | 317 ++++++++++-------- 3 files changed, 247 insertions(+), 159 deletions(-) diff --git a/ruoyi-ui/src/api/gw/home.js b/ruoyi-ui/src/api/gw/home.js index 065a8c5..0d80136 100644 --- a/ruoyi-ui/src/api/gw/home.js +++ b/ruoyi-ui/src/api/gw/home.js @@ -31,3 +31,17 @@ export function getBaseInfo(){ method: "get" }) } +export function imitationList(query){ + return request({ + url: "/api/imitation/list", + method: "get", + params: query + }) +} + +export function imitationId(id){ + return request({ + url: "api/imitation/" + id, + method: "get" + }) +} diff --git a/ruoyi-ui/src/views/home.vue b/ruoyi-ui/src/views/home.vue index 33f7eab..544649e 100644 --- a/ruoyi-ui/src/views/home.vue +++ b/ruoyi-ui/src/views/home.vue @@ -116,21 +116,25 @@
-
+
- +
国一流
+
省一流
+
- {{ item.contentTitle }} + {{ item.imitationTitle }}
-
{{ indexList[2].categoryName }}
+
{{ item.imitationSchool }} | {{item.imitationTeach}}
- {{ item.count }} + {{ item.imitationCount }}
- {{item.summary}} +

{{ item.imitationTitle }}

+
{{ item.imitationSchool }} | {{item.imitationTeach}}
+

{{item.imitationSummary}}

@@ -146,9 +150,10 @@