feat: 重构定投评估工具并优化Cloud工具体验
- 重构市场定投评估逻辑:优先读取本地估值快照,必要时通过探针补抓海外数据,后端接口新增force参数支持强制刷新,更新前后端注释与交互文案 - 优化Cloud工具全链路: - 新增运营商登录页地址字段,支持一键复制账号密码并打开对应登录页 - 缓存密钥派生结果,避免重复阻塞事件循环,提升列表加载性能 - 完善接口错误处理,新增面板级加载失败提示与自动重试功能 - 修复云资源代理转发时的Cookie缺失问题 - 并行加载所有面板数据,优化首屏渲染速度 - 新增登录按钮样式与错误提示样式 - 新增4个Cloud工具调试脚本,用于性能测试、解密审计、回归验证与加载耗时统计 - 启动定投评估工具的定时调度任务
This commit is contained in:
@@ -44,6 +44,8 @@ h2 { margin: 12px 0 8px }
|
||||
.btn { background: var(--cloud-accent); color: #fff; border: none; border-radius: 8px; padding: 6px 12px; cursor: pointer }
|
||||
.btn:hover { background: #1f5a88 }
|
||||
.status { background: #fff8e1; border: 1px solid #ffe08a; color: #7a5900; border-radius: 8px; padding: 6px 10px; margin: 8px 0 }
|
||||
.cd-load-error { display: flex; align-items: center; gap: 12px; margin: 8px 0; padding: 8px 12px; border: 1px solid #e5a4a4; background: #fdecec; color: #a33; border-radius: 8px; font-size: 13px }
|
||||
body.theme-cloud[data-theme="dark"] .cd-load-error { background: #3a1d1d; border-color: #7a4444; color: #f0b9b9 }
|
||||
|
||||
/* Note specific styles */
|
||||
.small-text-area { font-size: 10px !important; line-height: 1.2; font-family: inherit; }
|
||||
@@ -316,6 +318,16 @@ body.theme-cloud .panel.card { position: relative; }
|
||||
color: white;
|
||||
}
|
||||
|
||||
.action-btn.login {
|
||||
border-color: #6f42c1;
|
||||
color: #6f42c1;
|
||||
}
|
||||
|
||||
.action-btn.login:hover {
|
||||
background: #6f42c1;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* 列表操作列内按钮圆形化 */
|
||||
.grid td.col-actions .action-btn {
|
||||
width: 28px;
|
||||
|
||||
Reference in New Issue
Block a user