feat(admin+api+player): 优胜赛结算态、禁止新增单场与钱包流水展示优化
- API/管理端:优胜赛 SETTLED 后禁止新增单场,列表与子页展示结算状态 - 玩家端:已结算 outright 只读展示并高亮冠军 - 管理端:结算后 stale 标记驱动列表刷新;财务流水时间与备注 i18n 优化 - shared:txDisplayAmount 与 LEAGUE_OUTRIGHT_SETTLED 错误码
This commit is contained in:
@@ -114,6 +114,7 @@ function toggle(id: string) {
|
||||
}
|
||||
|
||||
function openBet(event: OutrightEvent, sel: OutrightSelection) {
|
||||
if (event.bettingOpen === false || event.status === 'SETTLED') return;
|
||||
if (!auth.token) {
|
||||
goLogin();
|
||||
return;
|
||||
@@ -144,6 +145,9 @@ function closeModal() {
|
||||
<p v-if="eventCount > 1" class="panel-summary">
|
||||
{{ t('bet.outright_events_summary', { events: eventCount, teams: totalSelections }) }}
|
||||
</p>
|
||||
<p v-if="events.some((e) => e.bettingOpen === false || e.status === 'SETTLED')" class="panel-settled-hint">
|
||||
{{ t('bet.outright_settled_hint') }}
|
||||
</p>
|
||||
|
||||
<div class="event-list">
|
||||
<OutrightEventSection
|
||||
@@ -182,6 +186,18 @@ function closeModal() {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.panel-settled-hint {
|
||||
margin: 0 0 12px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
background: rgba(201, 162, 39, 0.08);
|
||||
border: 1px solid rgba(201, 162, 39, 0.22);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #c9a227;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.event-list {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user