# uni-template **Repository Path**: qiyunkong/uni-template ## Basic Information - **Project Name**: uni-template - **Description**: 一款开箱即可用的Uni-Template项目 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2022-09-18 - **Last Updated**: 2024-07-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Uni-Template


一款开箱即可用的Uni-Template项目

* 🎨[colorUI 1.0.0](http://docs.xzeu.com/#/info/%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B/%E5%BF%AB%E9%80%9F%E5%B8%83%E7%BD%B2) * 📦[uView 2.0.31](https://www.uviewui.com/) * 📡[uni-simple-router 2.0.8-beta.4](https://hhyang.cn/v2/) * 🕹[uni-read-pages 1.0.5](https://hhyang.cn/v2/start/quickstart.html) * 🌍[luch-request 3.0.8](https://www.quanzhan.co/luch-request/guide/2.x/#example) * ⬇[mescroll-uni](http://www.mescroll.com/uni.html) * ☕[mockjs](http://mockjs.com/) * 🌟[App端启动分包](https://uniapp.dcloud.net.cn/collocation/manifest.html#app-vue-optimization) ## 介绍 - [国内 Gitee](https://gitee.com/qiyunkong/uni-template) ### 预览 #### 示例 ## 安装 ```bash # 克隆项目 git clone https://gitee.com/qiyunkong/uni-template.git # 切换目录 cd uni-template # 初始依赖 npm i ``` ## 运行 ## 目录 ```bash js-ged-back-sys ├── api # 项目接口 ├── components # 全局组件 ├── config # 配置目录 ├── mixin # 混合目录 ├── mock # 模拟数据 ├── pages # 页面目录 ├── request # 请求目录 ├── router # 路由目录 ├── static # 静态资源 ├── store # 仓库目录 ├── uni_modules # uni模块插件 ├── app.vue # 根组件 ├── manifest.json # uni配置 ├── main.js # 程序入口 ├── package.json # 依赖模块 ├── uni.scss # uni模块插件 └── vue.config.js # 打包配置 ``` ## 配置 ### mescroll-uni 全局设置 uni-template/uni_modules/mescroll-uni/components/mescroll-diy/beibei/mescroll-uni-option.js ## 打包 contact 模块问题: 云端服务器返回错误:本次打包选择了通讯录权限,请登录开发者中心(https:// dev.dcloud.net.cn)完成实名认证后再继续打包!如不需要使用通讯录权限,请 在manifestjson页面取消通讯录权限后,重新提交打包。通讯录权限配置: 1. App模块配置: Contact(通讯录); 2. App权限配置: android.permission.READ_ CONTACTS ## 参考学习 * [ColorUI样式总结](https://www.cnblogs.com/RealGang/p/14585435.html) * [ColorUI样式模板](https://blog.csdn.net/miao_yf/article/details/103081988) * [Mescroll下拉刷新](https://ext.dcloud.net.cn/plugin?id=4094) ## 开源模板 * [uni分销商城](https://gitee.com/itmonkey-cn/shopro?_from=gitee_search) * [ShopXO商城](https://gitee.com/zongzhige/shopxo-uniapp) * [前端铺子模板](https://gitee.com/kevin_chou/qdpz)