iotlcm-app-ui

iotLCM 物联网卡全生命周期管理平台的**小程序端**。 基于 [unibest](https://github.com/unibest-tech/unibest)(MIT License)二次开发。 [![node version](https://img.shields.io/badge/node-%3E%3D18-green)](https://nodejs.org)
## 技术栈 `uniapp` + `Vue3` + `TypeScript` + `Vite5` + `UnoCSS` + `wot-ui` + `z-paging` ## 本地开发 ```bash pnpm install pnpm dev:mp-weixin # 微信小程序 pnpm dev:h5 # H5 ``` ## 构建 ```bash pnpm build:mp-weixin # 微信小程序(产物在 dist/build/mp-weixin) pnpm build:h5 ``` ## 配置 环境变量文件在 `env/`: | 文件 | 用途 | | --- | --- | | `.env` | 通用配置(应用标题、端口、uni-app AppID、微信 AppID、公开路径) | | `.env.development` | 开发环境(后端地址) | | `.env.production` | 生产环境 | | `.env.test` | 测试环境 | **公开版里的标识是占位符**: | 变量 | 占位 | 说明 | | --- | --- | --- | | `VITE_WX_APPID` | `YOUR_WX_APPID` | 微信小程序 AppID | | `VITE_UNI_APPID` | `__UNI__YOURAPPID` | uni-app 应用标识 | | `VITE_SERVER_BASEURL` | `http://localhost:8010/api/v1` | 后端地址 | | `VITE_MP_SERVER_BASEURL` | `https://admin.iotlcm.example.com/app/api/v1` | 生产后端地址 | ## 上游与许可 本项目基于 **[unibest](https://github.com/unibest-tech/unibest)**(MIT License)二次开发。 - 上游版权声明保留在 [`LICENSE`](./LICENSE) - iotLCM 相关的业务页面、路由、配置为本项目新增 - 上游仓库:[unibest-tech/unibest](https://github.com/unibest-tech/unibest) ## License [MIT](./LICENSE)