zhujindu 1 anno fa
parent
commit
79d4c04f23
1 ha cambiato i file con 5 aggiunte e 18 eliminazioni
  1. 5 18
      src/components/imageAIVerifyErr.vue

+ 5 - 18
src/components/imageAIVerifyErr.vue

@@ -4,7 +4,7 @@
       <div class="title">图像识别结果</div>
       <div class="content">
         <div class="AIVerify">{{ contentMessage }}</div>
-        <div class="uploadImg" @click="uploadImg">
+        <div class="uploadImg" @uploadImg="uploadImg">
           <div class="label"><span class="van-f-red">*</span>重新拍照上传</div>
           <div class="icon">
             <van-icon class="photo photos" name="photograph" size="22px" color="#969696" />
@@ -64,8 +64,7 @@ export default {
       if (checkInfo) {
         if (checkInfo.qualifiedState == 0) {
           // 失败次数增加超过三次特殊处理
-          let shotsNum = this.shotsNum + 1;
-          store.dispatch('setShotsNum', shotsNum);
+          store.dispatch('setShotsNum', this.shotsNum + 1);
           // 不合格
           this.contentMessage = this.contentMessage + checkInfo.unqualifiedReason;
           if (checkInfo.cheatState == 1) {
@@ -81,7 +80,7 @@ export default {
     },
     // 仍要上传
     confirmUpload() {
-      this.$emit('confirmUpload', { data: this.this. });
+      this.$emit('confirmUpload', { data: this.imageAIVerifyData });
     },
     close() {
       this.$emit('close');
@@ -106,7 +105,7 @@ export default {
     float: right;
   }
   .title {
-    font-size: 16px;
+    font-size: 14px;
     text-align: center;
     padding: 5px;
   }
@@ -115,7 +114,7 @@ export default {
     border-bottom: 1px solid #ccc;
     .AIVerify {
       padding: 5px;
-      font-size: 14px;
+      font-size: 12px;
       color: red;
       text-align: center;
     }
@@ -123,18 +122,6 @@ export default {
       display: flex;
       align-items: center;
       justify-content: space-between;
-      .label {
-        font-size: 14px;
-      }
-    }
-  }
-  .btn {
-    display: flex;
-    align-items: center;
-    justify-content: space-between;
-    .tips {
-      font-size: 14px;
-      color: rgb(231, 221, 86);
     }
   }
 }