datepicker typescript简单实现日期选择组件 引用style.css并在文档末尾引用date.js,input控件设置data-type="datepicker",index.html为使用示例 sample