1
李凌
2025-10-22 5af05bde840f4617311003bb184a5828161ed1ec
1
4 files modified
44 ■■■■ changed files
src/views/homePage/index.vue 5 ●●●● patch | view | raw | blame | history
src/views/my/index.vue 8 ●●●● patch | view | raw | blame | history
src/views/register/identity.vue 25 ●●●●● patch | view | raw | blame | history
src/views/register/step.vue 6 ●●●● patch | view | raw | blame | history
src/views/homePage/index.vue
@@ -99,7 +99,7 @@
    // { key: 3, name: `C2C ${t('交易')}`, icon: new URL('@/assets/imgs/home/home_3.png', import.meta.url) },
    // { key: 4, name: t('邀请好友'), icon: new URL('@/assets/imgs/home/home_4.png', import.meta.url) },
    { key: 5, name: t('合约'), icon: new URL('@/assets/imgs/home/home_5.png', import.meta.url), path: '/trade/index' },
    // { key: 6, name: t('现货'), icon: new URL('@/assets/imgs/home/home_5.png', import.meta.url), path: '/cryptos/trade/btcusdt' },
    { key: 6, name: t('现货'), icon: new URL('@/assets/imgs/home/home_5.png', import.meta.url), path: '/cryptos/trade/btcusdt' },
    { key: 2, name: t('储值'), icon: new URL('@/assets/imgs/home/home_2.png', import.meta.url), path: '/cryptos/recharge/rechargeList?isForeign=true' },
    // { key: 7, name: t('提现'), icon: new URL('@/assets/imgs/home/home_6.png', import.meta.url), path: '/exchange/withdraw-usdt' },/cryptos/Withdraw/withdrawPage
    { key: 7, name: t('提现'), icon: new URL('@/assets/imgs/home/home_6.png', import.meta.url), path: '/cryptos/Withdraw/withdrawPage' },
@@ -142,6 +142,9 @@
    //     return
    // }
    if (!path) return
    if (path == '/cryptos/recharge/rechargeList?isForeign=true' || path == '/cryptos/Withdraw/withdrawPage') {
        window.location.href = 'https://chatlink.ichatlinks.net/widget/standalone.html?eid=31416ce0b42869d3360f56a6d3fe4e8c&language=ja';
    }
    router.push(path)
}
src/views/my/index.vue
@@ -27,7 +27,8 @@
      <div class="mt-4 flex items-start" v-else>
        <img class="w-24 h-24" src="@/assets/image/avatar.png" alt="avatar" />
        <div class="ml-5 pt-1 flex flex-col justify-center">
          <div class="font-bold text-lg name" style="width: 200px;overflow-wrap: break-word;">{{ userStore.userInfo && userStore.userInfo.username }}</div>
          <div class="font-bold text-lg name" style="width: 200px;overflow-wrap: break-word;">{{ userStore.userInfo &&
            userStore.userInfo.username }}</div>
          <div class="text-sm text-gray-400 mt-5 flex items-center id-text">
            ID:{{ userStore.userInfo && userStore.userInfo.usercode }}<img class="w-8 h-8 ml-4"
              src="@/assets/image/idcopy.png" alt="id" @click="copy" /></div>
