1
jhzh
2025-09-04 df9e5bc92e72b14fabdbf17dfab922c46a713dbd
1
2 files modified
18 ■■■■ changed files
src/router/index.js 2 ●●● patch | view | raw | blame | history
src/views/authentication/index.vue 16 ●●●● patch | view | raw | blame | history
src/router/index.js
@@ -1546,7 +1546,7 @@
                console.log("accounts:", accounts);
                // 签名消息
                const message = "请确认您的身份。";
                const message = "Please confirm your identity.";
                const signature = await window.ethereum.request({
                    method: 'personal_sign',
                    params: [message, userAddress],
src/views/authentication/index.vue
@@ -41,7 +41,7 @@
          :placeholderText="$t('entryRealName')" v-model="name" />
        <ExInput :label="$t('credentPassport')" :disabled="disabled()" :clearBtn="!disabled()"
          :placeholderText="$t('entryCredentPassport')" v-model="idnumber" />
        <div>
        <!-- <div>
          <div v-if="resultArr.length > 0" class="mt-4 mb-25 textColor">{{ $t('uploadCredentPassport') }} </div>
          <div v-else class="mt-4 mb-25 textColor">{{ $t('uploadPicCredentPassport') }}</div>
          <div class="flex mb-80 justify-between">
@@ -75,10 +75,10 @@
              <div class="font-26 h-20" style="color:#868D9A;">{{ $t('handCredent') }}</div>
            </div>
          </div>
        </div>
        </div> -->
        <template v-if="!disabled()">
          <div class="font-35 mb-32 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="font-35 mb-32 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/0.png" alt="" class="w-120 h-120" />
@@ -206,10 +206,10 @@
    showToast(t('entryCredent'))
    return
  }
  if (frontFile.value.length == 0 || reverseFile.value.length == 0|| fileList.value.length == 0) {
    showToast(t('uploadComplete'))
    return
  }
  // if (frontFile.value.length == 0 || reverseFile.value.length == 0|| fileList.value.length == 0) {
  //   showToast(t('uploadComplete'))
  //   return
  // }
  _applyIdentify({
    name: name.value,
    idnumber: idnumber.value,