2023-04-24 00:42:47 +00:00
|
|
|
<div class="layui-form">
|
|
|
|
<div class="layui-form-item">
|
|
|
|
<div class="layui-inline">
|
|
|
|
<input type="text" class="layui-input demo-laydate-item" lay-options="{}" placeholder="yyyy-MM-dd">
|
|
|
|
</div>
|
|
|
|
<div class="layui-inline">
|
|
|
|
<input type="text" class="layui-input demo-laydate-item" lay-options="{}" placeholder="yyyy-MM-dd">
|
|
|
|
</div>
|
|
|
|
<div class="layui-inline">
|
|
|
|
<input type="text" class="layui-input demo-laydate-item" lay-options="{}" placeholder="yyyy-MM-dd">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-05-03 09:17:39 +00:00
|
|
|
<!-- import layui -->
|
2023-04-24 00:42:47 +00:00
|
|
|
<script>
|
|
|
|
layui.use(function(){
|
|
|
|
var laydate = layui.laydate;
|
|
|
|
|
|
|
|
// 渲染
|
|
|
|
laydate.render({
|
|
|
|
elem: '.demo-laydate-item'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|