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 1/2] =?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 @@ @@ -193,11 +193,11 @@ return { isShowSearch: false, searchForm: { - alarmType: '警告类型', - warnHand: '处理状态', + alarmType: '', + warnHand: '', tick: [], - StartTick: '开始时间', - EndTick: '结束时间', + StartTick: '', + EndTick: '', }, warnOption: [ { @@ -217,6 +217,16 @@ value: 4 }, ], + handOption: [ + { + label: '已处理', + value: 1 + }, + { + label: '未处理', + value: 2 + }, + ], warnList: [{ warnHand: 1 }, { @@ -317,6 +327,13 @@ this.loadmore() }, methods: { + clearform() { + this.searchForm = {} + this.isShowSearch = false; + }, + onsubmit() { + console.log(this.searchForm) + }, // 跳转详情页面 toDetail(row) { uni.navigateTo({ diff --git a/monitorMobile/pages/earlyWarning/detail.vue b/monitorMobile/pages/earlyWarning/detail.vue index c806832..909ee27 100644 --- a/monitorMobile/pages/earlyWarning/detail.vue +++ b/monitorMobile/pages/earlyWarning/detail.vue @@ -17,7 +17,7 @@ 班级: - 暂无数据 + 班级 @@ -25,7 +25,7 @@ 告警摄像头: - 演示学校 + 摄像头 @@ -33,7 +33,7 @@ 告警类型: - 演示学校 + 类型 @@ -58,7 +58,7 @@ 备注信息: - 11111111111111111111111111111111111111111111111aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa撒大大飒飒水水水水水水顶顶顶顶顶反对 + 暂无数据 @@ -67,7 +67,7 @@ 处理意见: - 11111111111111111111111111111111111111111111111aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa撒大大飒飒水水水水水水顶顶顶顶顶反对 + 暂无数据 @@ -267,6 +267,7 @@ .valueBox { color: #333333; font-weight: 700; + } } @@ -282,7 +283,7 @@ margin-top: 20rpx; color: #333333; font-weight: 700; - min-height: 100rpx; + min-height: 50rpx; word-break: break-all; } } diff --git a/monitorMobile/pages/monitor/index.vue b/monitorMobile/pages/monitor/index.vue index a754c50..d2fc90d 100644 --- a/monitorMobile/pages/monitor/index.vue +++ b/monitorMobile/pages/monitor/index.vue @@ -385,7 +385,7 @@ // height: calc(100% - 375rpx); .inspectionCenter { width: 100%; - height: calc(100% - 44rpx); + height: calc(100% - 88rpx); position: relative; .u-modal__title {