feat(admin): 添加网络代理配置和钱包交易功能

- 在管理面板中集成网络代理配置显示和平台代理设置
- 添加钱包摘要和交易列表API接口及数据管理
- 实现SSE流式响应中的错误处理机制
- 添加全局HTTP代理环境变量配置支持
- 更新平台表单以支持代理模式选择和自定义代理地址
- 集成钱包交易查询过滤和分页功能
- 优化API错误详情解析和显示格式
This commit is contained in:
2026-05-11 23:02:10 +08:00
parent c992f1de60
commit f550c0acd5
30 changed files with 1455 additions and 76 deletions
+108
View File
@@ -423,11 +423,105 @@ strong {
line-height: 1.45;
overflow-wrap: anywhere;
}
.taskRecordJsonButton {
width: 100%;
justify-content: flex-start;
}
.walletMetricGrid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.walletTransactionViewport {
--sh-table-viewport-gap: 10px;
--sh-table-viewport-height: calc(100dvh - 90px);
margin-bottom: -52px;
}
.walletTransactionFilters {
grid-template-columns: minmax(260px, 1.2fr) minmax(360px, 1.1fr) auto;
gap: 10px;
}
.walletTransactionTable .shTableRow {
grid-template-columns: minmax(150px, 0.65fr) minmax(220px, 1fr) minmax(180px, 0.82fr) minmax(136px, 0.62fr) minmax(148px, 0.68fr) minmax(154px, 0.7fr) minmax(116px, 0.52fr) minmax(140px, 0.62fr) minmax(250px, 1.14fr);
min-width: 1494px;
align-items: start;
}
.walletTransactionPrimaryCell,
.walletTransactionRef {
display: grid;
min-width: 0;
gap: 3px;
line-height: 1.3;
}
.walletTransactionPrimaryCell strong,
.walletTransactionPrimaryCell small,
.walletTransactionRef small {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.walletTransactionPrimaryCell strong {
color: var(--text-strong);
font-weight: var(--font-weight-semibold);
}
.walletTransactionPrimaryCell small,
.walletTransactionRef small {
color: var(--text-soft);
font-size: var(--font-size-xs);
}
.walletTransactionModelCell,
.walletTransactionPlatformCell,
.walletTransactionTokenCell {
overflow: visible;
white-space: normal;
}
.walletTransactionModelCell .walletTransactionPrimaryCell strong,
.walletTransactionModelCell .walletTransactionPrimaryCell small,
.walletTransactionPlatformCell .walletTransactionPrimaryCell strong,
.walletTransactionPlatformCell .walletTransactionPrimaryCell small {
overflow: visible;
text-overflow: clip;
white-space: normal;
word-break: break-word;
}
.walletTransactionAmount {
color: #166534;
font-weight: var(--font-weight-semibold);
}
.walletTransactionAmount[data-direction="debit"] {
color: #b42318;
}
.walletBalanceChange {
display: grid;
gap: 2px;
color: var(--text-soft);
line-height: 1.3;
}
.walletTransactionRef code {
display: block;
overflow: hidden;
color: var(--text-normal);
font-family: var(--font-mono);
font-size: var(--font-size-xs);
text-overflow: ellipsis;
white-space: nowrap;
}
.taskJsonDialog {
width: min(920px, 100%);
}
@@ -741,6 +835,14 @@ strong {
grid-template-columns: 1fr;
}
.walletTransactionFilters {
grid-template-columns: 1fr;
}
.walletMetricGrid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shTableFooter {
align-items: flex-start;
flex-direction: column;
@@ -750,3 +852,9 @@ strong {
flex-wrap: wrap;
}
}
@media (max-width: 560px) {
.walletMetricGrid {
grid-template-columns: 1fr;
}
}