更新记录
1.1(2025-04-27) 下载此版本
补足uView1.x日历插件缺陷,按照月份显示,优化显示
1.0(2025-03-27) 下载此版本
发布
平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
√ | - | - | - | - | - | - | - | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
- | - | - | - | - | - | - | - | - | - | - |
本插件是我开发过程中,在网上找的,感谢大神提供的插件,我仅仅是整理
使用方法:将压缩包下载下来,放入uview-ui\components目录下,和u-calendar平级
<u-button type="primary" @click="calendarMonthShow=true">弹出月历</u-button>
<u-calendar-month v-model="calendarMonthShow" ref="calendar" @changeMonth="calendarMonth"></u-calendar-month>
methods: {
calendarMonth(e){
console.log(e)
}
}