vue日曆控件,自定義選擇年月 選擇年月日 選擇年月日時 選擇年月日時分,自定義日期範圍

下載地址:https://github.com/zw1371/zm-datepickerhtml

  注:功能更加全面的日曆控件請訪問:http://www.javashuo.com/article/p-otjcnjsr-eu.htmlgit

<zm-datepicker mindate="2018-1-26 12:12:12" maxdate="2018-3-26 12:12:12" type="month" v-model="search_data.followPerson"></zm-datepicker>
          
  type取值:
    month:選取到月份
    day:選取到天
    hour:選取到小時
    minute:選取到分鐘(默認)
  mindate:
    日期範圍至最小日期
  maxdate:
    日期範圍至最大日期

 

效果圖:github

  

 

相關文章
相關標籤/搜索