1
李凌
2026-01-21 e01cee0f0c5c5c2eb2d8595eadb3c7a9df2a37fc
src/views/cryptos/AboutUs/index.vue
@@ -29,18 +29,24 @@
  computed: {
    pageTitle() {
      switch (this.serviceTerm) {
        case '26':
        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 '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('关于我们')
      }
@@ -57,15 +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', // 强制英文,后台暂时只设置了英文
        language: this.serviceTerm ? language : this.$i18n.locale,
        // language: 'en', // 强制英文,后台暂时只设置了英文
        not_language: 1,
      }).then((res) => {
        this.content = res.content
        this.title = res.title