923c6bad1c
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m22s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 2m40s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 1m44s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 3m19s
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
1. TitleLibrary.tsx: 移除 MOCK_CATEGORIES,分类从真实 API 数据动态派生 - 删除 CategoryItem 接口、MOCK_CATEGORIES 常量 - 用 useMemo 从 apiTitles.category 字段聚合分类列表 - 分类筛选改为直接匹配 category 字段(移除 catToIndustry 硬编码映射) - 移除无后端支持的新建/删除分类功能(保留 TODO 注释) - TitleData 新增 category 字段 2. accounts.ts: 全文件标记为 Mock,添加明确 TODO - 文件头注明后端无 accounts 路由,待后端就绪后替换 - 各 section 注释标注 mock 性质 3. Admin.css: 477 行 → 27 行 - 仅保留 AdminComingSoon.tsx 实际使用的 2 个 class - 其余样式已迁移至 global.css / ui.css 4. 未使用依赖: 已确认 package.json 全部 26 个依赖均在使用,无需清理
28 lines
614 B
CSS
28 lines
614 B
CSS
/* Admin 页面样式(Phase 3 精简)
|
|
*
|
|
* 原始 477 行 → 精简至仅保留实际使用的 class。
|
|
* 已迁移至 global.css / ui.css 的样式不再重复定义:
|
|
* .xx-page-head → global.css
|
|
* .xx-primary-btn → global.css
|
|
* .xx-tag / .xx-card → ui.css / global.css
|
|
*
|
|
* 以下 class 仅被 AdminComingSoon.tsx 使用。
|
|
*/
|
|
|
|
.admin-coming-soon-page {
|
|
padding: 32px;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.xx-result-center {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 400px;
|
|
}
|
|
|
|
.xx-result-center .ant-result {
|
|
padding: 48px;
|
|
}
|