From 4215ff576faca7a0cb03a78e7218c83ce9d31c47 Mon Sep 17 00:00:00 2001 From: hisoka0728 <1399952343@qq.com> Date: Mon, 2 Sep 2024 21:34:07 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=96=87=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/screen-portlet-real-time.md | 17 +++++++++++++---- docs/guide/screen-radio-list.md | 23 ++++++++++++++++++----- docs/guide/screen-real-time.md | 12 +++++++++++- docs/guide/tagged-wall.md | 8 ++++++++ 4 files changed, 50 insertions(+), 10 deletions(-) diff --git a/docs/guide/screen-portlet-real-time.md b/docs/guide/screen-portlet-real-time.md index f2e42b3..202a65a 100644 --- a/docs/guide/screen-portlet-real-time.md +++ b/docs/guide/screen-portlet-real-time.md @@ -33,14 +33,23 @@ ## 成员参数配置 -| 属性名 | 类型 | 默认值 | 说明 | -| ----------- | ------ | ------------------------ | -------------- | +| 属性名 | 类型 | 默认值 | 说明 | +| ----------- | ------ | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | VALUEFORMAT | string | YYYY-MM-DD,week,HH:mm:ss | 时间格式化参数,分为年月日,星期和时分秒三个配置部分,可组合配置,参考文档 [日期格式化文档](https://dayjs.fenxianglu.cn/category/parse.html#%E5%AD%97%E7%AC%A6%E4%B8%B2-%E6%A0%BC%E5%BC%8F) | - ## 功能说明 - 支持实时时间展示 - 时间展示自定义格式 + ``` + YYYY-MM-DD,HH:mm:ss => 2024-09-12 16:52:12 + YYYY-MM-DD => 2024-09-12 + HH:mm:ss => 16:52:12 + ``` + +## 颜色说明 -字体颜色取自了大屏主要文本色--ibiz-screen-dashboard-primary-text-color。 \ No newline at end of file +``` +// 字体颜色 +color: --ibiz-screen-dashboard-primary-text-color +``` diff --git a/docs/guide/screen-radio-list.md b/docs/guide/screen-radio-list.md index b50de0b..a3200d0 100644 --- a/docs/guide/screen-radio-list.md +++ b/docs/guide/screen-radio-list.md @@ -42,9 +42,22 @@ ## 功能说明 - 支持循环切换选项 + ``` + ENABLECIRCULATE=true + INTERVALTIME=4000 + ``` -默认字体颜色取自了大屏亮色文本色--ibiz-screen-dashboard-light-text-color。 -选中字体颜色取自了大屏文本色--ibiz-screen-dashboard-text-color 。 -默认背景色取自大屏背景色--ibiz-screen-dashboard-bg-color。 -选中背景色取自大屏激活主要色--ibiz-screen-dashboard-primary-active-color。 -边框颜色取自了大屏边框色--ibiz-screen-dashboard-border-color。 \ No newline at end of file +## 颜色说明 + +``` +// 字体颜色 +color: --ibiz-screen-dashboard-light-text-color +// 选中字体颜色 +checked-color: --ibiz-screen-dashboard-text-color +// 背景颜色 +background-color: --ibiz-screen-dashboard-bg-color +// 选中背景颜色 +checked-background-color: --ibiz-screen-dashboard-primary-active-color; +// 边框颜色 +border-color: --ibiz-screen-dashboard-border-color +``` diff --git a/docs/guide/screen-real-time.md b/docs/guide/screen-real-time.md index 2d7f221..a4ff8f7 100644 --- a/docs/guide/screen-real-time.md +++ b/docs/guide/screen-real-time.md @@ -44,5 +44,15 @@ - 支持实时时间展示 - 时间展示自定义格式 + ``` + YYYY-MM-DD,HH:mm:ss => 2024-09-12 16:52:12 + YYYY-MM-DD => 2024-09-12 + HH:mm:ss => 16:52:12 + ``` -字体颜色取自了大屏主要文本色--ibiz-screen-dashboard-primary-text-color。 +## 颜色说明 + +``` +// 字体颜色 +color: --ibiz-screen-dashboard-primary-text-color +``` diff --git a/docs/guide/tagged-wall.md b/docs/guide/tagged-wall.md index c4be316..f3278ca 100644 --- a/docs/guide/tagged-wall.md +++ b/docs/guide/tagged-wall.md @@ -47,4 +47,12 @@ 绘制标签组件(customTag)接收name和id,name为展示的标签名称。 - 支持配置字体大小是否随机,字体大小随机范围 + ``` + ENABLEFONTSIZERANDOM=false + RANDOMFONTSIZERANGE={"max":16,"min":2} + DEFAULTFONTSIZE=16 + ``` - 支持配置字体随机颜色 + ``` + CUSTOMCOLORGROUP=["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"] + ``` -- Gitee