原生的手机时间控件,需要使用input标签。通过控制input的type属性来控制显示。 1、 type=’date’ //显示年、月、日 2、type=‘month’//显示年、月 3、type=‘week’//显示年、周 4、type=‘datetime-local’//显示年、月、日、时、分