更新记录
2.1.0(2024-05-21) 下载此版本
修复时间不足2位补0
1.0.0(2024-05-16) 下载此版本
1.0.0
平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
√ | √ | - | - | - | - | 5.0 | × | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
- | - | - | - | - | - | - | - | - | - | - |
uni-app x
Chrome | Safari | Android | iOS | 鸿蒙 | 微信小程序 |
---|---|---|---|---|---|
- | - | 5.0 | × | - | - |
wb-picker
开发文档
UTS 语法 UTS API插件 UTS 组件插件 Hello UTS
使用方式 需要打包为自定义基座
时间范围选择器:MyCalendarPicker(options)
import { CalendarPickerOptions, MyCalendarPicker } from '@/uni_modules/wb-picker';
getPickerTime() {
let req = {
complete: (res) => {
console.log('res', res);
}
} as CalendarPickerOptions
MyCalendarPicker(req)
},
时间选择器(年月日时分秒):MyCalendarPicker(options)
import { MyDateimePicker } from '@/uni_modules/wb-picker';
getPickerTime() {
MyDateimePicker((res:string)=>{
console.log(res);
})
},
时间选择器(年月日):MyCalendarPicker(options)
import { MyDatePicker } from '@/uni_modules/wb-picker';;
getPickerTime() {
MyDatePicker((res:string)=>{
console.log(res);
})
},