1
李凌
2026-01-20 9a9d832dbd364557e070abcd9a7779a2c6c07ffb
1
3 files modified
46 ■■■■ changed files
src/service/user.api.js 6 ●●●● patch | view | raw | blame | history
src/views/authentication/index.vue 26 ●●●● patch | view | raw | blame | history
src/views/homePage/index.vue 14 ●●●● patch | view | raw | blame | history
src/service/user.api.js
@@ -214,9 +214,9 @@
            idName: data.idname || 'id/passpost', // 证件名称
            idNumber: data.idnumber, // 证件号码
            name: data.name, // 姓名
            idFrontImg: data.frontFile.length && data.frontFile[0].resURL || '',
            idBackImg: data.reverseFile.length && data.reverseFile[0].resURL || '',
            handheldPhoto: data.fileList.length && data.fileList[0].resURL || ''
            // idFrontImg: data.frontFile.length && data.frontFile[0].resURL || '',
            // idBackImg: data.reverseFile.length && data.reverseFile[0].resURL || '',
            // handheldPhoto: data.fileList.length && data.fileList[0].resURL || ''
        }
    })
}
src/views/authentication/index.vue
@@ -41,7 +41,8 @@
          :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 +76,10 @@
              <div class="font-26 h-20" style="color:#868D9A;">{{ $t('handCredent') }}</div>
            </div>
          </div>
        </div>
        <template v-if="!disabled()">
        </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">
          <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" />
@@ -87,7 +88,8 @@
              <img src="../../assets/image/kyc/1.png" alt="" class="w-120 h-120" />
            </div>
          </div> -->
        </template>
        <!-- </template> -->
        <button class="apply-btn btnMain text-white font-35 h-100 rounded" @click="onSubmit" v-if="!disabled()">{{
          $t('Apply')
        }}</button>
@@ -206,16 +208,16 @@
    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,
    frontFile: frontFile.value,
    reverseFile: reverseFile.value,
    fileList: fileList.value,
    // frontFile: frontFile.value,
    // reverseFile: reverseFile.value,
    // fileList: fileList.value,
    countryName: countryCode.value // this.countryName 存储的 code, 回来再遍历
  }).then(() => {
    showToast(t('submitSuccess'))
src/views/homePage/index.vue
@@ -284,13 +284,13 @@
  //   icon2: new URL('@/assets/imgs/home/home_10b.png', import.meta.url),
  //   path: '/customerService'
  // },
  {
    key: 9,
    name: t('申购'),
    icon: new URL('@/assets/img/img.png', import.meta.url),
    icon2: new URL('@/assets/imgs/home/home_12b.png', import.meta.url),
    path: '/ICO/ico'
  },
  // {
  //   key: 9,
  //   name: t('申购'),
  //   icon: new URL('@/assets/img/img.png', import.meta.url),
  //   icon2: new URL('@/assets/imgs/home/home_12b.png', import.meta.url),
  //   path: '/ICO/ico'
  // },
  {
    key: 9,
    name: t('C2C'),