# we-element **Repository Path**: lewisliang82/we-element ## Basic Information - **Project Name**: we-element - **Description**: 微信小程序组件封装 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.meetqy.com/we-elementxiao-cheng-xu-zu-jian/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-11-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wx-Element #### 项目介绍 常用微信小程序UI组件,主要是对一些平时常用的组件做一些封装 #### 组件引入方法 [微信官网组件使用](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html) ## Rate评分组件 ![输入图片说明](https://www.meetqy.com/content/images/2018/11/QQ20181109-105854@2x-1.png "在这里输入图片标题") 参数: ``` text value: Number 分数 showText: Boolean 是否显示分数 ``` eg: ``` html ``` ## upload多图上传组件 ![rate](https://www.meetqy.com/content/images/2018/11/QQ20181109-105909@2x.png "在这里输入图片标题") 参数 ``` text count: Number 最大上传数 默认值9 url: String 上传地址 name: String 文件对应的key 默认值image showClose: Boolean 是否显示关闭按钮 默认值true sizeType: Array 同微信小程序chooseImage参数 sourceType: Array 同微信小程序chooseImage参数 ``` [chooseImage](https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.chooseImage.html) eg: ``` html ```