This commit is contained in:
2026-01-22 18:31:30 +08:00
commit d703ac3574
46 changed files with 7751 additions and 0 deletions

69
README.md Normal file
View File

@@ -0,0 +1,69 @@
# flux-web
薇钱包 H5 前端项目 - 纯前端,无需编译
## 🚀 快速开始
### 开发
```bash
node server.js
# 访问 http://localhost:3000
```
### 部署
**无需编译**,直接部署源码即可。查看 [DEPLOY.md](./DEPLOY.md)
## 📁 项目结构
```
flux-web/
├── index.html # 主页面
├── basic-info.html # 基本信息页面
├── style.css / basic-info.css # 样式文件
├── src/js/ # JavaScript 模块
│ ├── config/ # 配置
│ ├── core/ # 核心
│ ├── services/ # 业务服务
│ ├── ui/ # UI 组件
│ ├── utils/ # 工具
│ └── pages/ # 页面逻辑
└── static/ # 静态资源
```
## ⚙️ 配置
### 修改 API 地址
`src/js/config/api.config.js`:
```javascript
BASE_URL: 'http://localhost:8071', // 改成你的API地址
```
### 关闭调试模式
`src/js/config/app.config.js`:
```javascript
ENABLED: false, // 生产环境改为 false
```
## 📦 部署方式
- **Nginx** - 推荐,查看 `nginx.conf.example`
- **Node.js** - 使用 PM2`pm2 start server.js`
- **对象存储** - 阿里云 OSS / 腾讯云 COS
详细步骤:[DEPLOY.md](./DEPLOY.md)
## 📖 文档
- [部署指南](./DEPLOY.md)
- [模块化说明](./src/js/README.md)
- [极光配置](./docs/jverify-configuration.md)
---
北京百雅科技有限公司 © 2025