From 51b35cc2acf48af03f32f1918d20a126a48d6e9b Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 11 Mar 2026 13:46:10 +0800
Subject: [PATCH] 该客服
---
src/views/cryptos/AboutUs/index.vue | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/views/cryptos/AboutUs/index.vue b/src/views/cryptos/AboutUs/index.vue
index 65ff71a..073c074 100644
--- a/src/views/cryptos/AboutUs/index.vue
+++ b/src/views/cryptos/AboutUs/index.vue
@@ -45,6 +45,8 @@
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