From bb914b0cbf1f151eebc70e806df7e825786ab495 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期五, 10 十二月 2021 18:47:39 +0800
Subject: [PATCH] 改
---
src/pages/visual/index/App.vue | 171 ++------------------------------------------------------
1 files changed, 7 insertions(+), 164 deletions(-)
diff --git a/src/pages/visual/index/App.vue b/src/pages/visual/index/App.vue
index 51303f5..b508e19 100644
--- a/src/pages/visual/index/App.vue
+++ b/src/pages/visual/index/App.vue
@@ -9,7 +9,7 @@
style="animation-duration: 0.7s;background: #051130;width:315px;float:left;height:100%"
>
<div class="tree-box" style="border: 2px solid #182c65;margin-top:7px">
- <left-nav appName="Camera" :height="screenHeight - 30"></left-nav>
+ <left-nav :height="screenHeight - 30"></left-nav>
</div>
</div>
@@ -20,7 +20,7 @@
<script>
//import LeftNav from "../components/LeftNav.vue";
-import LeftNav from "@/components/LeftNav.vue";
+import LeftNav from "../components/LeftNav.vue";
import TopNav from "../components/TopNav.vue";
import Home from "./home";
@@ -28,7 +28,7 @@
mounted() {
this.screenHeight = document.documentElement.clientHeight - 90;
this.getCenter();
- this.TreeDataPool.showTreeBox = false;
+ this.TreeDataPool.showTreeBox = true;
this.screenHeight = document.documentElement.clientHeight - 90;
document.title = "SmartAI";
},
@@ -71,18 +71,18 @@
.tree-menu {
max-width: 270px !important;
}
-.box-card .s-card-right-double{
+.box-card .s-card-right-double {
background-color: transparent;
}
-.box-card .s-card-right-signal{
+.box-card .s-card-right-signal {
background-color: transparent;
}
.left-tree-box .el-menu-vertical-demo:hover {
overflow-y: visible;
overflow-x: hidden;
}
-.el-menu-vertical-demo::-webkit-scrollbar{
- background-color: transparent!important;
+.el-menu-vertical-demo::-webkit-scrollbar {
+ background-color: transparent !important;
}
.el-menu-vertical-demo::-webkit-scrollbar-thumb {
background-color: transparent !important;
@@ -216,162 +216,5 @@
color: #3d68e1;
cursor: pointer;
}
-}
-</style>
-<style lang="scss">
-.left-tree-box {
- width: 315px;
- margin-left: 5px;
-
- .el-menu {
- border-right: solid 0px #e6e6e6 !important;
- }
- ul {
- li {
- .el-menu-item-group__title {
- padding: none;
- }
- }
- .el-submenu__title,
- .el-menu-item {
- padding-left: 10px !important;
- color: #222222 !important;
- font-size: 17px !important;
- height: 35px;
- line-height: 35px;
- .el-submenu__icon-arrow {
- font-size: 12px !important;
- padding-right: 2px !important;
- }
- i {
- padding-right: 10px !important;
- font-size: 24px !important;
- color: #95b7ff !important;
- }
- }
- }
- .navTopSelect {
- .el-input__icon {
- line-height: 34px;
- }
- // padding: 24px 0px;
- padding-top: 24px;
- padding-bottom: 12px;
- input:nth-child(1) {
- height: 34px;
- box-shadow: 0 2px 11px -6px rgba(95, 95, 95, 0.5);
- }
- input:nth-child(2) {
- height: 34px;
- width: 103px;
- box-shadow: 0 2px 11px -6px rgba(95, 95, 95, 0.5);
- }
- }
-
- .el-input__inner {
- background: #0e2457;
- border: 1px solid #053e83;
- box-shadow: 0 2px 11px -6px rgba(95, 95, 95, 0.5);
- border-radius: 4px;
- color: #95b7ff;
- }
- .el-select .el-input .el-select__caret {
- color: #95b7ff;
- }
- input::-webkit-input-placeholder,
- textarea::-webkit-input-placeholder {
- /* WebKit browsers */
- color: #9fbcfc;
- }
- .isCollapse {
- font-size: 20px;
- padding: 0px 5px;
- }
- .el-menu-vertical-demo:not(.el-menu--collapse) {
- .fontFamily,
- .el-submenu__title .fontFamily,
- .el-submenu__title .fontFamily {
- padding-right: 20px;
- font-size: 22px;
- }
- }
- .tree-anchor .fontFamily {
- font-size: 16px !important;
- color: #2074ef;
- padding-right: 0px !important;
- }
- .el-submenu__title,
- .el-menu-item {
- text-align: left;
- }
-
- .item-group {
- margin-left: 33px;
- margin-top: -12px;
- }
-}
-.tree-close {
- width: 10%;
- margin-left: 10px;
- font-size: 20px;
- display: inline-block;
- color: #9ea0a0;
- vertical-align: middle;
- cursor: pointer;
-}
-
-.tree-edit {
- z-index: 1;
- font-size: 16px;
- position: absolute;
- top: 81px;
- cursor: pointer;
- button {
- border: 0px;
- color: #3d68e1;
-
- background-color: transparent;
- cursor: pointer;
- outline: none;
- }
- button:hover {
- color: rgb(82, 193, 245);
- }
-}
-.tree-lock {
- left: 76%;
- button {
- color: #000;
- }
-}
-
-.gb-lock {
- left: 76%;
- top: -27px;
- button {
- color: #000;
- }
-}
-.area-add {
- left: 35%;
-}
-.camera-add {
- left: 45%;
-}
-.tree-font {
- font-family: PingFangSC-Medium;
- font-size: 14px;
- color: #95b7ff;
-}
-
-.gb-refresh {
- top: -27px;
- left: 113px;
-}
-.atooltip.el-tooltip__popper[x-placement^="bottom"] .popper__arrow {
- border-bottom-color: #00000090;
-}
-.atooltip.el-tooltip__popper[x-placement^="bottom"] .popper__arrow:after {
- border-bottom-color: #68666690;
}
</style>
--
Gitblit v1.8.0