顶部跳转判断

This commit is contained in:
2023-07-27 19:04:50 +08:00
parent 8fbe531684
commit ff5f842595
6 changed files with 19 additions and 17 deletions

View File

@@ -10,7 +10,8 @@ const routes = [
component: HomeView,
meta: {
title: "首页",
path:'/'
path:'/',
topBarShow:true
}
},
{
@@ -40,7 +41,8 @@ const routes = [
component: () => import(/* webpackChunkName: "user" */ '@/views/user.vue'),
meta: {
title: "我的",
path:'/user'
path:'/user',
topBarShow:true
}
},
{
@@ -56,7 +58,8 @@ const routes = [
component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/person.vue'),
meta: {
title: '个人房源',
path:'/personHousing'
path:'/personHousing',
topBarShow:true
}
},
{//中介房源
@@ -64,7 +67,8 @@ const routes = [
component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/intermediary.vue'),
meta: {
title: '中介房源',
path:'/intermediaryHousing'
path:'/intermediaryHousing',
topBarShow:true
}
},
{//求房源
@@ -72,7 +76,8 @@ const routes = [
component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/needHousing.vue'),
meta: {
title: '求房源',
path:'/needHousing'
path:'/needHousing',
topBarShow:true
}
},
{//搜索
@@ -88,7 +93,8 @@ const routes = [
component: () => import(/* webpackChunkName: "housing" */ '@/views/housingView/apartment.vue'),
meta: {
title: "品牌公寓",
path:'/apartment'
path:'/apartment',
topBarShow:true
}
},
{