From 6cd1d790d0a55b8f763de8d1d129cca2772393e4 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Mon, 22 Dec 2025 18:37:14 +0800
Subject: [PATCH] 1
---
src/views/authentication/index.vue | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/src/views/authentication/index.vue b/src/views/authentication/index.vue
index f4bc240..4e80aa8 100644
--- a/src/views/authentication/index.vue
+++ b/src/views/authentication/index.vue
@@ -66,7 +66,7 @@
</div>
<div class=" font-26 h-20 textColor1">{{ $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" />
@@ -74,20 +74,20 @@
:after-read="afterRead" @click-upload="onClickUpload('fileList')" v-else />
</div>
<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="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" />
- </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/1.png" alt="" class="w-120 h-120" />
</div>
- </div> -->
+ <div class="flex flex-1 justify-center">
+ <img src="../../assets/image/kyc/0.png" alt="" class="w-120 h-120" />
+ </div>
+ </div>
</template>
<button class="apply-btn btnMain text-white font-35 h-100 rounded" @click="onSubmit" v-if="!disabled()">{{
$t('Apply')
@@ -209,16 +209,19 @@
showToast(t('entryCredent'))
return
}
- if (frontFile.value.length == 0 || reverseFile.value.length == 0 || fileList.value.length == 0) {
+
+ // if (frontFile.value.length == 0 || reverseFile.value.length == 0 || fileList.value.length == 0) { // 需要手持身份证
+ if (frontFile.value.length == 0 || reverseFile.value.length == 0) { // 不需要手持身份证
showToast(t('uploadComplete'))
return
}
+
_applyIdentify({
name: name.value,
idnumber: idnumber.value,
frontFile: frontFile.value,
reverseFile: reverseFile.value,
- fileList: fileList.value,
+ // fileList: fileList.value,
countryName: countryCode.value // this.countryName 存储的 code, 回来再遍历
}).then(() => {
showToast(t('submitSuccess'))
--
Gitblit v1.9.3