From 0b19044549dc4e1424dde817857df2f4224ad758 Mon Sep 17 00:00:00 2001 From: wanglei Date: Sat, 5 Jul 2025 11:37:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=A1=B5=E9=9D=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/kaohe/vote.js | 10 + ruoyi-ui/src/views/index.vue | 440 +++++---------------------------- 2 files changed, 68 insertions(+), 382 deletions(-) diff --git a/ruoyi-ui/src/api/kaohe/vote.js b/ruoyi-ui/src/api/kaohe/vote.js index 8c385ce..297779e 100644 --- a/ruoyi-ui/src/api/kaohe/vote.js +++ b/ruoyi-ui/src/api/kaohe/vote.js @@ -42,3 +42,13 @@ export function delVote(id) { method: 'delete' }) } + + +// 首页查询评分接口和参数 +export function listByConditons(query) { + return request({ + url: '/kaohe/vote/listByConditons', + method: 'get', + params: query + }) +} diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index 6fe2b6b..164f72d 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -2,9 +2,13 @@
-
{{ item.voteTitle }}
-
+
+
{{ item.voteTitle }}
+
{{ item.sTime + '-' + item.eTime }}
+
+
去评分
+ +