修复已知问题

This commit is contained in:
bobobobo
2026-01-22 01:23:57 +08:00
parent 2b26bfed69
commit 5f2fab9335
18 changed files with 414 additions and 61 deletions

View File

@@ -136,20 +136,6 @@
<template>
<view v-if="!loading" class="real-id">
<view v-if="[0, 2].includes(stateData)">
<!-- 主播申请输入 -->
<view
v-if="props?.isLiveStream && [9, 2].includes(stateLiveAnchor)"
>
<text v-if="stateLiveAnchor === 9" class="top-text">
*添加手机号审核
</text>
<text v-else class="top-text">*信息填写有误</text>
<CardInput
v-model="formData.phone"
title="联系电话"
placeholder="请输入联系电话"
></CardInput>
</view>
<view
v-if="
(props?.isLiveStream && [0, 2].includes(stateData)) ??
@@ -196,6 +182,49 @@
:disabled="stateData === 3"
></CardInput>
</view>
<!-- 从未实名认证过 -->
<view v-if="!props.isLiveStream">
<!-- 实名认证输入 -->
<!-- 说明 -->
<text v-if="stateData === 2" class="top-text">
*审核未通过请重新上传
</text>
<text v-else-if="stateData === 0" class="top-text">
*为保证您的账户安全,请先完成实名认证
</text>
<text v-else class="top-text">*您已完成实名认证</text>
<CardInput :is-input="false" title="证件">
<view class="qrcode-box">
<cb-file-picker
v-model="formData.front"
v-model:list="formData.frontList"
:readonly="stateData === 3"
isFront
></cb-file-picker>
<cb-file-picker
v-model="formData.back"
v-model:list="formData.backList"
:readonly="stateData === 3"
isBack
></cb-file-picker>
</view>
</CardInput>
<CardInput
v-model="formData.realName"
title="姓名"
placeholder="请输入姓名"
:disabled="stateData === 3"
></CardInput>
<CardInput
v-model="formData.idCard"
title="身份证号"
placeholder="请输入身份证号"
:disabled="stateData === 3"
></CardInput>
</view>
<!-- 底部按钮 v-if="props?.isLiveStream && stateData === 3" -->
<bottom-view
v-if="
@@ -212,7 +241,29 @@
</cb-button>
</bottom-view>
</view>
<view v-else>
<!-- 主播申请输入 -->
<view
v-if="
props?.isLiveStream &&
stateData == 3 &&
[2, 9].includes(stateLiveAnchor)
"
>
<text v-if="stateLiveAnchor === 9" class="top-text">
*添加手机号审核
</text>
<text v-else class="top-text">*信息填写有误</text>
<CardInput
v-model="formData.phone"
title="联系电话"
placeholder="请输入联系电话"
></CardInput>
<bottom-view v-if="[9, 2].includes(stateLiveAnchor)">
<cb-button @click="onAddStreamer">确认</cb-button>
</bottom-view>
</view>
<view v-if="stateData == 3 && !props?.isLiveStream">
<text class="top-text">*您已完成实名认证</text>
<CardInput :is-input="false" title="证件">
<view class="qrcode-box">