laydate 文档添加 circle
主题示例
This commit is contained in:
parent
510bc1ada8
commit
40b3f33db0
@ -18,6 +18,12 @@
|
||||
<input type="text" class="layui-input" id="ID-laydate-theme-grid" placeholder="yyyy-MM-dd">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">圆圈高亮主题</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" class="layui-input" id="ID-laydate-theme-circle" placeholder="yyyy-MM-dd">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label">混合主题</label>
|
||||
<div class="layui-input-inline">
|
||||
@ -49,6 +55,12 @@ layui.use(function(){
|
||||
theme: 'grid'
|
||||
});
|
||||
|
||||
// 圆圈高亮主题
|
||||
laydate.render({
|
||||
elem: 'ID-laydate-theme-circle',
|
||||
theme: 'circle' // 2.8+新增主题
|
||||
});
|
||||
|
||||
// 混合主题
|
||||
laydate.render({
|
||||
elem: '#ID-laydate-theme-multi',
|
||||
|
Loading…
Reference in New Issue
Block a user