js和css记得加picker 第一种方式: html <button type="button" class="starttime" id="starttime">开始日期</button><span>-</span> <button<