wupengfei
2 天以前 8d973d050ba66a497ca763f9670aab457a74e2b1
apps/cMiniApp/src/subpackages/authentication/authenticationResult/InnerPage.vue
@@ -1,15 +1,9 @@
<template>
  <LoadingLayout :loading="isLoading">
    <div
      class="result-wrapper"
      v-if="myCertificationAuditInfo?.frontStatus === UserCertificationFrontStatus.NotCertified"
    >
    <!-- <div class="result-wrapper" v-if="!myCertificationAuditInfo?.isReal">
      <div class="result-title">未认证</div>
    </div>
    <div
      class="result-wrapper"
      v-else-if="myCertificationAuditInfo?.frontStatus === UserCertificationFrontStatus.Certified"
    >
    </div> -->
    <div class="result-wrapper" v-if="myCertificationAuditInfo?.isReal">
      <img class="result-icon" :src="IconSuccess" />
      <div class="result-title">认证成功</div>
      <div class="result-subtitle">您的实名已认证成功</div>
@@ -17,14 +11,13 @@
        >返回个人中心</PageFooterBtn
      >
    </div>
    <div
      class="result-wrapper"
      v-else-if="myCertificationAuditInfo?.frontStatus === UserCertificationFrontStatus.Rejected"
    >
    <div class="result-wrapper" v-else>
      <img class="result-icon" :src="IconError" />
      <div class="result-title">认证失败</div>
      <div class="result-subtitle">您的实名认证失败</div>
      <div class="result-subtitle">失败原因:{{ myCertificationAuditInfo?.auditNote ?? '' }}</div>
      <div class="result-subtitle">
        失败原因:{{ myCertificationAuditInfo?.realFailMessage ?? '' }}
      </div>
      <PageFooterBtn type="primary" class="result-btn" @click="goBack()"
        >重新提交认证</PageFooterBtn
      >
@@ -34,11 +27,9 @@
<script setup lang="ts">
import { useMyCertificationAuditInfo, useSwitchTab } from '@/hooks';
import Taro from '@tarojs/taro';
import { goBack } from '@/utils';
import IconSuccess from '@/assets/authentication/icon-result-success.png';
import IconError from '@/assets/authentication/icon-result-error.png';
import { UserCertificationFrontStatus } from '@12333/constants';
defineOptions({
  name: 'InnerPage',