# 小程序组件 **Repository Path**: zhangjunya/xcx_components ## Basic Information - **Project Name**: 小程序组件 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: dev - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-06-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 小程序组件 #### 项目介绍 封装小程序原生组件,以便复用 #### 目录结构 ``` components/ index.wxss 核心css文件,需要在app.wxss中引入 style/ flex和theme相关的样式文件 avatar/ avatar 头像组件 badge/ badge 徽章组件 divider/ fivider 分割线组件 list/ list、list-item 列表组件 example/ 组件使用样例目录 utils/ 工具类目录 req_with_promise.js wx.request 原生请求的promise式封装 ``` #### 使用说明 1,组件使用可参照example目录下的样例 2,req_with_promise.js 只需要在app.js中全局引用即可 #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request