From 64380a6e8d1104251b4c079d02abf6309be24385 Mon Sep 17 00:00:00 2001 From: XiaoMo Date: Wed, 29 Mar 2023 16:00:11 +0800 Subject: [PATCH] =?UTF-8?q?a1300399510@qq.com=20=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E4=BA=8E=202023/03/29=20-16:00:01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 9 +++++++++ src/views/allSections/AllSections.vue | 4 ++-- src/views/{ => index}/index.vue | 0 src/views/searchResult/SearchResult.vue | 16 ++++++++-------- 4 files changed, 19 insertions(+), 10 deletions(-) rename src/views/{ => index}/index.vue (100%) diff --git a/src/router/index.js b/src/router/index.js index 90fc299..16b7bf2 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -16,6 +16,7 @@ const Index = () => import('views/index') const Recommend = () => import('views/recommend/Recommend') const Collect = () => import('views/collect/Collect') const AllSections = () => import('views/allSections/AllSections') +const SearchResult = () => import('views/searchResult/SearchResult') const routes = [ { @@ -48,6 +49,14 @@ const routes = [ meta: { title: "全部版块" } + }, + { + path: '/searchResult', + name: 'SearchResult', + component: SearchResult, + meta: { + title: "搜索帖子" + } } ] }, diff --git a/src/views/allSections/AllSections.vue b/src/views/allSections/AllSections.vue index 4471f89..1b6975c 100755 --- a/src/views/allSections/AllSections.vue +++ b/src/views/allSections/AllSections.vue @@ -6,7 +6,7 @@ @click="allClick(index)">{{ item.title }} -
+
{{ i.title }}
@@ -178,7 +178,7 @@ export default { display: flex; flex-direction: column; z-index: 1; - display: none; + // display: none; padding-bottom: 0.4rem; &.active { diff --git a/src/views/index.vue b/src/views/index/index.vue similarity index 100% rename from src/views/index.vue rename to src/views/index/index.vue diff --git a/src/views/searchResult/SearchResult.vue b/src/views/searchResult/SearchResult.vue index 856d3e7..01a10db 100755 --- a/src/views/searchResult/SearchResult.vue +++ b/src/views/searchResult/SearchResult.vue @@ -1,9 +1,9 @@ - + 改好复工后复工后 +
+ + - - \ No newline at end of file