|
|
@@ -12,7 +12,8 @@
|
|
|
</view>
|
|
|
<view class="-mt-10 rounded-8 py-20">
|
|
|
<uv-cell-group :border="false">
|
|
|
- <uv-cell isLink :cellStyle="cellStyle">
|
|
|
+ <uv-cell isLink :cellStyle="cellStyle"
|
|
|
+ @click="handleNavigate('/pagesOther/pages/personal-center/basic-info/basic-info', '基本资料')">
|
|
|
<template #title>
|
|
|
<view class="flex items-center gap-x-10">
|
|
|
<ie-image src="/static/personal/icon_jibenziliao@2x.png" custom-class="w-34 h-34" />
|
|
|
@@ -21,7 +22,8 @@
|
|
|
</template>
|
|
|
|
|
|
</uv-cell>
|
|
|
- <uv-cell isLink :cellStyle="cellStyle">
|
|
|
+ <uv-cell isLink :cellStyle="cellStyle"
|
|
|
+ @click="handleNavigate('/pagesOther/pages/personal-center/change-pwd/change-pwd', '修改密码')">
|
|
|
<template #title>
|
|
|
<view class="flex items-center gap-x-10">
|
|
|
<ie-image src="/static/personal/icon_password@2x.png" custom-class="w-36 h-36" />
|
|
|
@@ -29,7 +31,7 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
</uv-cell>
|
|
|
- <uv-cell isLink :cellStyle="cellStyle">
|
|
|
+ <uv-cell isLink :cellStyle="cellStyle" @click="handleQuestion">
|
|
|
<template #title>
|
|
|
<view class="flex items-center gap-x-10">
|
|
|
<uv-icon name="question-circle" size="16" color="#888888" />
|
|
|
@@ -60,22 +62,22 @@ const menus = [
|
|
|
{
|
|
|
name: '测评报告',
|
|
|
icon: '/static/personal/test_report.png',
|
|
|
- pagePath: '/pages/test-center/list/list',
|
|
|
+ pagePath: '/pagesOther/pages/test-center/list/list',
|
|
|
},
|
|
|
{
|
|
|
name: '我的收藏',
|
|
|
icon: '/static/personal/my_collected.png',
|
|
|
- pagePath: '/pages/test-center/list/list',
|
|
|
+ pagePath: '/pagesOther/pages/personal-center/my-concerned/my-concerned',
|
|
|
},
|
|
|
{
|
|
|
name: '我的志愿表',
|
|
|
icon: '/static/personal/my_simulated.png',
|
|
|
- pagePath: '/pages/test-center/list/list',
|
|
|
+ pagePath: '/pagesOther/pages/ie/entry-ai-list/entry-ai-list',
|
|
|
},
|
|
|
{
|
|
|
name: '绑定会员卡',
|
|
|
icon: '/static/personal/bind_card.png',
|
|
|
- pagePath: '/pages/test-center/list/list',
|
|
|
+ pagePath: '/pagesOther/pages/personal-center/bind-card/bind-card',
|
|
|
}
|
|
|
];
|
|
|
const cellStyle = {
|
|
|
@@ -87,6 +89,27 @@ const handleClick = async (item: MenuItem) => {
|
|
|
transferTo(item.pagePath);
|
|
|
}
|
|
|
}
|
|
|
+const handleNavigate = async (pagePath: string, title: string) => {
|
|
|
+ const isLogin = await userStore.checkLogin();
|
|
|
+ if (isLogin) {
|
|
|
+ transferTo(pagePath, {
|
|
|
+ data: {
|
|
|
+ settingName: title
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+}
|
|
|
+const handleQuestion = async () => {
|
|
|
+ const isLogin = await userStore.checkLogin();
|
|
|
+ if (isLogin) {
|
|
|
+ transferTo('/pagesOther/pages/h5/h5', {
|
|
|
+ data: {
|
|
|
+ title: '常见问题',
|
|
|
+ url: 'https://www.dz1kt.com/admin/FAQ/FAQ_IE.html'
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+}
|
|
|
const handleLogout = async () => {
|
|
|
const confirm = await userStore.askLogout();
|
|
|
if (confirm) {
|