mini-datepicker
v1.0.1
Published
小程序日期组件,支持月视图和周视图切换
Downloads
1
Readme
mini-datepicker
小程序的日历组件,支持周视图和月视图的切换
如何使用
example.json
{
"usingComponents": {
"mini-datepicker": "example/mini-datepicker"
},
}
example.wxml
<view>
<mini-datepicker defaultDate="{{defaultDate}}" startDay="{{startDay}}" bindchooseDate="chooseDate">
</mini-datepicker>
</view>
example.js
data:{
defaultDate: "2020-3-31",
startDay: "monday"
}