1
admin
2026-01-27 c2c5b94b7a80c838009ebc914537ba3862040303
src/page/newUser/smrz.vue
@@ -17,6 +17,16 @@
        </h2>
      </div>
    </div>
    <!-- 驳回提示 -->
    <div class="reject-notice" v-if="isRejected">
      <div class="reject-content">
        <p class="reject-title">{{ $t('hj200') }}</p>
        <div class="reject-reason">
          <span class="reason-label">{{ $t('hj201') }}:</span>
          <span class="reason-text">{{ rejectReason || $t('jy519') }}</span>
        </div>
      </div>
    </div>
    <ul class="verul">
      <li class="verli">
        <input v-if="showBtn" :placeholder="$t('jy519')" v-model="form.name" />
@@ -144,6 +154,14 @@
      messFlag: this.$store.state.userInfo.isActive == 3 ? true : false
    };
  },
  computed: {
    isRejected() {
      return this.$store.state.userInfo && this.$store.state.userInfo.isActive === 3;
    },
    rejectReason() {
      return this.$store.state.userInfo && this.$store.state.userInfo.authMsg || '';
    }
  },
  mounted() {
    this.getUserInfo();
    //     if (this.$state.theme == "red") {
@@ -158,7 +176,7 @@
    //   upload_file[i].style.opacity = 0;
    // }
    // if (this.admin == undefined) {
    //   this.admin = "https://api.qitiana.cfd";
    //   this.admin = "https://api.bafang.icu";
    // }
  },
  methods: {
@@ -224,6 +242,13 @@
          this.form.img2key = this.$store.state.userInfo.img2Key;
          //   this.form.img3key = this.$store.state.userInfo.img3Key
          this.showBtn = false;
        } else if (this.$store.state.userInfo.isActive === 3) {
          // 被驳回时,允许重新提交,并填充已有数据
          this.form.idCard = this.$store.state.userInfo.idCard || '';
          this.form.name = this.$store.state.userInfo.realName || '';
          this.form.img1key = this.$store.state.userInfo.img1Key || '';
          this.form.img2key = this.$store.state.userInfo.img2Key || '';
          this.showBtn = true;
        }
      } else {
        //this.$store.commit('dialogVisible',true);
@@ -465,4 +490,38 @@
.butou {
  opacity: 0;
}
.reject-notice {
  width: 9.345rem;
  margin: 0 auto;
  margin-top: -1.5rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 0.1335rem;
  padding: 0.4rem;
  margin-bottom: 2rem;
  .reject-content {
    .reject-title {
      font-size: 0.3738rem;
      color: #856404;
      font-weight: 500;
      margin-bottom: 0.2667rem;
    }
    .reject-reason {
      font-size: 0.3204rem;
      color: #856404;
      line-height: 1.5;
      .reason-label {
        font-weight: 500;
      }
      .reason-text {
        word-break: break-all;
      }
    }
  }
}
</style>