|
@@ -1,40 +1,47 @@
|
|
<template>
|
|
<template>
|
|
- <div class="appmian">
|
|
|
|
- <div class="lfetflex">
|
|
|
|
- <MenuMine ref="menumine"/>
|
|
|
|
- <MenuSensor ref="menusen"/>
|
|
|
|
- <Menumap ref="Menumapref"/>
|
|
|
|
- <Menudisaster ref="Menudisasterref"/>
|
|
|
|
- </div>
|
|
|
|
- <div class="rightflex">
|
|
|
|
- <div class="hie">
|
|
|
|
- <MenuCheck ref="menucheck"/>
|
|
|
|
- <menuphysics2 ref="menuphysics"/>
|
|
|
|
- <Menupath ref="menupath"/>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="appmian">
|
|
|
|
+ <div class="lfetflex">
|
|
|
|
+ <MenuMine ref="menumine" />
|
|
|
|
+ <MenuSensor ref="menusen" />
|
|
|
|
+ <Menumap ref="Menumapref" />
|
|
|
|
+ <Menuventfan ref="Menuventfanpref" />
|
|
|
|
+ <Menuventdoor ref="Menuventdoorpref" />
|
|
|
|
+ <Menupump ref="Menupumppref" />
|
|
|
|
+
|
|
|
|
+ <Menudisaster ref="Menudisasterref" />
|
|
</div>
|
|
</div>
|
|
- </template>
|
|
|
|
|
|
+ <div class="rightflex">
|
|
|
|
+ <div class="hie">
|
|
|
|
+ <MenuCheck ref="menucheck" />
|
|
|
|
+ <menuphysics2 ref="menuphysics" />
|
|
|
|
+ <Menupath ref="menupath" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import { ref, onMounted,watch,reactive,nextTick} from "vue";
|
|
|
|
-import {RouterView,RouterLink,useRouter,createRouter } from "vue-router"
|
|
|
|
-import MenuMine from "./components/MenuMine.vue"
|
|
|
|
-import MenuSensor from "./components/MenuSensor.vue"
|
|
|
|
-import Menudisaster from "./components/Menudisaster.vue"
|
|
|
|
-import MenuCheck from "./components/MenuCheck.vue"
|
|
|
|
-import menuphysics2 from "./components/MenuPhysics.vue"
|
|
|
|
-import Menupath from "./components/Menupath.vue"
|
|
|
|
-import Menumap from "./components/Menumap.vue"
|
|
|
|
-import Vector from "@/assets/img/Vector.png";
|
|
|
|
-import icon from "@/assets/img/icon.png";
|
|
|
|
-import logo from "@/assets/logo.png";
|
|
|
|
|
|
+import { ref, onMounted, watch, reactive, nextTick } from "vue"
|
|
|
|
+import { RouterView, RouterLink, useRouter, createRouter } from "vue-router"
|
|
|
|
+import MenuMine from "./components/MenuMine.vue"
|
|
|
|
+import MenuSensor from "./components/MenuSensor.vue"
|
|
|
|
+import Menudisaster from "./components/Menudisaster.vue"
|
|
|
|
+import MenuCheck from "./components/MenuCheck.vue"
|
|
|
|
+import menuphysics2 from "./components/MenuPhysics.vue"
|
|
|
|
+import Menupath from "./components/Menupath.vue"
|
|
|
|
+import Menumap from "./components/Menumap.vue"
|
|
|
|
+import Menuventdoor from "./components/Menuventdoor.vue"
|
|
|
|
+import Menuventfan from "./components/Menuventfan.vue"
|
|
|
|
+
|
|
|
|
+import Menupump from "./components/Menupump.vue"
|
|
|
|
|
|
-const title = "灾情推演软件";
|
|
|
|
-const activeIndex = ref('')
|
|
|
|
- onMounted(() => {
|
|
|
|
- });
|
|
|
|
|
|
+import Vector from "@/assets/img/Vector.png"
|
|
|
|
+import icon from "@/assets/img/icon.png"
|
|
|
|
+import logo from "@/assets/logo.png"
|
|
|
|
+
|
|
|
|
+const title = "灾情推演软件"
|
|
|
|
+const activeIndex = ref("")
|
|
|
|
+onMounted(() => {})
|
|
// beforeRouteLeave((to,from,next)=>{
|
|
// beforeRouteLeave((to,from,next)=>{
|
|
// to.meta.keepAlive = true
|
|
// to.meta.keepAlive = true
|
|
// next(0)
|
|
// next(0)
|
|
@@ -43,33 +50,42 @@ const activeIndex = ref('')
|
|
// to.meta.keepAlive = true;
|
|
// to.meta.keepAlive = true;
|
|
// next(0);
|
|
// next(0);
|
|
// }
|
|
// }
|
|
- let router=useRouter();
|
|
|
|
- let menumine=ref();
|
|
|
|
-let menusen=ref();
|
|
|
|
-let menucheck =ref();
|
|
|
|
-let menuphysics=ref();
|
|
|
|
-let menupath=ref();
|
|
|
|
-let Menumapref=ref();
|
|
|
|
-let Menudisasterref=ref();
|
|
|
|
-const clickreture=()=>{
|
|
|
|
-}
|
|
|
|
-const showmenum=()=>{
|
|
|
|
- menumine.value.dialogVisible=true;
|
|
|
|
- menusen.value.sendialogVisible=true;
|
|
|
|
- Menudisasterref.value.dialogVisible=true
|
|
|
|
- menucheck.value.sendialogVisible=true;
|
|
|
|
- menuphysics.value.sendialogVisible=true;
|
|
|
|
- menupath.value.sendialogVisible=true;
|
|
|
|
- Menumapref.value.sendialogVisible=true;
|
|
|
|
|
|
+let router = useRouter()
|
|
|
|
+let menumine = ref()
|
|
|
|
+let menusen = ref()
|
|
|
|
+let menucheck = ref()
|
|
|
|
+let menuphysics = ref()
|
|
|
|
+let menupath = ref()
|
|
|
|
+let Menumapref = ref()
|
|
|
|
+let Menupumppref = ref()
|
|
|
|
+let Menuventfanpref = ref()
|
|
|
|
+
|
|
|
|
+let Menuventdoorpref = ref()
|
|
|
|
+let Menudisasterref = ref()
|
|
|
|
+const clickreture = () => {}
|
|
|
|
+const showmenum = () => {
|
|
|
|
+ menumine.value.dialogVisible = true
|
|
|
|
+ menusen.value.sendialogVisible = true
|
|
|
|
+ Menudisasterref.value.dialogVisible = true
|
|
|
|
+ menucheck.value.sendialogVisible = true
|
|
|
|
+ menuphysics.value.sendialogVisible = true
|
|
|
|
+ menupath.value.sendialogVisible = true
|
|
|
|
+ Menumapref.value.sendialogVisible = true
|
|
|
|
+ Menupumppref.value.sendialogVisible = true
|
|
|
|
+ Menuventfanpref.value.sendialogVisible = true
|
|
|
|
+ Menuventdoorpref.value.sendialogVisible=true
|
|
}
|
|
}
|
|
-const menumfalse=()=>{
|
|
|
|
- menumine.value.dialogVisible=false;
|
|
|
|
- menusen.value.sendialogVisible=false;
|
|
|
|
- Menudisasterref.value.dialogVisible=false
|
|
|
|
- menucheck.value.sendialogVisible=false;
|
|
|
|
- menuphysics.value.sendialogVisible=false;
|
|
|
|
- menupath.value.sendialogVisible=false;
|
|
|
|
- Menumapref.value.sendialogVisible=false;
|
|
|
|
|
|
+const menumfalse = () => {
|
|
|
|
+ menumine.value.dialogVisible = false
|
|
|
|
+ menusen.value.sendialogVisible = false
|
|
|
|
+ Menudisasterref.value.dialogVisible = false
|
|
|
|
+ menucheck.value.sendialogVisible = false
|
|
|
|
+ menuphysics.value.sendialogVisible = false
|
|
|
|
+ menupath.value.sendialogVisible = false
|
|
|
|
+ Menumapref.value.sendialogVisible = false
|
|
|
|
+ Menupumppref.value.sendialogVisible = false
|
|
|
|
+ Menuventfanpref.value.sendialogVisible = false
|
|
|
|
+ Menuventdoorpref.value.sendialogVisible=false
|
|
}
|
|
}
|
|
// const handleSelect = (key,keyPath) => {
|
|
// const handleSelect = (key,keyPath) => {
|
|
// switch (key) {
|
|
// switch (key) {
|
|
@@ -101,181 +117,192 @@ const menumfalse=()=>{
|
|
// break;
|
|
// break;
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
-defineExpose({showmenum,menumfalse});
|
|
|
|
- </script>
|
|
|
|
|
|
+defineExpose({ showmenum, menumfalse })
|
|
|
|
+</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-
|
|
|
|
-.appmian{
|
|
|
|
-
|
|
|
|
- .el-main{
|
|
|
|
- --el-main-padding: 0 !important;
|
|
|
|
- }
|
|
|
|
- .el-header{
|
|
|
|
- padding:0;
|
|
|
|
|
|
+.appmian {
|
|
|
|
+ .el-main {
|
|
|
|
+ --el-main-padding: 0 !important;
|
|
|
|
+ }
|
|
|
|
+ .el-header {
|
|
|
|
+ padding: 0;
|
|
margin: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
position: absolute;
|
|
z-index: 206;
|
|
z-index: 206;
|
|
top: 0;
|
|
top: 0;
|
|
- }
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.ve_menu_logo {
|
|
.ve_menu_logo {
|
|
- width: 100%;
|
|
|
|
- height:70px;
|
|
|
|
- background: #0D1639;
|
|
|
|
- white-space: nowrap;
|
|
|
|
- text-align: left;
|
|
|
|
- overflow: hidden;
|
|
|
|
- display: flex;
|
|
|
|
- background: #0D1639;
|
|
|
|
- box-shadow: inset 0px 0px 17px 5px rgba(12,97,197,0.2);
|
|
|
|
- border-radius: 0px 0px 0px 0px;
|
|
|
|
- border-bottom: 1px solid;
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 70px;
|
|
|
|
+ background: #0d1639;
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ text-align: left;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ display: flex;
|
|
|
|
+ background: #0d1639;
|
|
|
|
+ box-shadow: inset 0px 0px 17px 5px rgba(12, 97, 197, 0.2);
|
|
|
|
+ border-radius: 0px 0px 0px 0px;
|
|
|
|
+ border-bottom: 1px solid;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ border-image: linear-gradient(
|
|
|
|
+ 28deg,
|
|
|
|
+ rgba(31, 107, 255, 1),
|
|
|
|
+ rgba(31, 107, 255, 0)
|
|
|
|
+ )
|
|
|
|
+ 1 1;
|
|
|
|
+ .ve_title {
|
|
|
|
+ }
|
|
|
|
+ .ve_logo_img {
|
|
|
|
+ padding-left: 30px;
|
|
|
|
+ height: 100%;
|
|
|
|
+ display: inline-block;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- border-image: linear-gradient(28deg, rgba(31, 107, 255, 1), rgba(31, 107, 255, 0)) 1 1;
|
|
|
|
- .ve_title{
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- .ve_logo_img {
|
|
|
|
- padding-left: 30px;
|
|
|
|
- height: 100%;
|
|
|
|
- display: inline-block;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- vertical-align: middle;
|
|
|
|
- padding: 15px;
|
|
|
|
- }
|
|
|
|
- .ve_logo_title {
|
|
|
|
- width: 160px;
|
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
+ padding: 15px;
|
|
|
|
+ }
|
|
|
|
+ .ve_logo_title {
|
|
|
|
+ width: 160px;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
margin: 0;
|
|
margin: 0;
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
- color: #68ADFF;
|
|
|
|
|
|
+ color: #68adff;
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
- }
|
|
|
|
- .el-menu-demo{
|
|
|
|
- width:60% !important;
|
|
|
|
- height: 70px;
|
|
|
|
- border: none !important;
|
|
|
|
- background: rgba(12,97,197,0);
|
|
|
|
- .el-menu-item{
|
|
|
|
- position: relative;
|
|
|
|
- width: 97px;
|
|
|
|
- font-family: Microsoft YaHei UI, Microsoft YaHei UI;
|
|
|
|
- font-weight: bold;
|
|
|
|
- font-size: 13px;
|
|
|
|
- color: #68ADFF;
|
|
|
|
- line-height: 15px;
|
|
|
|
- text-align: center;
|
|
|
|
- font-style: normal;
|
|
|
|
- text-transform: none;
|
|
|
|
- width: 110px;
|
|
|
|
- height: 70px;
|
|
|
|
- border-radius: 0px 0px 0px 0px;
|
|
|
|
- border:none;
|
|
|
|
- }
|
|
|
|
- .is-active{
|
|
|
|
- width: 110px;
|
|
|
|
|
|
+ }
|
|
|
|
+ .el-menu-demo {
|
|
|
|
+ width: 60% !important;
|
|
height: 70px;
|
|
height: 70px;
|
|
- background:radial-gradient(ellipse at 54px 0px, #3AA0FF -37%, #123066 53%);
|
|
|
|
- border-radius: 0px 0px 0px 0px;
|
|
|
|
- border: 1px solid;
|
|
|
|
- border-left: 1px solid rgba(16, 92, 240, 1);
|
|
|
|
- border-right: 1px solid rgba(18, 48, 102, 1);
|
|
|
|
- border-image: linear-gradient(347deg, rgba(16, 92, 240, 1), rgba(18, 48, 102, 1)) 1 1;
|
|
|
|
- &:after {
|
|
|
|
- width: 24px;
|
|
|
|
- height: 1px;
|
|
|
|
- background-color: #fff;
|
|
|
|
- -webkit-transition: all ease-out 0.2s;
|
|
|
|
- transition: all ease-out 0.2s;
|
|
|
|
- content: "";
|
|
|
|
- position: absolute;
|
|
|
|
- left: 50%;
|
|
|
|
- bottom: 15px;
|
|
|
|
- webkit-transform: translate(-50%, 0%);
|
|
|
|
- -moz-transform: translate(-50%,0%);
|
|
|
|
- transform: translate(-50%, 0%);
|
|
|
|
-}
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-.ve_right{
|
|
|
|
|
|
+ border: none !important;
|
|
|
|
+ background: rgba(12, 97, 197, 0);
|
|
|
|
+ .el-menu-item {
|
|
|
|
+ position: relative;
|
|
|
|
+ width: 97px;
|
|
|
|
+ font-family: Microsoft YaHei UI, Microsoft YaHei UI;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ color: #68adff;
|
|
|
|
+ line-height: 15px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ font-style: normal;
|
|
|
|
+ text-transform: none;
|
|
|
|
+ width: 110px;
|
|
|
|
+ height: 70px;
|
|
|
|
+ border-radius: 0px 0px 0px 0px;
|
|
|
|
+ border: none;
|
|
|
|
+ }
|
|
|
|
+ .is-active {
|
|
|
|
+ width: 110px;
|
|
|
|
+ height: 70px;
|
|
|
|
+ background: radial-gradient(
|
|
|
|
+ ellipse at 54px 0px,
|
|
|
|
+ #3aa0ff -37%,
|
|
|
|
+ #123066 53%
|
|
|
|
+ );
|
|
|
|
+ border-radius: 0px 0px 0px 0px;
|
|
|
|
+ border: 1px solid;
|
|
|
|
+ border-left: 1px solid rgba(16, 92, 240, 1);
|
|
|
|
+ border-right: 1px solid rgba(18, 48, 102, 1);
|
|
|
|
+ border-image: linear-gradient(
|
|
|
|
+ 347deg,
|
|
|
|
+ rgba(16, 92, 240, 1),
|
|
|
|
+ rgba(18, 48, 102, 1)
|
|
|
|
+ )
|
|
|
|
+ 1 1;
|
|
|
|
+ &:after {
|
|
|
|
+ width: 24px;
|
|
|
|
+ height: 1px;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ -webkit-transition: all ease-out 0.2s;
|
|
|
|
+ transition: all ease-out 0.2s;
|
|
|
|
+ content: "";
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 50%;
|
|
|
|
+ bottom: 15px;
|
|
|
|
+ webkit-transform: translate(-50%, 0%);
|
|
|
|
+ -moz-transform: translate(-50%, 0%);
|
|
|
|
+ transform: translate(-50%, 0%);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .ve_right {
|
|
height: 70px;
|
|
height: 70px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
- position:absolute;
|
|
|
|
|
|
+ position: absolute;
|
|
right: 0;
|
|
right: 0;
|
|
display: flex;
|
|
display: flex;
|
|
- .ve_time{
|
|
|
|
- height: 55px;
|
|
|
|
- padding-top: 15px;
|
|
|
|
- height: 70px;
|
|
|
|
- border-radius: 0px 0px 0px 0px;
|
|
|
|
- border-left: 2px solid rgba(12, 97, 197, 0.20);
|
|
|
|
- border-right: 2px solid rgba(12, 97, 197, 0.20);;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- // border-image: linear-gradient(347deg, rgba(31, 107, 255, 1), rgba(164, 195, 255, 1)) 1 1;
|
|
|
|
- span{
|
|
|
|
- display: block;
|
|
|
|
- font-family: Microsoft YaHei UI, Microsoft YaHei UI;
|
|
|
|
- color: #FFFFFF;
|
|
|
|
|
|
+ .ve_time {
|
|
|
|
+ height: 55px;
|
|
|
|
+ padding-top: 15px;
|
|
|
|
+ height: 70px;
|
|
|
|
+ border-radius: 0px 0px 0px 0px;
|
|
|
|
+ border-left: 2px solid rgba(12, 97, 197, 0.2);
|
|
|
|
+ border-right: 2px solid rgba(12, 97, 197, 0.2);
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ // border-image: linear-gradient(347deg, rgba(31, 107, 255, 1), rgba(164, 195, 255, 1)) 1 1;
|
|
|
|
+ span {
|
|
|
|
+ display: block;
|
|
|
|
+ font-family: Microsoft YaHei UI, Microsoft YaHei UI;
|
|
|
|
+ color: #ffffff;
|
|
text-align: center;
|
|
text-align: center;
|
|
font-style: normal;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
text-transform: none;
|
|
}
|
|
}
|
|
- .l_huoqing{
|
|
|
|
|
|
+ .l_huoqing {
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
line-height: 15px;
|
|
line-height: 15px;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
line-height: 2;
|
|
line-height: 2;
|
|
}
|
|
}
|
|
- .l_time{
|
|
|
|
|
|
+ .l_time {
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
line-height: 14px;
|
|
line-height: 14px;
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .ve_timeioc{
|
|
|
|
- width: 150px;
|
|
|
|
- height: 70px;
|
|
|
|
- // border-radius: 0px 0px 0px 0px;
|
|
|
|
- // border: 1px solid;
|
|
|
|
- // border-image: linear-gradient(347deg, rgba(16, 92, 240, 1), rgba(164, 195, 255, 1)) 1 1;
|
|
|
|
- font-family: Microsoft YaHei UI, Microsoft YaHei UI;
|
|
|
|
- font-weight: bold;
|
|
|
|
- font-size: 13px;
|
|
|
|
- color: #68ADFF;
|
|
|
|
- line-height: 15px;
|
|
|
|
- text-align: center;
|
|
|
|
- font-style: normal;
|
|
|
|
- text-transform: none;
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: center;
|
|
|
|
- align-items: center;
|
|
|
|
- span{
|
|
|
|
- padding-left: 15px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
|
|
+ .ve_timeioc {
|
|
|
|
+ width: 150px;
|
|
|
|
+ height: 70px;
|
|
|
|
+ // border-radius: 0px 0px 0px 0px;
|
|
|
|
+ // border: 1px solid;
|
|
|
|
+ // border-image: linear-gradient(347deg, rgba(16, 92, 240, 1), rgba(164, 195, 255, 1)) 1 1;
|
|
|
|
+ font-family: Microsoft YaHei UI, Microsoft YaHei UI;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ color: #68adff;
|
|
|
|
+ line-height: 15px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ font-style: normal;
|
|
|
|
+ text-transform: none;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ span {
|
|
|
|
+ padding-left: 15px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- </style>
|
|
|
|
|
|
+</style>
|
|
<style>
|
|
<style>
|
|
- body{
|
|
|
|
- width: 100%;
|
|
|
|
- height: 100vh;
|
|
|
|
- background: #161A2A ;
|
|
|
|
- }
|
|
|
|
- button:focus, button:focus-visible{
|
|
|
|
- outline:none;
|
|
|
|
- }
|
|
|
|
- .l_Dialog{
|
|
|
|
- /* position: absolute; */
|
|
|
|
- z-index: 206;
|
|
|
|
- top: 0;
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
|
|
+body {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100vh;
|
|
|
|
+ background: #161a2a;
|
|
|
|
+}
|
|
|
|
+button:focus,
|
|
|
|
+button:focus-visible {
|
|
|
|
+ outline: none;
|
|
|
|
+}
|
|
|
|
+.l_Dialog {
|
|
|
|
+ /* position: absolute; */
|
|
|
|
+ z-index: 206;
|
|
|
|
+ top: 0;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|
|
|
|
|
|
|
|
|