diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 09b4de7..4401722 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -99,6 +99,52 @@ html, body, #app, .el-container, .el-aside, .el-main { } } +.modal-box { + z-index: -1 !important; + position: static !important; + + .el-drawer { + width: 900px !important; + background-color: transparent; + } +} + +.left-arrow { + position: absolute; + top: 1095px; + left: 900px; + width: 100px; + height: 114px; + background-image: url('../images/topAndDown/sp_icon_zyc.png'); +} + +.shrink-left { + position: absolute; + top: 1095px; + left: 0; + width: 100px; + height: 114px; + background-image: url('../images/topAndDown/sp_yyc.png'); +} + +.right-arrow { + position: absolute; + top: 1095px; + right: 900px; + width: 100px; + height: 114px; + background-image: url('../images/topAndDown/sp_yyc.png'); +} + +.shrink-right { + position: absolute; + top: 1095px; + right: 0; + width: 100px; + height: 114px; + background-image: url('../images/topAndDown/sp_icon_zyc.png'); +} + .switch-btn { display: flex; justify-content: space-between; @@ -152,4 +198,4 @@ html, body, #app, .el-container, .el-aside, .el-main { margin: 50px 263px 0 0; transform: rotate(180deg); } -} \ No newline at end of file +} diff --git a/src/views/tunnel/index.vue b/src/views/tunnel/index.vue index f8d17cb..506b82f 100644 --- a/src/views/tunnel/index.vue +++ b/src/views/tunnel/index.vue @@ -20,13 +20,41 @@ - - - - - - - + +
+ + + + + +
+
+
+
+ + + + + +
+
+
@@ -47,6 +75,9 @@ import UsedEle from "@/components/content/usedEle/UsedEle.vue"; import WindPressureList from "@/components/content/windPressure/WindPressureList.vue"; import AirInfo from "@/components/content/airInfo/AirInfo.vue"; import BadGasInfo from "@/components/content/badGasInfo/BadGasInfo.vue"; + +const drawerLeft = ref(true) +const drawerRight = ref(true) const currentSite = ref('松江站') const currentUser = ref('admin') const btnList = ref([ @@ -71,9 +102,18 @@ const btnList = ref([ name: '模拟仿真' }, ]) + const getImageUrl = (name) => { return new URL(`../../assets/images/topAndDown/${name}`, import.meta.url).href } +const closeLeft = () => { + drawerLeft.value = !drawerLeft.value +} +const closeRight = () => { + drawerRight.value = !drawerRight.value +} - +