mirror of https://github.com/layui/layui
更新 laydate 文档的 `theme` 属性说明
parent
1163484e03
commit
6f3a46ec1b
|
@ -436,6 +436,7 @@ btns: ['clear', 'confirm']
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
是否在选中目标值时即自动确认。
|
是否在选中目标值时即自动确认。
|
||||||
|
<br>当开启 `range` 属性时,该属性无效。
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
|
@ -486,6 +487,13 @@ theme: '#FF5722'
|
||||||
theme: ['grid', '#FF5722']
|
theme: ['grid', '#FF5722']
|
||||||
```
|
```
|
||||||
|
|
||||||
|
若第 1 个成员为 hex 格式的主色值,则第 2 个成员为辅色值
|
||||||
|
|
||||||
|
```
|
||||||
|
// 主色、辅色 --- 2.8.4 新增
|
||||||
|
theme: ['#16baaa', '#16b777']
|
||||||
|
```
|
||||||
|
|
||||||
效果及用法详见: [#示例](#demo-theme)
|
效果及用法详见: [#示例](#demo-theme)
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue