diff --git a/src/router/routes.ts b/src/router/routes.ts index 1c40ba7..8950d82 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -115,13 +115,13 @@ export const routes: Array = [ icon:IconComputer }, },{ - path: "/history/question/", + path: "/forum/index/", name: "交流论坛", - component: () => import("../views/question/SubmitQuestion.vue"), + component: () => import("../views/forum/ForumView.vue"), meta: { hidden: false, access: ACCESS_ENMU.NOT_LOGIN, - meta:IconUserGroup + icon:IconUserGroup }, }, { @@ -145,6 +145,13 @@ export const routes: Array = [ meta:{ hidden: true, } + },{ + path: "/forum/publish", + name: "发布帖子", + component: () => import("../views/forum/ForumPublish.vue"), + meta:{ + hidden: true, + } }, ] } diff --git a/src/views/forum/ForumPublish.vue b/src/views/forum/ForumPublish.vue new file mode 100644 index 0000000..5833229 --- /dev/null +++ b/src/views/forum/ForumPublish.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/views/forum/ForumView.vue b/src/views/forum/ForumView.vue new file mode 100644 index 0000000..c2f6de1 --- /dev/null +++ b/src/views/forum/ForumView.vue @@ -0,0 +1,157 @@ + + + + +