mat/frontend-h5
caoqianming 76b2c08801 style(h5): 大类卡片背景图改为本地资源
- 从 Pexels 下载建筑/景观/设备/装修四张主题图存到 public/img/majors/
- 不再依赖外部 CDN,离线/弱网也能正常显示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-27 09:45:13 +08:00
..
public/img/majors style(h5): 大类卡片背景图改为本地资源 2026-04-27 09:45:13 +08:00
src style(h5): 大类卡片背景图改为本地资源 2026-04-27 09:45:13 +08:00
.gitignore feat(h5): 初始化 frontend-h5 脚手架(Vite+Vue3+Tailwind+Pinia+Router) 2026-04-24 16:05:36 +08:00
README.md docs(h5): 添加 README 部署说明 2026-04-27 08:57:12 +08:00
index.html feat(h5): 统一品牌名称与 logo 与 PC 端一致(M³ + 房地产新材料选材管理数据系统) 2026-04-27 09:21:16 +08:00
package-lock.json feat(h5): 初始化 frontend-h5 脚手架(Vite+Vue3+Tailwind+Pinia+Router) 2026-04-24 16:05:36 +08:00
package.json feat(h5): 初始化 frontend-h5 脚手架(Vite+Vue3+Tailwind+Pinia+Router) 2026-04-24 16:05:36 +08:00
postcss.config.js feat(h5): 初始化 frontend-h5 脚手架(Vite+Vue3+Tailwind+Pinia+Router) 2026-04-24 16:05:36 +08:00
tailwind.config.js feat(h5): 初始化 frontend-h5 脚手架(Vite+Vue3+Tailwind+Pinia+Router) 2026-04-24 16:05:36 +08:00
vite.config.js feat(h5): 初始化 frontend-h5 脚手架(Vite+Vue3+Tailwind+Pinia+Router) 2026-04-24 16:05:36 +08:00

README.md

frontend-h5

H5 材料浏览端。

开发

npm install
npm run dev        # http://localhost:5174/m/

生产

npm run build      # 输出到 dist/

Nginx 挂载示例:

location /m/ {
    alias /path/to/frontend-h5/dist/;
    try_files $uri $uri/ /m/index.html;
}

API 仍走主站 /api/