# vue-widget-date **Repository Path**: codeMay/vue-widget-date ## Basic Information - **Project Name**: vue-widget-date - **Description**: 一个仿广点通时间选择程序组件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 2 - **Created**: 2019-05-30 - **Last Updated**: 2021-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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' 时间段用','分割 周几用";"分割 ### 演示 example/index.html ## Build Setup ``` bash # 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](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).