From f650efc7a1e091884f773a33a741cb6a7ad507f5 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 9 May 2026 04:15:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E6=8E=88=E6=9D=83=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E8=A1=A8=E6=A0=BC=E4=B8=AD=E6=98=BE=E7=A4=BA=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E7=9A=84=E5=8D=A1=E5=AF=86=E7=B1=BB=E5=9E=8B=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 每个卡密类型单独显示一行 - 显示授权状态图标(Check/X) - 使用 rowspan 合并应用名称、余额、状态和操作列 - 改进暗色模式样式 --- frontend/src/pages/admin/agents/[id].vue | 82 +++++++++++++++--------- 1 file changed, 51 insertions(+), 31 deletions(-) diff --git a/frontend/src/pages/admin/agents/[id].vue b/frontend/src/pages/admin/agents/[id].vue index 01f6ce0..33f9251 100644 --- a/frontend/src/pages/admin/agents/[id].vue +++ b/frontend/src/pages/admin/agents/[id].vue @@ -415,44 +415,64 @@ onMounted(() => { 应用 - 卡密权限 + 卡密类型 余额 状态 操作 - - {{ app.app_name }} - -
- + + + {{ app.app_name }} + + +
+ + + + {{ app.card_types[0].name || `卡类#${app.card_types[0].card_type_id}` }} + +
+ - + + + ¥{{ (app.balance || 0).toFixed(2) }} + + +
- - - - ¥{{ (app.balance || 0).toFixed(2) }} - - - - - - - - - + {{ app.status === 'active' ? '已启用' : '已禁用' }} + + + + + + + + + + +
+ + + + {{ ct.name || `卡类#${ct.card_type_id}` }} + +
+ + +