<small id='uVX5r'></small><noframes id='uVX5r'>

    • <bdo id='uVX5r'></bdo><ul id='uVX5r'></ul>
    1. <legend id='uVX5r'><style id='uVX5r'><dir id='uVX5r'><q id='uVX5r'></q></dir></style></legend>
      <i id='uVX5r'><tr id='uVX5r'><dt id='uVX5r'><q id='uVX5r'><span id='uVX5r'><b id='uVX5r'><form id='uVX5r'><ins id='uVX5r'></ins><ul id='uVX5r'></ul><sub id='uVX5r'></sub></form><legend id='uVX5r'></legend><bdo id='uVX5r'><pre id='uVX5r'><center id='uVX5r'></center></pre></bdo></b><th id='uVX5r'></th></span></q></dt></tr></i><div id='uVX5r'><tfoot id='uVX5r'></tfoot><dl id='uVX5r'><fieldset id='uVX5r'></fieldset></dl></div>
        <tfoot id='uVX5r'></tfoot>
      1. layui要如何改变时间日历布局大小?

        时间:2024-10-24

          <i id='z29Sl'><tr id='z29Sl'><dt id='z29Sl'><q id='z29Sl'><span id='z29Sl'><b id='z29Sl'><form id='z29Sl'><ins id='z29Sl'></ins><ul id='z29Sl'></ul><sub id='z29Sl'></sub></form><legend id='z29Sl'></legend><bdo id='z29Sl'><pre id='z29Sl'><center id='z29Sl'></center></pre></bdo></b><th id='z29Sl'></th></span></q></dt></tr></i><div id='z29Sl'><tfoot id='z29Sl'></tfoot><dl id='z29Sl'><fieldset id='z29Sl'></fieldset></dl></div>

            <tbody id='z29Sl'></tbody>

          <small id='z29Sl'></small><noframes id='z29Sl'>

          • <bdo id='z29Sl'></bdo><ul id='z29Sl'></ul>
          • <legend id='z29Sl'><style id='z29Sl'><dir id='z29Sl'><q id='z29Sl'></q></dir></style></legend>

                  <tfoot id='z29Sl'></tfoot>

                  问题描述

                  我想改变layui时间日历布局大小,这个要怎么操作呢?

                  解决办法

                  可以用css样式对时间日历进行重新布局,具体代码如下:
                  <!DOCTYPE html>
                  <html>
                  	<head>
                  		<meta charset="UTF-8">
                  		<title></title>
                  		<link rel="stylesheet" href="../../layui/css/layui.css" />
                  		<style>
                  			#test-n1 .layui-laydate-main{width:600px;}
                  			#test-n1 .layui-laydate-content td,#test-n1 .layui-laydate-content th{width:87px;height: 50px;}
                  		</style>
                  	</head>
                  	<body>
                  		<div class="layui-inline" id="test-n1"></div>
                  			
                  		<script type="text/javascript" src="../../layui/layui.js" ></script>
                  		<script>
                  			layui.use('laydate', function(){
                  			  var laydate = layui.laydate;
                  			  
                  			  //执行一个laydate实例
                  			  laydate.render({
                  			    elem: '#test-n1'
                  			    ,position: 'static'
                  			  });  
                  			});
                  		</script>
                  	</body>
                  </html>
                  

                   
                  上一篇:layui中表单会自动刷新的问题 下一篇:没有了

                  相关文章

                1. <tfoot id='iR4KQ'></tfoot>

                        <bdo id='iR4KQ'></bdo><ul id='iR4KQ'></ul>
                    1. <small id='iR4KQ'></small><noframes id='iR4KQ'>

                      <i id='iR4KQ'><tr id='iR4KQ'><dt id='iR4KQ'><q id='iR4KQ'><span id='iR4KQ'><b id='iR4KQ'><form id='iR4KQ'><ins id='iR4KQ'></ins><ul id='iR4KQ'></ul><sub id='iR4KQ'></sub></form><legend id='iR4KQ'></legend><bdo id='iR4KQ'><pre id='iR4KQ'><center id='iR4KQ'></center></pre></bdo></b><th id='iR4KQ'></th></span></q></dt></tr></i><div id='iR4KQ'><tfoot id='iR4KQ'></tfoot><dl id='iR4KQ'><fieldset id='iR4KQ'></fieldset></dl></div>

                    2. <legend id='iR4KQ'><style id='iR4KQ'><dir id='iR4KQ'><q id='iR4KQ'></q></dir></style></legend>