From cc565fb3bf0da05be89eeeb3214fb6b16096f5bd Mon Sep 17 00:00:00 2001 From: wwp <782568523@qq.com> Date: Mon, 2 Sep 2024 11:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitorMobile/components/tki-tree/style.css | 20 +++--- .../components/tki-tree/tki-tree.vue | 2 +- .../earlyWarning/components/warningInfo.vue | 20 +++++- monitorMobile/pages/earlyWarning/detail.vue | 2 +- monitorMobile/pages/monitor/index.vue | 68 +------------------ .../uni-datetime-picker/calendar.vue | 31 +++++---- 6 files changed, 54 insertions(+), 89 deletions(-) diff --git a/monitorMobile/components/tki-tree/style.css b/monitorMobile/components/tki-tree/style.css index d6301ae..0e40b12 100644 --- a/monitorMobile/components/tki-tree/style.css +++ b/monitorMobile/components/tki-tree/style.css @@ -108,16 +108,16 @@ } .tki-tree-check-yes, .tki-tree-check-no { - width: 20px; - height: 20px; + width: 18px; + height: 18px; border-top-left-radius: 20%; border-top-right-radius: 20%; border-bottom-right-radius: 20%; border-bottom-left-radius: 20%; - border-top-width: 1rpx; - border-left-width: 1rpx; - border-bottom-width: 1rpx; - border-right-width: 1rpx; + border-top-width: 1px; + border-left-width: 1px; + border-bottom-width: 1px; + border-right-width: 1px; border-style: solid; border-color: #2388FF; display: flex; @@ -126,8 +126,8 @@ box-sizing: border-box; } .tki-tree-check-yes-b { - width: 12px; - height: 12px; + width: 18px; + height: 18px; border-top-left-radius: 20%; border-top-right-radius: 20%; border-bottom-right-radius: 20%; @@ -145,6 +145,10 @@ border-top-right-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; + color: #fff; + display: flex; + justify-content: center; + align-items: center; } .hover-c { opacity: 0.6; diff --git a/monitorMobile/components/tki-tree/tki-tree.vue b/monitorMobile/components/tki-tree/tki-tree.vue index 2a31da5..54e716d 100644 --- a/monitorMobile/components/tki-tree/tki-tree.vue +++ b/monitorMobile/components/tki-tree/tki-tree.vue @@ -27,7 +27,7 @@ - + diff --git a/monitorMobile/pages/earlyWarning/components/warningInfo.vue b/monitorMobile/pages/earlyWarning/components/warningInfo.vue index 69671f0..9c1efec 100644 --- a/monitorMobile/pages/earlyWarning/components/warningInfo.vue +++ b/monitorMobile/pages/earlyWarning/components/warningInfo.vue @@ -175,7 +175,7 @@ + :options="warnOption" title="预警类型" search-place-holder="预警类型" /> @@ -199,6 +199,24 @@ StartTick: '开始时间', EndTick: '结束时间', }, + warnOption: [ + { + label: '人群聚集', + value: 1 + }, + { + label: '烟火警告', + value: 2 + }, + { + label: '未佩戴口罩检查', + value: 3 + }, + { + label: '周界入侵', + value: 4 + }, + ], warnList: [{ warnHand: 1 }, { diff --git a/monitorMobile/pages/earlyWarning/detail.vue b/monitorMobile/pages/earlyWarning/detail.vue index 93b29a8..c806832 100644 --- a/monitorMobile/pages/earlyWarning/detail.vue +++ b/monitorMobile/pages/earlyWarning/detail.vue @@ -3,7 +3,7 @@ 周界入侵-2024-08-20 18:01:41 - + 所属学校: diff --git a/monitorMobile/pages/monitor/index.vue b/monitorMobile/pages/monitor/index.vue index 1b7e684..a754c50 100644 --- a/monitorMobile/pages/monitor/index.vue +++ b/monitorMobile/pages/monitor/index.vue @@ -1,9 +1,7 @@