vue-widget-date

1.0.7 • Public • Published

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.

Package Sidebar

Install

npm i vue-widget-date

Weekly Downloads

9

Version

1.0.7

License

ISC

Unpacked Size

3.45 MB

Total Files

19

Last publish

Collaborators

  • yyma