552fc8401b
重建 alert.html 使用 WeUI + Remix Icon
2026-04-14 12:56:59 +08:00
31bc478b1a
重建 device.html 使用 WeUI + Remix Icon
...
- 顶栏使用 page-hd + ri-arrow-left-s-line 图标
- 基本信息卡片使用 weui-panel
- 设备图标使用 ri-hammer-line (塔吊) / ri-arrow-up-down-line (升降机), 48px
- 状态标签使用 weui-badge 在线(绿色)/离线(灰色)
- 实时数据使用 data-grid 2列布局
- 告警使用 ri-error-warning-line (危险/橙色) / ri-alert-line (警告/黄色)
- 刷新栏显示更新时间 + ri-refresh-line 按钮
- 底部 Tabbar 使用 weui-tabbar, 设备高亮 ri-archive-fill
- JS: getQueryParam('id'), loadRealtime(), 30秒自动刷新
2026-04-14 12:56:52 +08:00
e80c0465c0
重建 alerts.html 使用 WeUI + Remix Icon
2026-04-14 12:56:11 +08:00
1cd1835e91
refactor(h5): rebuild index.html with WeUI + Remix Icon
...
- Replace emoji with Remix Icon classes (ri-user-line, ri-hammer-line, etc.)
- Use WeUI panel components (weui-panel, weui-panel__hd, weui-panel__bd)
- Add weui-tabbar with ri-home-fill highlighted for index
- Update CSS for stat-card icons and panel-more link
- All icons via Remix Icon CDN
2026-04-14 12:53:43 +08:00
d56948dcfd
refactor: WeUI+RemixIcon重建全套H5原型
2026-04-14 12:51:44 +08:00
5916ea3525
重建 devices.html 使用 WeUI + Remix Icon
2026-04-14 12:51:33 +08:00
599fc4d1c3
feat: 创建个人中心页面 profile.html
2026-04-14 12:38:06 +08:00
c71353d2c3
feat: add checkbox styles for equipment selection
2026-04-14 12:36:36 +08:00
c9d19adc93
feat: add construction log page (log.html)
2026-04-14 12:36:07 +08:00
b2365a9d10
feat: 创建隐患随手拍页面 report.html
2026-04-14 12:35:09 +08:00
36d8520c30
Create construction log list page (h5/logs.html)
2026-04-14 12:35:01 +08:00
2d2ee1bd8b
feat(h5): add device detail page with realtime data
2026-04-14 12:33:37 +08:00
e307ba0512
feat(h5): add alert detail page
2026-04-14 12:30:39 +08:00
74e802e1b6
feat: 创建预警列表页 alerts.html
2026-04-14 12:29:56 +08:00
2cb9177d05
feat(h5): add dashboard index page with device stats, alerts overview
2026-04-14 12:28:48 +08:00
818e385754
feat(h5): add devices list page
2026-04-14 12:28:37 +08:00
fbe78450eb
feat(h5): 创建登录页面
...
- 添加登录页 login.html
- 渐变背景 + 居中白色登录卡片
- 账号/密码输入框(默认admin/123456)
- 登录验证流程: isLoggedIn检查、apiLogin调用、setToken存储
- 空输入提示: showToast('请输入账号和密码')
2026-04-14 12:28:30 +08:00
982f57a169
Task 4: 创建Mock数据文件
...
- MOCK_DEVICES: 5台设备 (3台塔吊, 2台升降机)
- MOCK_REALTIME: 设备实时监测数据
- MOCK_ALERTS: 6条预警记录
- MOCK_REPORTS: 3条隐患随手拍记录
- MOCK_LOGS: 3条施工日志
- MOCK_USER: 用户信息
- 辅助函数: getDeviceById, getAlertById, getRealtimeById
2026-04-14 12:27:10 +08:00
172f5583b6
feat(h5): add api.js with 11 mock API functions
2026-04-14 12:27:07 +08:00
47c8d92eef
feat(h5): add global app.js with utility functions
2026-04-14 12:26:41 +08:00
1c60401958
feat: H5全局样式文件
2026-04-14 12:25:33 +08:00
2bdba41780
chore: create h5 project directory structure
2026-04-14 12:24:30 +08:00