Merge client_id+token into credential popup, add refund button to actions

- Merge client_id and token columns into single "credential" button
- Click to view in modal with copy buttons for each
- Add refund toggle button in actions row with confirm dialog
- Remove separate refund_received column, cleaner layout

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-06 01:52:41 +08:00
parent d8d651240a
commit 1638d2c057
3 changed files with 119 additions and 35 deletions

View File

@@ -437,19 +437,17 @@ body {
font-weight: 600;
}
.data-table th:nth-child(2) { width: 14%; min-width: 150px; } /* 邮箱 */
.data-table th:nth-child(2) { width: 16%; min-width: 160px; } /* 邮箱 */
.data-table th:nth-child(3) { width: 6%; min-width: 70px; } /* 密码 */
.data-table th:nth-child(4) { width: 8%; min-width: 90px; } /* 客户ID */
.data-table th:nth-child(5) { width: 10%; min-width: 110px; } /* 令牌 */
.data-table th:nth-child(6) { width: 65px; } /* 支付状态 */
.data-table th:nth-child(7) { width: 65px; } /* 退款状态 */
.data-table th:nth-child(8) { width: 65px; } /* 退款到账 */
.data-table th:nth-child(9) { width: 85px; } /* 支付时间 */
.data-table th:nth-child(10) { width: 85px; } /* 退款时间 */
.data-table th:nth-child(11) { width: 85px; } /* 封号时间 */
.data-table th:nth-child(12) { width: 120px; } /* 备注/卡号 */
.data-table th:nth-child(13) { width: 150px; } /* 代理 */
.data-table th:nth-child(14) { width: 190px; } /* 操作 */
.data-table th:nth-child(4) { width: 55px; } /* 凭证 */
.data-table th:nth-child(5) { width: 65px; } /* 支付状态 */
.data-table th:nth-child(6) { width: 65px; } /* 退款状态 */
.data-table th:nth-child(7) { width: 85px; } /* 支付时间 */
.data-table th:nth-child(8) { width: 85px; } /* 退款时间 */
.data-table th:nth-child(9) { width: 85px; } /* 封号时间 */
.data-table th:nth-child(10) { width: 120px; } /* 备注/卡号 */
.data-table th:nth-child(11) { width: 150px; } /* 代理 */
.data-table th:nth-child(12) { width: 220px; } /* 操作 */
/* 单元格内容 */
.value-container {
@@ -1318,6 +1316,23 @@ body {
}
.note-card i { font-size: 10px; }
.cred-value-box {
padding: 10px 14px;
background: rgba(248, 250, 252, 0.8);
border: 1px solid #e5e7eb;
border-radius: 8px;
font-size: 12px;
font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
color: #334155;
word-break: break-all;
line-height: 1.5;
user-select: all;
}
.credential-btn {
font-size: 11px !important;
}
.note-fields {
display: flex;
flex-direction: column;