1
jhzh
2025-09-18 92ca7dfd2b7dc282fbb1846891b11ff6d471045d
1
8 files modified
56 ■■■■ changed files
src/i18n/Japanese.js 2 ●●● patch | view | raw | blame | history
src/i18n/cn.js 2 ●●● patch | view | raw | blame | history
src/i18n/en.js 2 ●●● patch | view | raw | blame | history
src/i18n/zhcn.js 2 ●●● patch | view | raw | blame | history
src/service/user.api.js 2 ●●● patch | view | raw | blame | history
src/views/customerService/index.vue 1 ●●●● patch | view | raw | blame | history
src/views/language/index.vue 2 ●●● patch | view | raw | blame | history
src/views/my/index.vue 43 ●●●● patch | view | raw | blame | history
src/i18n/Japanese.js
@@ -2655,7 +2655,7 @@
    "实名姓名长度超过50": "実名の長さが50を超えています",
    "请输入关键词搜寻": "キーワードで検索してみます",
    "复制财富,從此刻開始": "富の複製を始めました",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "6000以上の人気取引、5000USDTを即時登録します",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "様々な人気通貨を取引できます。今すぐ登録して取引すれば、USDT相当額を受け取れます!",
    "跟单": "つつじです",
    "储值": "ストレージ値",
    "标准合约": "標準契約",
src/i18n/cn.js
@@ -2776,7 +2776,7 @@
    "实名姓名长度超过50": "實名姓名長度超過50",
    "请输入关键词搜寻": "請輸入關鍵詞搜尋",
    "复制财富,從此刻開始": "複製財富,從此刻開始",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "超6000種熱門交易類別,立即註冊領取5000USDT",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "多種熱門幣種交易,立即註冊交易領取等值USDT",
    "跟单": "跟單",
    "储值": "儲值",
    "标准合约": "標準合約",
src/i18n/en.js
@@ -2751,7 +2751,7 @@
    "实名姓名长度超过50": "Real name length exceeds 50",
    "请输入关键词搜寻": "Please enter the keyword for searching",
    "复制财富,從此刻開始": "Copy wealth, starting from this very moment",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "Over 6,000 popular trading categories. Sign up now and claim 5,000 USDT",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "Trade a variety of popular currencies. Register now to trade and receive USDT equivalent",
    "跟单": "documentation",
    "储值": "stored value",
    "标准合约": "Standard contract",
src/i18n/zhcn.js
@@ -2756,7 +2756,7 @@
    "实名姓名长度超过50": "实名姓名长度超过50",
    "请输入关键词搜寻": "请输入关键词搜寻",
    "复制财富,從此刻開始": "复制财富,從此刻開始",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "超6000種熱門交易類別,立即註冊领取5000USDT",
    "超6000種熱門交易類別,立即註冊领取5000USDT": "多種熱門幣種交易,立即註冊交易領取等值USDT",
    "跟单": "跟单",
    "储值": "储值",
    "标准合约": "标准合约",
src/service/user.api.js
@@ -322,7 +322,7 @@
export const _customer = () => {
    return request({
        url: "api/syspara!getSyspara.action",
        url: "api/syspara/getSyspara.action",
        method: "GET",
        params: {
            code: "customer_service_url"
src/views/customerService/index.vue
@@ -107,6 +107,7 @@
}
onMounted(() => {
    // console.log('this.$store.state.',this.$store.state);
  orderNo = ""
  partyId = ""
  navHeight.value = navEl.value.$el.getBoundingClientRect().height
src/views/language/index.vue
@@ -26,7 +26,7 @@
let lang = ref([
  { title: '繁体中文', key: 'CN', image: new URL('../../assets/image/lang/taiwan.png', import.meta.url) },
  { title: '简体中文', key: 'zh-CN', image: new URL('../../assets/image/lang/zh-CN.png', import.meta.url) },
  // { title: '简体中文', key: 'zh-CN', image: new URL('../../assets/image/lang/zh-CN.png', import.meta.url) },
  { title: 'English', key: 'en', image: new URL('../../assets/image/lang/en-US.png', import.meta.url) },
  // { title: '한국인', key: 'Korean', image: new URL('../../assets/image/lang/Korean.png', import.meta.url) },
  { title: 'やまと', key: 'Japanese', image: new URL('../../assets/image/lang/Japanese.png', import.meta.url) },
src/views/my/index.vue
@@ -2,7 +2,7 @@
  <section class="my-index">
    <fx-header :title="$t('my')">
      <template v-slot:right>
        <van-icon name="service-o" size="24" @click="$router.push('/customerService')"></van-icon>
        <!-- <van-icon name="service-o" size="24" @click="$router.push('/customerService')"></van-icon> -->
      </template>
    </fx-header>
@@ -107,17 +107,18 @@
<script setup>
import { reactive, onMounted, ref, computed } from 'vue';
import { useRouter } from 'vue-router';
import { _getIdentify, _getKycHighLevel, _logOut } from "@/service/user.api.js";
import { _getIdentify, _getKycHighLevel, _logOut,_customer } from "@/service/user.api.js";
import { useUserStore } from '@/store/user';
import { useI18n } from "vue-i18n";
import useClipboard from "vue-clipboard3";
import { showToast } from "vant";
import { getStorage, setStorage, getBrowserLang } from '@/utils/index'
import addBankIcon from '@/assets/image/userCenter/addBank.png'
import kycHighStatusIcon from '@/assets/image/userCenter/kycHighStatus.png'
import store from '@/store/store'
const { t } = useI18n()
const { toClipboard } = useClipboard();
const customer_service_url = ref('')
const router = useRouter()
const userStore = useUserStore()
const status = ref(null)
@@ -143,13 +144,34 @@
  ]
})
const onRoute = (path) => {
  console.log(path)
  router.push(path)
  if(path=='/customerService'){
      // if(customer_service_url.value){
         //  window.open(customer_service_url.value)
      // }else{
         //  router.push(path)
      // }
      var path = ''
      var lang = getStorage('lang')
      if(!lang){
          path = 'https://line.me/ti/p/KVk2TPuXWB'
          //日语客服
      }else if(lang=='en'){
          path = 'https://t.me/ME_COIN_USA'
          //英语客服
      }else if(lang == 'CN'){
          path = 'https://line.me/ti/p/rZ6rrD_VTS'
          //中文客服
      }
       window.open(path)
  }else{
      router.push(path)
  }
}
onMounted(() => {
  if (userStore.userInfo && userStore.userInfo.token) {
    getIdentify()
    getKycHighLevel()
    Customer()
  }
})
const cellList = computed(() => {
@@ -170,7 +192,7 @@
          { icon: new URL('../../assets/image/assets-center/AdvancedCertification.png', import.meta.url), title: t('高级认证'), path: '/advancedCtf', show: true },
          // { icon: 'todo-list-o', title: t('账变记录'), path: '/cryptos/accountChange' },
          { icon: new URL('../../assets/image/assets-center/valuation.png', import.meta.url), title: t('计价方式'), path: '/cryptos/exchangeRate' },
          { 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/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' },
        ]
      }
@@ -195,6 +217,15 @@
  }
})
const Customer = () => {
  _customer({
    token: userStore.userInfo.token,
    customer_service_url:'code'
  }).then((res) => {
   customer_service_url.value = res.customer_service_url
  })
}
const loginOut = () => {
  _logOut({
    token: userStore.userInfo.token