feat: add next season pass publish option
This commit is contained in:
@@ -121,6 +121,7 @@ function selectRadio<T extends string>(value: T, setter: (value: T) => void) {
|
||||
|
||||
const canChangeGameNameOptions = ['是', '否']
|
||||
const allHeroOptions = ['是', '否']
|
||||
const nextSeasonPassOptions = ['购买', '不购买']
|
||||
const earlyMorningResponseOptions = ['是', '否']
|
||||
|
||||
// 在线时间:通栏自定义块 + 底部时间选择,避免 van-field 窄列截断原生 time
|
||||
@@ -440,6 +441,23 @@ const screenshotGuides: Record<string, string> = {
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
<van-field label="下赛季是否购买通行证" required class="publish-field">
|
||||
<template #input>
|
||||
<div class="radio-group">
|
||||
<button
|
||||
v-for="opt in nextSeasonPassOptions"
|
||||
:key="opt"
|
||||
type="button"
|
||||
class="radio-btn"
|
||||
:class="{ active: form.next_season_pass === opt }"
|
||||
@click="selectRadio(opt, value => (form.next_season_pass = value))"
|
||||
>
|
||||
{{ opt }}
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
<div class="online-time-block">
|
||||
<div class="online-time-head">
|
||||
<div class="online-time-title">
|
||||
|
||||
Reference in New Issue
Block a user