feat(frontend): Phase 2 前端技术债务清理
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 31s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 29s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 3m45s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Failing after 32s

1. Mock 数据清理(4 项):
   - Dashboard.tsx: kpiData/quickEntries/recentTasks 标记 TODO
   - TitleLibrary.tsx: MOCK_CATEGORIES 精简为占位+TODO
   - Accounts.tsx: 移除 2 处误导性 mock 注释(实际已用真实 API)

2. Admin.css 样式迁移:
   - 4 条 .xx-card antd 覆盖样式迁移到 ui.css
   - AdminComingSoon 页面样式不受影响

3. CloneModal 组件合并:
   - VoiceClone.tsx 改用共享 CloneModal 组件
   - 删除重复的 CloneVoiceModal.tsx + clone-voice-modal.css
   - 清理空目录 components/modals/
This commit is contained in:
CI Test
2026-07-13 15:15:47 +08:00
parent cc47c9f90f
commit 5bde975ea6
7 changed files with 32 additions and 625 deletions
+23
View File
@@ -532,3 +532,26 @@
padding: 8px 16px !important;
}
}
/* ── xx-card antd 覆盖样式(从 Admin.css 迁移) ──────── */
/* AdminComingSoon 等页面使用 <Card className="xx-card"> 时需要 */
.xx-card:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.xx-card .ant-card-head {
border-bottom: 1px solid var(--xx-border);
padding: 0 24px;
}
.xx-card .ant-card-head-title {
font-weight: 800;
font-size: 17px;
color: var(--xx-text);
}
.xx-card .ant-card-body {
padding: 24px;
}