From 6f3a46ec1b6e4e55f248942a64b0289c2b0840bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Tue, 30 May 2023 09:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20laydate=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E7=9A=84=20`theme`=20=E5=B1=9E=E6=80=A7=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/laydate/detail/options.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/laydate/detail/options.md b/docs/laydate/detail/options.md index 812c7954..ffca07bd 100644 --- a/docs/laydate/detail/options.md +++ b/docs/laydate/detail/options.md @@ -436,6 +436,7 @@ btns: ['clear', 'confirm'] 是否在选中目标值时即自动确认。 +
当开启 `range` 属性时,该属性无效。 boolean @@ -486,6 +487,13 @@ theme: '#FF5722' theme: ['grid', '#FF5722'] ``` +若第 1 个成员为 hex 格式的主色值,则第 2 个成员为辅色值 + +``` +// 主色、辅色 --- 2.8.4 新增 +theme: ['#16baaa', '#16b777'] +``` + 效果及用法详见: [#示例](#demo-theme)