diff --git a/monitorMobile/components/tki-tree/style.css b/monitorMobile/components/tki-tree/style.css new file mode 100644 index 0000000..cb997b8 --- /dev/null +++ b/monitorMobile/components/tki-tree/style.css @@ -0,0 +1,151 @@ +.tki-tree-mask { + position: fixed; + top: 0rpx; + right: 0rpx; + bottom: 0rpx; + left: 0rpx; + z-index: 9998; + background-color: rgba(0, 0, 0, 0.6); + opacity: 0; + transition: all 0.3s ease; + visibility: hidden; +} +.tki-tree-mask.show { + visibility: visible; + opacity: 1; +} +.tki-tree-cnt { + position: fixed; + top: 0rpx; + right: 0rpx; + bottom: 0rpx; + left: 0rpx; + z-index: 9999; + top: 160rpx; + transition: all 0.3s ease; + transform: translateY(100%); +} +.tki-tree-cnt.show { + transform: translateY(0); +} +.tki-tree-bar { + background-color: #fff; + height: 72rpx; + padding-left: 20rpx; + padding-right: 20rpx; + display: flex; + justify-content: space-between; + align-items: center; + box-sizing: border-box; + border-bottom-width: 1rpx !important; + border-bottom-style: solid; + border-bottom-color: #f5f5f5; + font-size: 32rpx; + color: #757575; + line-height: 1; +} +.tki-tree-bar-confirm { + color: #07bb07; +} +.tki-tree-view { + position: absolute; + top: 0rpx; + right: 0rpx; + bottom: 0rpx; + left: 0rpx; + top: 72rpx; + background-color: #fff; + padding-top: 20rpx; + padding-right: 20rpx; + padding-bottom: 20rpx; + padding-left: 20rpx; +} +.tki-tree-view-sc { + height: 100%; + overflow: hidden; +} +.tki-tree-item { + display: flex; + justify-content: space-between; + align-items: center; + font-size: 26rpx; + color: #757575; + line-height: 1; + height: 0; + opacity: 0; + transition: 0.2s; + position: relative; + overflow: hidden; +} +.tki-tree-item.show { + height: 80rpx; + opacity: 1; +} +.tki-tree-item.showchild:before { + transform: rotate(90deg); +} +.tki-tree-item.last:before { + opacity: 0; +} +.tki-tree-icon { + width: 26rpx; + height: 26rpx; + margin-right: 8rpx; +} +.tki-tree-label { + flex: 1; + display: flex; + align-items: center; + height: 100%; + line-height: 1.2; +} +.tki-tree-check { + width: 40px; + height: 40px; + display: flex; + justify-content: center; + align-items: center; +} +.tki-tree-check-yes, +.tki-tree-check-no { + width: 20px; + height: 20px; + 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-style: solid; + border-color: #07bb07; + display: flex; + justify-content: center; + align-items: center; + box-sizing: border-box; +} +.tki-tree-check-yes-b { + width: 12px; + height: 12px; + border-top-left-radius: 20%; + border-top-right-radius: 20%; + border-bottom-right-radius: 20%; + border-bottom-left-radius: 20%; + background-color: #07bb07; +} +.tki-tree-check .radio { + border-top-left-radius: 50%; + border-top-right-radius: 50%; + border-bottom-right-radius: 50%; + border-bottom-left-radius: 50%; +} +.tki-tree-check .radio .tki-tree-check-yes-b { + border-top-left-radius: 50%; + border-top-right-radius: 50%; + border-bottom-right-radius: 50%; + border-bottom-left-radius: 50%; +} +.hover-c { + opacity: 0.6; +} diff --git a/monitorMobile/components/tki-tree/tki-tree.vue b/monitorMobile/components/tki-tree/tki-tree.vue new file mode 100644 index 0000000..b3905f2 --- /dev/null +++ b/monitorMobile/components/tki-tree/tki-tree.vue @@ -0,0 +1,302 @@ + + + + + diff --git a/monitorMobile/pages.json b/monitorMobile/pages.json index 98047c7..b7c700b 100644 --- a/monitorMobile/pages.json +++ b/monitorMobile/pages.json @@ -128,6 +128,12 @@ "navigationBarTitleText": "处理结果" } }, + { + "path": "pages/monitor/index", + "style": { + "navigationBarTitleText": "监控管理" + } + }, // 我的 { "path": "pages/my/index", diff --git a/monitorMobile/pages/earlyWarning/components/inspectionCenter.vue b/monitorMobile/pages/earlyWarning/components/inspectionCenter.vue index bd6fb87..c62ce7d 100644 --- a/monitorMobile/pages/earlyWarning/components/inspectionCenter.vue +++ b/monitorMobile/pages/earlyWarning/components/inspectionCenter.vue @@ -460,7 +460,7 @@ padding: 10px; box-sizing: border-box; // height: 600px; - padding-bottom: 50px; + padding-bottom: 30px; .liBox { @@ -547,7 +547,7 @@ margin-top: 18rpx; .txt { - font-size: 28rpx; + font-size: 26rpx; color: #333333; } } diff --git a/monitorMobile/pages/earlyWarning/components/warningInfo.vue b/monitorMobile/pages/earlyWarning/components/warningInfo.vue index 2c00a03..7425049 100644 --- a/monitorMobile/pages/earlyWarning/components/warningInfo.vue +++ b/monitorMobile/pages/earlyWarning/components/warningInfo.vue @@ -2,14 +2,14 @@ - + @@ -17,6 +17,13 @@ + 筛选 + 周界入侵,未处理,2024-8-24 18:06:12 - 2024-8-24 18:06:12 + + + + + @@ -85,88 +92,70 @@ + + + 学校名称学校名称学校名称学校名称 + + + {{item.warnHand == 1 ? '已处理' : '未处理'}} + + - - - 学校名称学校名称学校名称学校名称 - - - {{item.warnHand == 1 ? '已处理' : '未处理'}} - - - - - - 警告类型:周界入侵 - - - - - - 警告摄像头:厨房(良景) - - + + + + 姓名:杨云 + + + + + 系部:安环部 + + + + + + + 专业:环艺 + + + + + 班级:第二班 + + + + - - - - 姓名:杨云 - - - - - 系部:安环部 - - - - - - - 专业:环艺 - - - - - 班级:第二班 - - - - - - - 时间:2024-08-15 11:59:12 - - - - - - - + + - 查看 + 警告类型:周界入侵 - - - - - - 处理 + + + + 警告摄像头:厨房(良景) - - + + + + + 时间:2024-08-15 11:59:12 + + - 删除 + 查看 @@ -175,12 +164,6 @@ - - - 是否确定删除该预警吗? - - \ No newline at end of file diff --git a/monitorMobile/pages/earlyWarning/index.vue b/monitorMobile/pages/earlyWarning/index.vue index 1dce995..57e850d 100644 --- a/monitorMobile/pages/earlyWarning/index.vue +++ b/monitorMobile/pages/earlyWarning/index.vue @@ -2,23 +2,29 @@ - - + + + + - + @@ -30,7 +36,7 @@ @@ -94,50 +100,25 @@ height: 100%; .headerBox { - height: 380rpx; - // background: url("@/static/image/earlyWarning/warnBack.png") no-repeat center center / cover; + height: 340rpx; + background: url("@/static/image/earlyWarning/back.png") no-repeat center center / cover; + position: relative; image { width: 100%; height: 100%; - } - .selectModel { - position: absolute; - left: 60rpx; - top: 108rpx; - display: flex; - justify-content: center; - align-items: center; - - .modelName { - font-size: 34rpx; - color: #fff; - font-family: PingFang SC; - margin-right: 20rpx; - } - - image { - width: 24rpx; - height: 12rpx; - } } - .selectPopupBox { - padding: 0 10px; - box-sizing: border-box; - - .modelLi { - height: 100rpx; - line-height: 100rpx; - text-align: center; - border-bottom: 1px solid #efecec; + .logo { + image { + height: 46rpx; } - .active { - color: rgb(35, 136, 255); - } + position: absolute; + left: 36rpx; + top: 110rpx; } } diff --git a/monitorMobile/pages/monitor/index.vue b/monitorMobile/pages/monitor/index.vue new file mode 100644 index 0000000..c62ce7d --- /dev/null +++ b/monitorMobile/pages/monitor/index.vue @@ -0,0 +1,600 @@ + + + + + \ No newline at end of file diff --git a/monitorMobile/static/image/earlyWarning/arrow1.png b/monitorMobile/static/image/earlyWarning/arrow1.png new file mode 100644 index 0000000..73792a2 Binary files /dev/null and b/monitorMobile/static/image/earlyWarning/arrow1.png differ diff --git a/monitorMobile/static/image/earlyWarning/arrow2.png b/monitorMobile/static/image/earlyWarning/arrow2.png new file mode 100644 index 0000000..99ce021 Binary files /dev/null and b/monitorMobile/static/image/earlyWarning/arrow2.png differ diff --git a/monitorMobile/static/image/earlyWarning/back.png b/monitorMobile/static/image/earlyWarning/back.png new file mode 100644 index 0000000..2e1f0fe Binary files /dev/null and b/monitorMobile/static/image/earlyWarning/back.png differ diff --git a/monitorMobile/static/image/earlyWarning/logo.png b/monitorMobile/static/image/earlyWarning/logo.png new file mode 100644 index 0000000..5901d98 Binary files /dev/null and b/monitorMobile/static/image/earlyWarning/logo.png differ diff --git a/monitorMobile/static/image/earlyWarning/screen.png b/monitorMobile/static/image/earlyWarning/screen.png index 76bb7d7..d6fd787 100644 Binary files a/monitorMobile/static/image/earlyWarning/screen.png and b/monitorMobile/static/image/earlyWarning/screen.png differ