From 02a3d94d359b34e915f34abec024cbc1504a6a7c Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 18 Apr 2025 11:00:14 +0800
Subject: [PATCH] feat

---
 src/views/login/step2/idSet.vue |   96 +++++++++++++++++++++++++++++++++++-------------
 1 files changed, 70 insertions(+), 26 deletions(-)

diff --git a/src/views/login/step2/idSet.vue b/src/views/login/step2/idSet.vue
index 98582c1..44adad9 100644
--- a/src/views/login/step2/idSet.vue
+++ b/src/views/login/step2/idSet.vue
@@ -20,22 +20,34 @@
                         <!-- 国籍选择 -->
                         <div class="label">{{ $t("message.user.guoji") }}</div>
 
-                        <vue3-country-intl v-model="nationality" :disabled="identifyStatus == 1" :showAreaCode="false"
-                          type="country" :useChinese="isUseChinese" :placeholder="$t('message.user.qingxuanzeguoji')"
-                          :noDataText="$t('message.user.nationNodata')" />
+                        <vue3-country-intl
+                          v-model="nationality"
+                          :disabled="identifyStatus == 1"
+                          :showAreaCode="false"
+                          type="country"
+                          :useChinese="isUseChinese"
+                          :placeholder="$t('message.user.qingxuanzeguoji')"
+                          :noDataText="$t('message.user.nationNodata')"
+                        />
 
                         <!-- 姓名 -->
                         <div class="label label_top">
                           {{ $t("message.user.xingming") }}
                         </div>
-                        <el-input :disabled="identifyStatus == 1" v-model="name"
-                          :placeholder="$t('message.user.qsr_xingming')"></el-input>
+                        <el-input
+                          :disabled="identifyStatus == 1"
+                          v-model="name"
+                          :placeholder="$t('message.user.qsr_xingming')"
+                        ></el-input>
                         <!-- 身份证号码 -->
                         <div class="label label_top">
                           {{ $t("message.user.zhengjianhao") }}
                         </div>
-                        <el-input v-model="idNumber" :disabled="identifyStatus == 1"
-                          :placeholder="$t('message.user.qsr_zengjianhaoma')"></el-input>
+                        <el-input
+                          v-model="idNumber"
+                          :disabled="identifyStatus == 1"
+                          :placeholder="$t('message.user.qsr_zengjianhaoma')"
+                        ></el-input>
                         <!-- 图片上传 -->
                         <div class="label label_top">
                           {{
@@ -44,10 +56,16 @@
                         </div>
                         <div class="image_upload">
                           <div class="text-center">
-                            <el-upload class="avatar-uploader" :action="`${nowUrl}/api/api/uploadFile`"
-                              :headers="uploadHeader" accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
-                              :show-file-list="false" :on-success="handelDoucumentsFront" :on-error="onErrorUpload"
-                              :before-upload="beforeAvatarUpload">
+                            <el-upload
+                              class="avatar-uploader"
+                              :action="`${nowUrl}/wap/public/uploadimg!execute.action`"
+                              :headers="uploadHeader"
+                              accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
+                              :show-file-list="false"
+                              :on-success="handelDoucumentsFront"
+                              :on-error="onErrorUpload"
+                              :before-upload="beforeAvatarUpload"
+                            >
                               <img v-if="oneImg" :src="oneImg" class="avatar" />
                               <el-icon v-else class="avatar-uploader-icon">
                                 <Plus />
@@ -56,10 +74,16 @@
                             <p>{{ $t("message.user.zhengjianzhengmian") }}</p>
                           </div>
                           <div class="text-center" style="margin: 0 10px">
-                            <el-upload class="avatar-uploader" :action="`${nowUrl}/api/api/uploadFile`"
-                              :headers="uploadHeader" accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
-                              :show-file-list="false" :on-success="handelDoucumentsBack" :on-error="onErrorUpload"
-                              :before-upload="beforeAvatarUpload">
+                            <el-upload
+                              class="avatar-uploader"
+                              :action="`${nowUrl}/wap/public/uploadimg!execute.action`"
+                              :headers="uploadHeader"
+                              accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
+                              :show-file-list="false"
+                              :on-success="handelDoucumentsBack"
+                              :on-error="onErrorUpload"
+                              :before-upload="beforeAvatarUpload"
+                            >
                               <img v-if="twoImg" :src="twoImg" class="avatar" />
                               <el-icon v-else class="avatar-uploader-icon">
                                 <Plus />
@@ -68,11 +92,21 @@
                             <p>{{ $t("message.user.zhengjianfanmian") }}</p>
                           </div>
                           <div class="text-center">
-                            <el-upload class="avatar-uploader" :action="`${nowUrl}/api/api/uploadFile`"
-                              :headers="uploadHeader" accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
-                              :show-file-list="false" :on-success="holdIdCardSuccess" :on-error="onErrorUpload"
-                              :before-upload="beforeAvatarUpload">
-                              <img v-if="threeImg" :src="threeImg" class="avatar" />
+                            <el-upload
+                              class="avatar-uploader"
+                              :action="`${nowUrl}/wap/public/uploadimg!execute.action`"
+                              :headers="uploadHeader"
+                              accept=".jpg,.jpeg,.png,.gif.JPG,.JPEG,.PNG,.GIF"
+                              :show-file-list="false"
+                              :on-success="holdIdCardSuccess"
+                              :on-error="onErrorUpload"
+                              :before-upload="beforeAvatarUpload"
+                            >
+                              <img
+                                v-if="threeImg"
+                                :src="threeImg"
+                                class="avatar"
+                              />
                               <el-icon v-else class="avatar-uploader-icon">
                                 <Plus />
                               </el-icon>
@@ -84,18 +118,28 @@
                         <div class="label label_top">
                           {{ $t("paisheshili") }}
                         </div>
-                        <img style="width: 100%" src="@/assets/images/login/shili.png" />
+                        <img
+                          style="width: 100%"
+                          src="@/assets/images/login/shili.png"
+                        />
                       </div>
                       <!-- 绑定和跳过 -->
-                      <button data-bn-type="button" @click="applyBtn" class="css-1bsmpdm">
+                      <button
+                        data-bn-type="button"
+                        @click="applyBtn"
+                        class="css-1bsmpdm"
+                      >
                         {{ $t("message.user.bangding") }}
                       </button>
-                      <div @click="jumpOver" style="
+                      <div
+                        @click="jumpOver"
+                        style="
                           text-align: center;
                           padding: 20px 0;
                           color: #868d9a;
                           cursor: pointer;
-                        ">
+                        "
+                      >
                         {{ $t("tiaoguo") }}
                       </div>
                     </div>
@@ -141,7 +185,7 @@
     };
   },
   mounted() {
-    this.nowUrl = "https://enjdhdg.site";
+    this.nowUrl = "https://btc.btcwapo.com";
     let interimToken = localStorage.getItem("spToken");
     if (interimToken) {
       this.getIdentify();
@@ -258,7 +302,7 @@
 @import url("@/assets/css/login/register.css");
 @import url("@/assets/css/my/security.css");
 
-.el-input--suffix>>>.el-input__inner {
+.el-input--suffix >>> .el-input__inner {
   padding-right: 30px;
   outline: none;
   border: none;

--
Gitblit v1.9.3