# wepy-calendar
**Repository Path**: kevin402502/wepy-calendar
## Basic Information
- **Project Name**: wepy-calendar
- **Description**: 微信小程序/wepy/日历组件
- **Primary Language**: JavaScript
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-06-17
- **Last Updated**: 2024-12-10
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# wepy-canlendar
---
一款微信小程序的日历组件 支持左右翻页,picker.
## Screenshots



## Usage
### 首先记得把asset/icons下的2个小图标放到自己的资源文件里哦
### 项目依赖moment
### cnpm install moment --save
### 代码全部有注释,使用上有问题请在github联系我,欢迎pr
```
import calendar from '../components/calendar
name | type | default | description |
---|---|---|---|
visible | Boolean | false | 控制dialog的显示 |
value | String(YYYY-MM-DD) | moment().format('YYYY-MM-DD') | 日历初始值 |
hanleConfirm.user | 自定义事件 | 必填 | 点击确定按钮触发的钩子 |
color | rgb rgba等(css里的颜色值都可用) | black | 日历主色 |