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/cryptos/AboutUs/index.vue | 43 +++++++++++++++++++++++++------------------
1 files changed, 25 insertions(+), 18 deletions(-)
diff --git a/src/views/cryptos/AboutUs/index.vue b/src/views/cryptos/AboutUs/index.vue
index 65ff71a..8662f4b 100644
--- a/src/views/cryptos/AboutUs/index.vue
+++ b/src/views/cryptos/AboutUs/index.vue
@@ -31,20 +31,22 @@
switch (this.serviceTerm) {
case '20':
return this.$t('关于我们')
- case '21':
- return this.$t('安全规定')
- case '22':
- return this.$t('法律声明')
- case '23':
- return this.$t('用户协议')
- case '24':
- return this.$t('隐私政策')
- case '25':
- return this.$t('反洗钱协议')
- case '26':
- return this.$t('金融服务牌照')
+ // case '21':
+ // return this.$t('安全规定')
+ // case '22':
+ // return this.$t('法律声明')
+ // case '23':
+ // return this.$t('用户协议')
+ // case '24':
+ // return this.$t('隐私政策')
+ // case '25':
+ // return this.$t('反洗钱协议')
+ // case '26':
+ // return this.$t('金融服务牌照')
case '27':
return this.$t('帮助中心')
+ // case '28':
+ // return this.$t('DXCN白皮书')
default:
return this.$t('关于我们')
}
@@ -61,16 +63,21 @@
},
getCms() {
let language
- if (this.$i18n.locale == 'zh-CN' || this.$i18n.locale == 'CN') {
- language = this.$i18n.locale
- } else {
- language = 'en'
- }
+ // if (this.$i18n.locale == 'zh-CN' || this.$i18n.locale == 'CN') {
+ language = this.$i18n.locale
+ // } else {
+ // language = 'en'
+ // }
+
+ // 白皮书限定只要中文的
+ if (this.serviceTerm == '28') language = 'en'
+
+
_getAboutUs({
content_code: this.serviceTerm,
language: this.serviceTerm ? language : this.$i18n.locale,
// language: 'en', // 强制英文,后台暂时只设置了英文
- // not_language: 1,
+ not_language: 1,
}).then((res) => {
this.content = res.content
this.title = res.title
--
Gitblit v1.9.3