# 原生小程序模板+colorUi **Repository Path**: a473701749a/weChatDemo ## Basic Information - **Project Name**: 原生小程序模板+colorUi - **Description**: 基于colorUI,封装了一些自己的想法与内容的小程序基础框架 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2021-03-25 - **Last Updated**: 2021-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 原生小程序模板+colorUi #### 介绍 基于colorUI,封装了一些自己的想法与内容的小程序基础框架 #### 软件架构 软件架构说明 #### 安装教程 1. 下载 [微信开发者工具 ](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html) 2. git clone https://gitee.com/a473701749a/weChatDemo.git 3. 打开微信开发者工具并导入clone到本地的项目 #### 使用说明 由于请求封装在app.js中,故所有需要请求的页面都需要在页头声明全局app变量 ![输入图片说明](https://images.gitee.com/uploads/images/2021/0325/155937_029bfa6f_4958906.png "屏幕截图.png") 请求使用方式: ``` app.post('接口地址',请求参数).then(res=>{ //成功回调 }).catch(err=>{ //失败回调 }) ```