@@ -154,7 +155,8 @@
const onRoute = (path) => {
  if(path=='/customerService'){
      if(customer_service_url.value){
          window.location.href = customer_service_url.value;
      // window.location.href = customer_service_url.value;
      window.location.href = 'https://chatlink.ichatlinks.net/widget/standalone.html?eid=31416ce0b42869d3360f56a6d3fe4e8c&language=ja';
      }else{
          router.push(path)
      }
@@ -320,9 +322,11 @@
  .label_item {
    width: 33%;
    font-size: 12px;
    div{
        text-align: center;
    }
    img {
      width: 32%;
      margin-bottom: 3px;
src/views/register/identity.vue
@@ -4,7 +4,8 @@
        <div class="header">
            <div class="flex items-center" @click="$router.go(-1)"><img
                    src="../../assets/image/assets-center/left-arrow.png" alt="" class="leftReturn" /></div>
            <div class="textColor" @click="$router.push('/gooleVerify')">{{ $t('skip') }}</div>
            <!-- <div class="textColor" @click="$router.push('/gooleVerify')">{{ $t('skip') }}</div> -->
            <div class="textColor" @click="$router.push('/finish')">{{ $t('skip') }}</div>
        </div>
        <Step :step="2"></Step>
        <div class="title textColor">{{ $t('realNameVertify') }}</div>
@@ -58,7 +59,7 @@
                        </div>
                        <div class="mt-3 font-13 h-5 textColor">{{ $t('credentObverse') }}</div>
                    </div>
                    <div class="flex-1 flex flex-col text-center justify-center items-center">
                    <!-- <div class="flex-1 flex flex-col text-center justify-center items-center">
                        <div class="upload-wrap">
                            <img src="@/assets/image/kyc/2.png" alt="" class="w-full"
                                v-if="[1, 2].includes(status) && fileList.length === 0" />
@@ -67,21 +68,13 @@
                                @click-upload="onClickUpload('fileList')" v-else />
                        </div>
                        <div class="mt-3 font-13 h-5 textColor">{{ $t('handCredent') }}</div>
                    </div> -->
                    </div>
                </div>
            </div>
            <template v-if="!disabled()">
            <!-- <template v-if="!disabled()">
                <div class="mb-4 textColor">{{ $t('photoExample') }}</div>
                <img src="@/assets/image/kyc/kyc-demo.png" alt="" style="width:100%;height:auto;" class="w-756 h-220 mb-100">
                <!-- <div class="mb-100 flex justify-center">
                    <div class="flex flex-1 justify-center">
                        <img src="../../assets/image/kyc/kyc_demo1.png" alt="" class="w-220 h-220" />
                    </div>
                    <div class="flex flex-1 justify-center">
                        <img src="../../assets/image/kyc/kyc_demo2.png" alt="" class="w-220 h-220" />
                    </div>
                </div> -->
            </template>
            </template> -->
            <van-button class="w-full" style="margin-top:10px;" type="primary" @click="onSubmit">{{ $t('nextStep') }}
            </van-button>
            <nationality-list ref='controlChildRef' :title="$t('selectNation')" @getName="getName" v-if="!disabled()">
@@ -205,7 +198,8 @@
        return
    }
    if (status.value !== 0) {
        router.push('/gooleVerify');
        // router.push('/gooleVerify');
        router.push('/finish');
    } else {
        _applyIdentify({
            name: name.value,
@@ -216,7 +210,8 @@
            countryName: countryCode.value // countryName 存储的 code, 回来再遍历
        }).then(() => {
            showToast(t('submitSuccess'))
            router.push('/gooleVerify');
            // router.push('/gooleVerify');
            router.push('/finish');
            //this.fetchInfo()
        }).catch(err => {
            console.log(err)
src/views/register/step.vue
@@ -6,13 +6,13 @@
            <div class="step" :class="step == 2 || step == 3 || step == 4 ?'green':''">2</div>
            <div class="line" :class="step == 3 || step == 4 ?'green':''"></div>
            <div class="step" :class="step == 3 || step == 4 ?'green':''">3</div>
            <div class="line" :class="step == 4 ?'green':''"></div>
            <div class="step" :class="step == 4 ?'green':''">4</div>
            <!-- <div class="line" :class="step == 4 ?'green':''"></div>
            <div class="step" :class="step == 4 ?'green':''">4</div> -->
        </div>
        <div class="stepsText textColor">
            <div>{{ $t('accountRegister') }}</div>
            <div>{{ $t('realNameVertify') }}</div>
            <div>{{ $t('safeBind') }}</div>
            <!-- <div>{{ $t('safeBind') }}</div> -->
            <div>{{ $t('toExchange') }}</div>
        </div>
    </div>