You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
224 lines
6.0 KiB
224 lines
6.0 KiB
/**
|
|
* 基础路由
|
|
* @type { *[] }
|
|
*/
|
|
export const constantRouterMap = [
|
|
{
|
|
path: '/',
|
|
name: 'home',
|
|
component: () => import('@/views/home'),
|
|
meta: { title: '首页', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/index1',
|
|
name: 'index1',
|
|
component: () => import('@/views/home2'),
|
|
meta: { title: '设备关闭', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/livingCircle',
|
|
name: 'livingCircle',
|
|
component: () => import('@/views/livingCircle'),
|
|
meta: { title: '生活圈', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/mine',
|
|
name: 'mine',
|
|
component: () => import('@/views/mine'),
|
|
meta: { title: '我的', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/login',
|
|
component: () => import('@/views/login'),
|
|
meta: { title: '登录', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/message',
|
|
name: 'message',
|
|
component: () => import('@/views/message'),
|
|
meta: { title: '消息', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/messages',
|
|
name: 'messages',
|
|
component: () => import('@/views/messages'),
|
|
meta: { title: '我的消息', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/event',
|
|
name: 'event',
|
|
component: () => import('@/views/event'),
|
|
meta: { title: '居民上报诉求', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/userInfo/:type',
|
|
name: 'userInfo',
|
|
component: () => import('@/views/userInfo'),
|
|
meta: { title: '', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/demand',
|
|
name: 'demand',
|
|
component: () => import('@/views/demand'),
|
|
meta: { title: '我有需求', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/appeal',
|
|
name: 'appeal',
|
|
component: () => import('@/views/appeal'),
|
|
meta: { title: '我上报的问题', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/appealDetail',
|
|
name: 'appealDetail',
|
|
component: () => import('@/views/appealDetail'),
|
|
meta: { title: '详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/register',
|
|
name: 'register',
|
|
component: () => import('@/views/register'),
|
|
meta: { title: '注册', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/errorPage',
|
|
name: 'errorPage',
|
|
component: () => import('@/views/errorPage'),
|
|
meta: { title: '错误', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/search',
|
|
name: 'search',
|
|
component: () => import('@/views/search'),
|
|
meta: { title: '搜索', keepAlive: false }
|
|
}, {
|
|
path: '/selectAgency',
|
|
name: 'selectAgency',
|
|
component: () => import('@/views/selectAgency'),
|
|
meta: { title: '选择所在社区', keepAlive: false }
|
|
}, {
|
|
path: '/houseQR',
|
|
name: 'houseQR',
|
|
component: () => import('@/views/houseQR'),
|
|
meta: { title: '电子门牌', keepAlive: false }
|
|
}, {
|
|
path: '/activity',
|
|
name: 'activity',
|
|
component: () => import('@/views/activity'),
|
|
meta: { title: '社区活动', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/discussion',
|
|
name: 'discussion',
|
|
component: () => import('@/views/discussion'),
|
|
meta: { title: '居民议事', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/servicePhone',
|
|
name: 'servicePhone',
|
|
component: () => import('@/views/servicePhone'),
|
|
meta: { title: '服务电话', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/activityDetail',
|
|
name: 'activityDetail',
|
|
component: () => import('@/views/activity/detail'),
|
|
meta: { title: '活动详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/sing',
|
|
name: 'sing',
|
|
component: () => import('@/views/activity/sing'),
|
|
meta: { title: '', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/discusionDetail',
|
|
name: 'discusionDetail',
|
|
component: () => import('@/views/discussion/discusionDetail'),
|
|
meta: { title: '议事详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/Enjoyableservices',
|
|
name: 'Enjoyableservices',
|
|
component: () => import('@/views/Enjoyableservices/index'),
|
|
meta: { title: '可享服务', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/detailServices',
|
|
name: 'detailServices',
|
|
component: () => import('@/views/Enjoyableservices/detail'),
|
|
meta: { title: '服务详情', keepAlive: false }
|
|
},{
|
|
path: '/communityPublicity',
|
|
name: 'communityPublicity',
|
|
component: () => import('@/views/communityPublicity'),
|
|
meta: { title: '社区讯息', keepAlive: false }
|
|
}
|
|
,{
|
|
path: '/serviceGuide',
|
|
name: 'serviceGuide',
|
|
component: () => import('@/views/serviceGuide'),
|
|
meta: { title: '办事指南', keepAlive: false }
|
|
}
|
|
,{
|
|
path: '/communityPublicityDetail',
|
|
name: 'communityPublicityDetail',
|
|
component: () => import('@/views/communityPublicity/detail'),
|
|
meta: { title: '详情', keepAlive: false }
|
|
},{
|
|
path: '/serviceGuideDetail',
|
|
name: 'serviceGuideDetail',
|
|
component: () => import('@/views/serviceGuide/detail'),
|
|
meta: { title: '办事详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/serviceList',
|
|
name: 'serviceList',
|
|
component: () => import('@/views/serviceList/index'),
|
|
meta: { title: '服务清单', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/reservationService',
|
|
name: 'reservationService',
|
|
component: () => import('@/views/serviceList/reservationService'),
|
|
meta: { title: '预约服务', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/mySatisfaction',
|
|
name: 'mySatisfaction',
|
|
component: () => import('@/views/mine/mySatisfaction'),
|
|
meta: { title: '我参与的满意度调查', keepAlive: false }
|
|
},{
|
|
path: '/myActivity',
|
|
name: 'myActivity',
|
|
component: () => import('@/views/mine/myActivity'),
|
|
meta: { title: '我参与的活动', keepAlive: false }
|
|
}
|
|
,{
|
|
path: '/Feedback',
|
|
name: 'Feedback',
|
|
component: () => import('@/views/mine/Feedback'),
|
|
meta: { title: '意见反馈', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/myService',
|
|
name: 'myService',
|
|
component: () => import('@/views/mine/myService'),
|
|
meta: { title: '意见反馈', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/integral',
|
|
name: 'integral',
|
|
component: () => import('@/views/mine/integral'),
|
|
meta: { title: '积分记录', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/dynamic',
|
|
name: 'dynamic',
|
|
component: () => import('@/views/dynamic'),
|
|
meta: { title: '动态详情', keepAlive: false }
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|