2
李凌
2025-10-22 b1a373f220bcafea8f41fa735b42d4eeafb2ee4e
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)