优化发布等各种状态

This commit is contained in:
yml2213
2026-05-23 15:52:44 +08:00
parent f2492d5e40
commit b101415e9d
25 changed files with 368 additions and 70 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import { onMounted, reactive, ref } from 'vue'
import { getRealnameStatus, startRealname, type RealnameStatus } from '@/api/realname'
import { useSessionStore } from '@/stores/session'
import { realnameStatusLabel } from '@/utils/statusLabels'
import { formatDateTime } from '@/utils/time'
const session = useSessionStore()
@@ -59,7 +60,7 @@ function readError(error: unknown, fallback: string) {
<div v-if="status" class="status-panel">
<span>当前状态</span>
<strong>{{ status.status }}</strong>
<strong>{{ realnameStatusLabel(status.status) }}</strong>
<p v-if="status.masked_name">姓名:{{ status.masked_name }}</p>
<p v-if="status.masked_id_no">证件号:{{ status.masked_id_no }}</p>
<p v-if="status.verified_at">通过时间:{{ formatDateTime(status.verified_at) }}</p>