页面中时间的搜索

1、在时间的搜素哪里写上

 <div class="col-sm-4 m-b-xs">
                           	  <label class="col-sm-3 control-label" style="margin:6px 0">最近登录时间</label>
                           	  <div class="col-sm-9 m-b-xs">
                              <div class="input-daterange input-group" id="datepicker">
                                <input type="text" class="form-control" name="filter_createTimes" value="${(paramter.createTimes)!''}" placeholder="选择起止时间" >
                                <span class="input-group-addon">到</span>
                                <input type="text" class="form-control" name="filter_createTimee" value="${(paramter.createTimee)!''}" placeholder="选择结束时间">
								</div>
								</div>

2、还要在<script>上加上

 //按时间段搜索
        $(".input-daterange").datepicker({keyboardNavigation:false,forceParse: false,autoclose: true});

猜你喜欢

转载自blog.csdn.net/weixin_40214184/article/details/86534551