搜索结果列表页面开发
This commit is contained in:
78
src/router/config/account.ts
Normal file
78
src/router/config/account.ts
Normal file
@@ -0,0 +1,78 @@
|
||||
import DefaultLayout from '@/layouts/DefaultLayout/index.vue';
|
||||
|
||||
const className = 'w-full';
|
||||
|
||||
export default [
|
||||
{
|
||||
path: '/',
|
||||
component: DefaultLayout,
|
||||
meta: {
|
||||
hasMobile: true,
|
||||
loginHidden: true // 登录后不可进入
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'register',
|
||||
name: 'register',
|
||||
component: () => import('@/views/Mobile/Account/Register/index.vue'),
|
||||
meta: {
|
||||
title: '注册',
|
||||
className
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'login',
|
||||
name: 'login',
|
||||
component: () => import('@/views/Mobile/Account/Login/Password/index.vue'),
|
||||
meta: {
|
||||
title: '登录',
|
||||
className
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'loginByPhone',
|
||||
name: 'loginByPhone',
|
||||
component: () => import('@/views/Mobile/Account/Login/Phone/index.vue'),
|
||||
meta: {
|
||||
title: '短信登录',
|
||||
className
|
||||
}
|
||||
},
|
||||
// {
|
||||
// path: 'bindPhone',
|
||||
// name: 'bindPhone',
|
||||
// component: () => import('@/views/Mobile/Account/BindPhone/index.vue'),
|
||||
// meta: {
|
||||
// title: '绑定手机号',
|
||||
// className
|
||||
// }
|
||||
// },
|
||||
{
|
||||
path: 'resetPassword',
|
||||
name: 'resetPassword',
|
||||
component: () => import('@/views/Mobile/Account/ResetPassword/index.vue'),
|
||||
meta: {
|
||||
title: '重置密码',
|
||||
className
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/oauth/callback',
|
||||
name: 'oauth',
|
||||
component: () => import('@/views/OAuth/callback.vue'),
|
||||
meta: {
|
||||
title: '第三方授权',
|
||||
loginHidden: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/-/oauth/login',
|
||||
name: 'oauthLogin',
|
||||
component: () => import('@/views/OAuth/login.vue'),
|
||||
meta: {
|
||||
title: '登录账号'
|
||||
}
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user