指令 | 值 | 描述 |
type | datepicker/date/time/month | 设定类型 |
theme | ios/android | 设定皮肤 |
<input type="datepicker" value="2017-06-01" readonly>
<input type="time" value="12:12" readonly>
<input type="month" value="2017-06" readonly>
<date-picker theme="android"></date-picker>
将该组件放在有日期选择需求的页面中,该组件能找到所有日期选择类型的 input,在 input foucs 时弹出日期选择控件