From 72cdbae057e8ab162470e8e439887de76e46ff04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=99=E5=85=89?= <5248283+lsg15829561090@user.noreply.gitee.com> Date: Wed, 2 Oct 2024 12:37:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E8=AE=BA=E5=9D=9BMa?= =?UTF-8?q?rkDown=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routes.ts | 9 ++ src/views/forum/ForumView.vue | 16 ++- src/views/forum/PostDetail.vue | 197 +++++++++++++++++++++++++++++++++ 3 files changed, 216 insertions(+), 6 deletions(-) create mode 100644 src/views/forum/PostDetail.vue diff --git a/src/router/routes.ts b/src/router/routes.ts index 8950d82..da316a5 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -123,6 +123,15 @@ export const routes: Array = [ access: ACCESS_ENMU.NOT_LOGIN, icon:IconUserGroup }, + },{ + path: "/forum/post/:id", + name: "帖子详细", + component: () => import("../views/forum/PostDetail.vue"), + meta: { + hidden: true, + access: ACCESS_ENMU.NOT_LOGIN, + icon:IconUserGroup + }, }, { path: "/noauth", diff --git a/src/views/forum/ForumView.vue b/src/views/forum/ForumView.vue index 16c5ef6..5ca6f6a 100644 --- a/src/views/forum/ForumView.vue +++ b/src/views/forum/ForumView.vue @@ -32,16 +32,16 @@