feat(listing): 发布新增「是否解锁德穆兰」必填项,首页优先替换全英雄展示
This commit is contained in:
@@ -123,6 +123,7 @@ function selectRadio<T extends string>(value: T, setter: (value: T) => void) {
|
||||
|
||||
const canChangeGameNameOptions = ['是', '否']
|
||||
const allHeroOptions = ['是', '否']
|
||||
const demulanUnlockOptions = ['是', '否']
|
||||
const nextSeasonPassOptions = ['购买', '不购买']
|
||||
const earlyMorningResponseOptions = ['是', '否']
|
||||
|
||||
@@ -443,6 +444,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 demulanUnlockOptions"
|
||||
:key="opt"
|
||||
type="button"
|
||||
class="radio-btn"
|
||||
:class="{ active: form.unlock_demulan === opt }"
|
||||
@click="selectRadio(opt, value => (form.unlock_demulan = value))"
|
||||
>
|
||||
{{ opt }}
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
</van-field>
|
||||
|
||||
<van-field
|
||||
v-if="nextSeasonPassEnabled"
|
||||
label="下赛季是否购买通行证"
|
||||
|
||||
Reference in New Issue
Block a user