From 3c064782d1414bbc32c825c656ab64bec4e68624 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Mon, 12 Jan 2026 17:13:05 +0800
Subject: [PATCH] 1

---
 src/views/my/index.vue |   31 ++++++++++---------------------
 1 files changed, 10 insertions(+), 21 deletions(-)

diff --git a/src/views/my/index.vue b/src/views/my/index.vue
index dbe455b..7a66ac9 100644
--- a/src/views/my/index.vue
+++ b/src/views/my/index.vue
@@ -143,34 +143,22 @@
   // { title: t('法律声明'), icon: new URL('@/assets/image/assets-center/aqzc.png', import.meta.url), path: '/aboutUs?serviceTerm=22' },
   // { title: t('金融服务牌照'), icon: new URL('@/assets/image/assets-center/yhxy.png', import.meta.url), path: '/aboutUs?serviceTerm=26' },
 ]
-const state = reactive({
-  cellList: [
-    {
-      title: t('safe'), list: [
-        { icon: 'shield-o', title: t('safe'), path: '/safety' },
-        { icon: 'setting-o', title: t('changePassword'), path: '/changePassword' },
-        { icon: addBankIcon, title: t('AddPaymentMethod'), path: '/payMentMethod/list' }
-      ]
-    },
-    {
-      title: t('universal'), list: [
-        { icon: 'font-o', title: t('language'), path: '/language' },
-        { icon: 'service-o', title: t('onLineService'), path: '/customerService' },
-        { icon: 'idcard', title: t('authVerify'), path: '/certificationCenter', show: true },
-        { icon: 'todo-list-o', title: t('账变记录'), path: '/cryptos/accountChange' },
-        { icon: 'gold-coin-o', title: t('计价方式'), path: '/cryptos/exchangeRate' },
-      ]
-    }
-  ]
-})
 const onRoute = (path) => {
+  if (!path) return
+
+  // 如果路径包含 "http",则作为外链跳转
+  if (path && (path.startsWith('http://') || path.startsWith('https://'))) {
+    window.open(path, '_blank');
+    return;
+  }
+
   if (path == '/customerService') {
     if (customerServiceUrl()) {
       window.location.href = customerServiceUrl();
     } else {
       router.push(path)
     }
-  } else {
+  }else {
     router.push(path)
   }
 }
@@ -203,6 +191,7 @@
           // { icon: new URL('../../assets/image/assets-center/AddPaymentMethod.png', import.meta.url), title: t('AddPaymentMethod'), path: '/payMentMethod/list' },
           // { icon: new URL('../../assets/image/assets-center/help.png', import.meta.url), title: t('帮助中心'), path: '/helpCenter' }, // 原帮助中心页面
           { icon: new URL('../../assets/image/assets-center/help.png', import.meta.url), title: t('帮助中心'), path: '/aboutUs?serviceTerm=27' }, // 现跳转关于我们通过后台编辑获取的页面
+          { icon: new URL('../../assets/image/assets-center/置业资格.png', import.meta.url), title: t('资格'), path: 'https://ali.coinbox-ws.com/upload/20250713/1752394308.pdf' },
         ]
       }
     ]

--
Gitblit v1.9.3