Commit 0ca6cab4 authored by 王玉鑫's avatar 王玉鑫

feat: 新增政策页面

parent c86240ae
...@@ -44,6 +44,12 @@ const ChangePassword = () => import('@/views/user/ChangePassword.vue'); ...@@ -44,6 +44,12 @@ const ChangePassword = () => import('@/views/user/ChangePassword.vue');
const MyDevelopDetail = () => import('@/views/user/MyDevelopDetail.vue'); const MyDevelopDetail = () => import('@/views/user/MyDevelopDetail.vue');
/** 我的园区-产业园详情 */ /** 我的园区-产业园详情 */
const MyIndustrialDetail = () => import('@/views/user/MyIndustrialDetail.vue'); const MyIndustrialDetail = () => import('@/views/user/MyIndustrialDetail.vue');
/** 立业云用户协议 */
const UserAgreement = () => import('@/views/agreement/UserAgreement.vue');
/** 个人信息保护政策 */
const UserInfoPolicy = () => import('@/views/agreement/UserInfoPolicy.vue');
/** 第三方使用信息协议 */
const ThirdAgreement = () => import('@/views/agreement/ThirdAgreement.vue');
export const enum RouteName { export const enum RouteName {
home = 'home', home = 'home',
...@@ -89,6 +95,12 @@ export const enum RouteName { ...@@ -89,6 +95,12 @@ export const enum RouteName {
myDevelopDetail = 'user-center/my-develop-detail', myDevelopDetail = 'user-center/my-develop-detail',
/** 我的园区-产业园详情 */ /** 我的园区-产业园详情 */
myIndustrialDetail = 'user-center/my-industrial-detail', myIndustrialDetail = 'user-center/my-industrial-detail',
/** 立业云用户协议 */
userAgreement = 'user-agreement',
/** 个人信息保护政策 */
userInfoPolicy = 'user-info-policy',
/** 第三方使用信息协议 */
thirdAgreement = 'third-agreement',
} }
function gen(name: RouteName) { function gen(name: RouteName) {
...@@ -278,6 +290,21 @@ const routes: readonly RouteRecordRaw[] = [ ...@@ -278,6 +290,21 @@ const routes: readonly RouteRecordRaw[] = [
}, },
], ],
}, },
{
// 立业云用户协议
...gen(RouteName.userAgreement),
component: UserAgreement,
},
{
// 个人信息保护政策
...gen(RouteName.userInfoPolicy),
component: UserInfoPolicy,
},
{
// 第三方使用信息协议
...gen(RouteName.thirdAgreement),
component: ThirdAgreement,
},
{ {
path: '/:pathMatch(.*)*', path: '/:pathMatch(.*)*',
redirect: '/', redirect: '/',
......
<!-- 第三方使用信息协议 -->
<template>
<div></div>
</template>
<!-- 立业云用户协议 -->
<template>
<div></div>
</template>
<!-- 个人信息保护政策 -->
<template>
<div></div>
</template>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment