Browse Source

注释 laydate 圆圈主题示例

pull/1249/head
贤心 2 years ago
parent
commit
038d395064
  1. 6
      docs/laydate/examples/theme.md

6
docs/laydate/examples/theme.md

@ -18,12 +18,12 @@
<input type="text" class="layui-input" id="ID-laydate-theme-grid" placeholder="yyyy-MM-dd"> <input type="text" class="layui-input" id="ID-laydate-theme-grid" placeholder="yyyy-MM-dd">
</div> </div>
</div> </div>
<div class="layui-inline"> <!--<div class="layui-inline">
<label class="layui-form-label">圆圈高亮主题</label> <label class="layui-form-label">圆圈高亮主题</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input type="text" class="layui-input" id="ID-laydate-theme-circle" placeholder="yyyy-MM-dd"> <input type="text" class="layui-input" id="ID-laydate-theme-circle" placeholder="yyyy-MM-dd">
</div> </div>
</div> </div>-->
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label">混合主题</label> <label class="layui-form-label">混合主题</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
@ -57,10 +57,12 @@ layui.use(function(){
}); });
// 圆圈高亮主题 // 圆圈高亮主题
/*
laydate.render({ laydate.render({
elem: '#ID-laydate-theme-circle', elem: '#ID-laydate-theme-circle',
theme: 'circle' // 2.8+新增主题 theme: 'circle' // 2.8+新增主题
}); });
*/
// 混合主题 // 混合主题
laydate.render({ laydate.render({

Loading…
Cancel
Save