refactor: 合并多语言支持的显示名称字段,优化奖池手动爆发功能的返回数据结构,增强管理端权限控制

This commit is contained in:
2026-05-25 14:31:24 +08:00
parent 7d01e5c47e
commit ddedef824e
101 changed files with 3033 additions and 641 deletions

View File

@@ -155,8 +155,8 @@ export function JackpotRecordsConsole({ embedded = false }: JackpotRecordsConsol
};
const filterBlock = embedded ? (
<div className="mb-4 flex flex-col gap-3 sm:flex-row sm:items-end">
<div className="flex max-w-xs flex-1 flex-col gap-1.5">
<div className="admin-list-toolbar mb-0 border-t-0 pt-0">
<div className="admin-list-field max-w-xs flex-1">
<Label htmlFor="jk-draw">{t("drawNo")}</Label>
<Input
id="jk-draw"
@@ -166,9 +166,11 @@ export function JackpotRecordsConsole({ embedded = false }: JackpotRecordsConsol
placeholder={t("optional")}
/>
</div>
<Button type="button" onClick={applyDraw}>
{t("apply")}
</Button>
<div className="admin-list-actions">
<Button type="button" onClick={applyDraw}>
{t("apply")}
</Button>
</div>
</div>
) : (
<Card className="mb-6">