Files
echart/continuation.md
T
simonandClaude Code f3f9d19da7 refactor: 前端库整理与图表标准化
库文件整理:
- 所有JS/CSS/字体库统一到lib/js/、lib/css/、lib/webfonts/
- 按名称-版本格式重命名(jquery-3.6.0.min.js等)
- 删除约80个重复/废弃的库文件副本
- 更新17个文件中的引用路径

图表模式标准化:
- moneyflow/realestate/estate3个页面从$.ajax/PHP注入转为fetch+loading overlay模式
- 新增moneyflowData/estateData两个AJAX端点
- chartmoneyflow.js、estate.js移至deprecated

README.md更新为完整功能介绍

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-26 14:34:28 +08:00

34 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Continuation
## 当前状态
前端库整理和图表模式标准化已完成并提交。
### 前端库整理
- 所有第三方 JS 库统一至 `lib/js/`ECharts、jQuery、DataTables、Tailwind 等,按名称-版本命名)
- 所有 CSS 库至 `lib/css/`Font Awesome、DataTables、Google Fonts
- 字体文件至 `lib/webfonts/`
- 删除了约 30 个重复/废弃的库文件副本(lib/echarts/、lib/DataTables-2/、libai/fontawesome/、css/fontawesome/、research/webfonts/ 等)
### 图表标准化
- 5 个旧模式页面已转换为 `index_margin.php` 模式(fetch + loading overlay + 提交按钮)
- `moneyflow.php``realestate.php``estateTradeDaily.php``estateListDaily.php``estateNewTradeDaily.php`
- 新增 2 个 AJAX 端点(`moneyflowData``estateData`
- 2 个死 JS 文件移至 deprecated`chartmoneyflow.js``estate.js`
- 8 个页面已在标准模式下,无需改动
### 项目结构澄清
- iframe 嵌入页(chartSix、chartStDetail、chartThree)保持原样——它们通过 URL 参数接收数据、查询本地 DB
- 非图表页(stockkeydata、stockTradeRecord、myexcel)保持原样
## 后续步骤
1. SSH 恢复后部署:`sync-echart`
2. 浏览器验证转换后的页面:moneyflow、realestate、estate 系列
3. 后续可考虑将 iframe 页面的本地 DB 查询也改为 fetch + AJAX 端点模式
## 待解决问题
- 服务器 SSHwww.doorcome.cn:22)连接被拒绝,需排查
- README.md 已更新,包含完整功能说明和项目结构