Browse Source

更新 laydate 用例

pull/1376/head
贤心 1 year ago
parent
commit
b31b364c16
  1. 4
      examples/laydate.html

4
examples/laydate.html

@ -17,7 +17,7 @@ body{padding: 50px 100px;}
<body> <body>
<div class="layui-inline"> <div class="layui-inline">
<input type="text" class="layui-input" id="test-first"> <input type="text" class="layui-input" id="test-first" placeholder="带遮罩">
</div> </div>
<br> <br>
@ -157,7 +157,7 @@ layui.use('laydate', function(laydate){
laydate.render({ laydate.render({
elem: '#test-first', elem: '#test-first',
min: 0, min: 0,
shade: [0.1, '#ddd'], shade: [0.1, '#000'],
//max: '2016-12-30', //max: '2016-12-30',
done: function(){ done: function(){
console.log('done',arguments); console.log('done',arguments);

Loading…
Cancel
Save