feat(admin): 更新登录表单样式,添加图标并优化用户体验;增强代理线路详情面板,支持直接玩家计数功能
Some checks failed
lotteryadmin CI / build (push) Has been cancelled

This commit is contained in:
2026-06-29 15:27:14 +08:00
parent 1c431ff0ea
commit d7761218ea
6 changed files with 186 additions and 132 deletions

View File

@@ -34,6 +34,8 @@ export type AgentLineDetailPanelProps = {
profileError?: string | null;
childAgents: AgentNodeRow[];
childCountById: Map<number, number>;
directPlayerCount?: number;
onDirectPlayerCountChange?: (count: number) => void;
siteCode: string;
parentName: string | null;
detailTab: AgentDetailTab;
@@ -64,6 +66,8 @@ export function AgentLineDetailPanel({
profileError = null,
childAgents,
childCountById,
directPlayerCount,
onDirectPlayerCountChange,
siteCode,
parentName,
detailTab,
@@ -116,6 +120,7 @@ export function AgentLineDetailPanel({
{
key: "players",
label: t("lineUi.tabPlayers", { defaultValue: "直属玩家" }),
count: directPlayerCount,
visible: canViewPlayersTab,
},
];
@@ -224,6 +229,7 @@ export function AgentLineDetailPanel({
agentNodeId={node.id}
allowCreatePlayer={canCreatePlayerAction}
embedded
onTotalChange={onDirectPlayerCountChange}
/>
) : null}
</div>