feat: 完善商品筛选、发布配置与优质号主流程

This commit is contained in:
yml2213
2026-11-05 19:00:37 +08:00
parent 88beae4c96
commit f01329e049
19 changed files with 1256 additions and 180 deletions
@@ -139,6 +139,16 @@ function showDepositGuide() {
})
}
function showPremiumZoneGuide() {
if (!priceConfig.value.premium_zone_tooltip) return
void showDialog({
title: '极品专区说明',
message: priceConfig.value.premium_zone_tooltip,
messageAlign: 'left',
confirmButtonText: '我知道了',
})
}
function selectRadio<T extends string>(value: T, setter: (value: T) => void) {
setter(value)
}
@@ -887,6 +897,15 @@ const screenshotGuides: Record<string, string> = {
<div class="premium-zone-copy">
<div class="premium-zone-title">
<strong>极品专区</strong>
<button
v-if="priceConfig.premium_zone_tooltip"
type="button"
class="deposit-guide-trigger"
aria-label="查看极品专区说明"
@click.prevent.stop="showPremiumZoneGuide"
>
<van-icon name="info-o" />
</button>
<em v-if="isQualityOwner">优质号主已认证</em>
<em v-else class="is-locked">优质号主专享</em>
</div>
@@ -711,6 +711,26 @@ function selectDailyLoss(value: string | number) {
<div class="premium-zone-copy">
<div class="premium-zone-title">
<strong>极品专区</strong>
<el-popover
v-if="priceConfig.premium_zone_tooltip"
placement="top-start"
:width="560"
trigger="hover"
popper-class="deposit-guide-popper"
>
<template #reference>
<button
type="button"
class="deposit-guide-trigger"
aria-label="查看极品专区说明"
>
<el-icon><InfoFilled /></el-icon>
</button>
</template>
<div class="deposit-guide-content">
{{ priceConfig.premium_zone_tooltip }}
</div>
</el-popover>
<em v-if="isQualityOwner">优质号主已认证</em>
<em v-else class="is-locked">优质号主专享</em>
</div>