From c6e567215be6a86cd693af20d85172e270829a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=86=E9=92=B1=E8=90=BD=E5=B0=BD=E6=A7=BF=E8=8A=B1?= =?UTF-8?q?=E7=A8=80?= <2675540038@qq.com> Date: Wed, 2 Jul 2025 17:47:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/AppHome.vue | 10 +- components/AppRegiment.vue | 10 +- pages/messageBoard/index.vue | 556 +++++++++++++++++++++-------------- 3 files changed, 339 insertions(+), 237 deletions(-) diff --git a/components/AppHome.vue b/components/AppHome.vue index 7be6652..b25016e 100644 --- a/components/AppHome.vue +++ b/components/AppHome.vue @@ -36,7 +36,7 @@
-
+
更多 @@ -71,7 +71,7 @@
-
+
更多 @@ -104,7 +104,7 @@ 通知公告
-
+
更多 @@ -346,8 +346,8 @@ const toSearch = () => { window.open(`/search_info?type=1&keywords=${inputSearch.value}`) } // 查看更多 -const toMore = () => { - emit('toSwpe', 3); +const toMore = (index:number) => { + emit('toSwpe', index); } const bstList = ref([ { title: "中国共产主义青年团的性质是什么?", id: 5969 }, diff --git a/components/AppRegiment.vue b/components/AppRegiment.vue index 8cabdcc..3a56f2e 100644 --- a/components/AppRegiment.vue +++ b/components/AppRegiment.vue @@ -2,8 +2,6 @@
- -
-
+
更多 @@ -97,7 +95,7 @@ 国务院百事通
-
+
更多 @@ -163,6 +161,10 @@ onMounted(() => { }) const emit = defineEmits(['toSwpe']) +const toMore = () => { + window.open(`/messageBoard`) +} + //跳转详情 const openUrl = (id: number) => { window.open(`/info/${id}?type=1`) diff --git a/pages/messageBoard/index.vue b/pages/messageBoard/index.vue index cb6f916..360c7d9 100644 --- a/pages/messageBoard/index.vue +++ b/pages/messageBoard/index.vue @@ -2,81 +2,80 @@
- + +
-
-
-
团团留言板
-
-
- 姓名 - - 电话 - - 邮箱 - -
-
- 描述 - -
- -
+
+
+
+ +
+
当前位置:首页 > 服务青年 > 团务百科
-
-
-
精选留言
-
+
+
+
+ +
+
+
团务百科
+
+
+
{{ item.name }}
+
-
-
-
-
- 问题: - {{ item.question }} +
+
+
+
+
+ {{ item.title }}
-
- 描述: - {{ item.message - }} -
-
- 回复: - {{ item.answer - }} +
+
+
+ {{ item.release_time_text.slice(8, 10) }} + {{ item.release_time_text.slice(0, 7) }} +
+ + +
+ +
+
+ + + +
- + -
@@ -93,97 +92,85 @@