From e01cee0f0c5c5c2eb2d8595eadb3c7a9df2a37fc Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 21 Jan 2026 16:37:01 +0800
Subject: [PATCH] 1

---
 src/views/my/index.vue |   71 ++++++++++++++---------------------
 1 files changed, 28 insertions(+), 43 deletions(-)

diff --git a/src/views/my/index.vue b/src/views/my/index.vue
index a88694d..7a66ac9 100644
--- a/src/views/my/index.vue
+++ b/src/views/my/index.vue
@@ -17,7 +17,7 @@
         $t('welcome')
       }}&nbsp;{{ $title }}!
       </h1>
-      <p class="sub-text" v-if="!(userStore.userInfo && userStore.userInfo.token)">{{ $t('全球最大的区块链资产平台') }}</p>
+      <p class="sub-text" v-if="!(userStore.userInfo && userStore.userInfo.token)">{{ $t('通往机构机代币化的大门') }}</p>
       <p class="w-full flex mt-4 gap-x-4" v-if="!(userStore.userInfo && userStore.userInfo.token)">
         <van-button class="flex-1" round @click="onRoute('/register')">{{ $t('register') }}</van-button>
         <van-button class="flex-1" type="primary" round color="#f7b600" @click="onRoute('/login')">{{ $t('login')
@@ -130,48 +130,35 @@
 
 const router = useRouter()
 const userStore = useUserStore()
-const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链
 const status = ref(null)
 const kycHighStatus = ref(null)
 const userdata = ref({})
 // 通用列表
 const tyList = [
   { title: t('关于我们'), icon: new URL('@/assets/image/assets-center/aboutUs.png', import.meta.url), path: '/aboutUs?serviceTerm=20' },
-  { title: t('用户协议'), icon: new URL('@/assets/image/assets-center/yhxy.png', import.meta.url), path: '/aboutUs?serviceTerm=23' },
-  { title: t('隐私政策'), icon: new URL('@/assets/image/assets-center/yszc.png', import.meta.url), path: '/aboutUs?serviceTerm=24' },
-  { title: t('安全规定'), icon: new URL('@/assets/image/assets-center/aqzc.png', import.meta.url), path: '/aboutUs?serviceTerm=21' },
-  { title: t('反洗钱协议'), icon: new URL('@/assets/image/assets-center/yhxy.png', import.meta.url), path: '/aboutUs?serviceTerm=25' },
-  { 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' },
+  // { title: t('用户协议'), icon: new URL('@/assets/image/assets-center/yhxy.png', import.meta.url), path: '/aboutUs?serviceTerm=23' },
+  // { title: t('隐私政策'), icon: new URL('@/assets/image/assets-center/yszc.png', import.meta.url), path: '/aboutUs?serviceTerm=24' },
+  // { title: t('安全规定'), icon: new URL('@/assets/image/assets-center/aqzc.png', import.meta.url), path: '/aboutUs?serviceTerm=21' },
+  // { title: t('反洗钱协议'), icon: new URL('@/assets/image/assets-center/yhxy.png', import.meta.url), path: '/aboutUs?serviceTerm=25' },
+  // { 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 (customer_service_url.value) {
-      window.location.href = customer_service_url.value;
+    if (customerServiceUrl()) {
+      window.location.href = customerServiceUrl();
     } else {
       router.push(path)
     }
-  } else {
+  }else {
     router.push(path)
   }
 }
@@ -204,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' },
         ]
       }
     ]
@@ -211,7 +199,7 @@
     return [
       {
         title: t('universal'), list: [
-          { icon: new URL('../../assets/image/assets-center/help.png', import.meta.url), title: t('language'), path: '/language' },
+          { icon: new URL('../../assets/image/assets-center/language.png', import.meta.url), title: t('language'), path: '/language' },
           // { icon: 'gold-coin-o', title: t('计价方式'), path: '/cryptos/exchangeRate' },
           { icon: new URL('../../assets/image/assets-center/aboutUs.png', import.meta.url), title: t('onLineService'), path: '/customerService' },
 
@@ -235,15 +223,6 @@
     store.state.user.userInfo = {}
   })
 }
-// 获取客服信息
-const getcustomer = () => {
-  _customer().then((data) => {
-    customer_service_url.value = data.customer_service_url
-    console.log(customer_service_url);
-  }).catch(error => {
-    console.error('Error fetching data:', error);
-  });
-};
 const getinfo = () => {
   _info().then((data) => {
     userdata.value = data;  // 确保 userdata 被正确声明
@@ -272,6 +251,8 @@
 </script>
 
 <style lang="scss" scoped>
+@import '@/assets/theme/index.scss';
+
 :deep(.van-cell-group__title) {
   // background: $main2_background !important;
   background: $inp-b !important;
@@ -303,11 +284,15 @@
 }
 
 :deep(.van-icon) {
-  color: $text_color;
+  @include themify() {
+    color: themed("text_color") !important;
+  }
 }
 
 :deep(.van-cell__title) {
-  color: $text_color;
+  @include themify() {
+    color: themed("text_color") !important;
+  }
 }
 
 :deep(.van-cell:after) {

--
Gitblit v1.9.3