| | |
| | | :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"> |
| | |
| | | <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" /> |
| | |
| | | <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> |
| | |
| | | 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')) |