1.0.7 • Published 5 years ago
vue-widget-date v1.0.7
vue-widget-date
一个Vue 仿广点通时间选择组件
使用方法
###安装 npm i vue-widget-date yarn add vue-widget-date ###引入 import { TimeTable } from 'vue-widget-date' ###组件使用
props:
defaultBinaryTime (optional): 336个[0|1]
methods:[子组件向父组件传值]
selectedBinaryTime:return'0|1';[0|1]
selectedTimeStr:return'01:00-08:30,14:00-16:30;01:00-08:30' 时间段用','分割 周几用";"分割
演示
vue-widget-date/example/index.html
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.