ForwardWidgets
Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…
JavaScript★ 247
小程序插件-预约日历插件-微信小程序日历插件
git clone https://github.com/jasondu/wxa-plugin-calendar.gitjasondu/wxa-plugin-calendar小程序插件-预约日历组件
已经审核通过 APPID:wx84472d5652384779 版本号:1.0.0 名称:预约日历
务必填写已经添加该插件的APPID
wechatide://minicode/HbH9Yim56XZy
"plugins": {
"myPlugin": {
"version": "1.0.0",
"provider": "wx84472d5652384779"
}
}
在需要使用插件的页面中的json文件添加以下代码
"usingComponents": {
"date-picker": "plugin://myPlugin/date-picker"
}
在需要使用地方添加
<date-picker
startTime="{{startTime}}"
endTime="{{endTime}}"
unit="{{unit}}"
reserveUnit="{{reserveUnit}}"
unreserveTime="{{unreserveTime}}"
activedConst="{{activedConst}}"
disabledConst="{{disabledConst}}"
themeColor="#1f78d1"
bind:selectTime="onSelectTime"
/>
startTime: { // 最早预约时间
type: String,
value: '09:00',
},
endTime: { // 最晚预约时间
type: String,
value: '22:00',
},
unit: { // �展示时间单位(默认30分钟)
type: Number,
value: 15,
},
reserveUnit: { // 预约时间单位(默认60分钟)
type: Number,
value: 60,
},
activedConst: { // 已经选中的常量标示
type: Number,
value: 101,
},
disabledConst: {// 不可选的常量标示
type: Number,
value: 102,
},
unreserveTime: {// 不可预约时间列表
type: Array,
value: [
{
startTime: '2018-04-18 14:00:00',
endTime: '2018-04-18 15:00:00',
status: 102, // 这个值指明这个时间段是 已经选择 或者 不可选
// 可以通 activedConst 和 disabledConst 进行配置
},
],
},
themeColor: { // 插件的主题颜色
type: String,
value: '#E74C75',
}
more like this
Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…
A lightweight, simplified, RedNotebook-inspired journal/diary app. Built with Electron. Makes dated text files.
View and plan your life in an online calendar by visually by seeing it from days to decades
The project aims to replace any (legacy) MS-Windows components with open source counterparts.
search projects, people, and tags