layui 日期选择插件

js yekong

wanjunshijiecom 2021-10-30 at 09.31.18

    <link rel="stylesheet" type="text/css" href="laydate/theme/default/laydate.css"/>

            <input type="text" class="layui-input ml30" id="test1">
            <span>至</span>
            <input type="text" class="layui-input ml30" id="test2">
            
                <script src="laydate/laydate.js"></script>
<script>
        laydate.render({
            elem: '#test1' //指定元素
        });
        laydate.render({
            elem: '#test2' //指定元素
        });  
</script>

演示地址:页面主动运维单全景展示

链接: 提取码: 8wba

喜欢