a1300399510@qq.com 提交于 2023/03/29 -16:00:01

This commit is contained in:
XiaoMo 2023-03-29 16:00:11 +08:00
parent f0660d19d2
commit 64380a6e8d
4 changed files with 19 additions and 10 deletions

View File

@ -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: "搜索帖子"
}
}
]
},

View File

@ -6,7 +6,7 @@
@click="allClick(index)">{{ item.title }}</span>
</div>
<!-- 右选项 -->
<div class="allSections-right" :class="{ 'active': index == allActive }" v-for="(item, index) in list" :key="index">
<div class="allSections-right">
<div class="allSections-right-item" v-for="(i, k) in starList" :key="k">
<div class="item-content">
<div class="item-title">{{ i.title }}</div>
@ -178,7 +178,7 @@ export default {
display: flex;
flex-direction: column;
z-index: 1;
display: none;
// display: none;
padding-bottom: 0.4rem;
&.active {

View File

@ -1,9 +1,9 @@
<template>
<div>
</div>
</template>
改好复工后复工后
</div>
</template>
<script>
export default{
name: "SearchResult",
@ -12,8 +12,8 @@
}
}
}
</script>
<style>
}
</script>
<style>
</style>