|
|
|
@ -16,13 +16,25 @@
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">时段开始:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input name="timeframeBegin" class="form-control" type="text">
|
|
|
|
|
<div class="input-group date">
|
|
|
|
|
<input type="text" name="timeframeBegin" class="form-control" id="laydate-demo-3" placeholder="HH:mm:ss">
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<!--<input name="timeframeBegin" class="form-control" type="text">-->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="col-sm-3 control-label">时段结束:</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<!--<div class="col-sm-8">
|
|
|
|
|
<input name="timeframeEnd" class="form-control" type="text">
|
|
|
|
|
</div>-->
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<div class="input-group date">
|
|
|
|
|
<input type="text" name="timeframeEnd" class="form-control" id="laydate-demo-4" placeholder="HH:mm:ss">
|
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<!--<input name="timeframeBegin" class="form-control" type="text">-->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
@ -96,6 +108,22 @@
|
|
|
|
|
minView: "month",
|
|
|
|
|
autoclose: true
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
<!-- laydate示例 -->
|
|
|
|
|
layui.use('laydate', function(){
|
|
|
|
|
var laydate = layui.laydate;
|
|
|
|
|
laydate.render({
|
|
|
|
|
elem: '#laydate-demo-3',
|
|
|
|
|
type: 'time',
|
|
|
|
|
trigger: 'click'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
laydate.render({
|
|
|
|
|
elem: '#laydate-demo-4',
|
|
|
|
|
type: 'time',
|
|
|
|
|
trigger: 'click'
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|