增加账号凌晨响应标记

This commit is contained in:
yml2213
2026-08-18 20:39:13 +08:00
parent 1f204f17ad
commit c4507caf37
13 changed files with 79 additions and 70 deletions
@@ -121,6 +121,7 @@ function selectRadio<T extends string>(value: T, setter: (value: T) => void) {
const canChangeGameNameOptions = ['是', '否']
const allHeroOptions = ['是', '否']
const earlyMorningResponseOptions = ['是', '否']
// 在线时间:通栏自定义块 + 底部时间选择,避免 van-field 窄列截断原生 time
const onlineTimePickerVisible = ref(false)
@@ -481,6 +482,27 @@ const screenshotGuides: Record<string, string> = {
请填写能百分百联系上您的时间。该时段联系不上可能影响上架或扣款,请预留扫码与冻结人脸时间。
</p>
<van-field
label="凌晨0-2点可响应上号"
required
class="publish-field early-morning-response-field"
>
<template #input>
<div class="radio-group">
<button
v-for="opt in earlyMorningResponseOptions"
:key="opt"
type="button"
class="radio-btn"
:class="{ active: form.early_morning_response === opt }"
@click="selectRadio(opt, value => (form.early_morning_response = value))"
>
{{ opt }}
</button>
</div>
</template>
</van-field>
<van-popup v-model:show="onlineTimePickerVisible" position="bottom" round teleport="body">
<van-time-picker
v-model="onlineTimePickerValue"