<#assign base=request.contextPath />
<div class="am-u-sm-10">
    <div class="am-form am-form-inline">
        <div class="am-form-group am-form-icon">
            <input type="text" id="time" autocomplete="off" value="${time!}">
        </div>
    </div>
</div>

<script src="../assets/js/jquery.ajaxfileupload.js"></script>
<script src="../assets/js/amazeui.switch.js"></script>
<script src="${base}/layui/layui.js"></script>
<script type="text/javascript">
    layui.use('laydate', function(){
        var laydate = layui.laydate;

        laydate.render({
            elem: '#time',
            type: 'month',
            btns: ['confirm'],
            trigger: 'click',
            ready: function(date){
                console.log(date);
            }
        });
    });

</script>
















