|
@@ -1,75 +1,61 @@
|
|
|
<template>
|
|
|
<el-aside class="MainAside">
|
|
|
- <el-menu class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" background-color="rgb(0 43 54)"
|
|
|
- text-color="#fff" active-text-color="#ffd04b" :default-active="$route.path" :collapse="isCollapse" router>
|
|
|
+ <el-menu class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" background-color="transparent"
|
|
|
+ text-color="#fff" active-text-color="#19c3eb" :default-active="$route.path" :collapse="isCollapse" router>
|
|
|
<el-menu-item index="/home/taskManagement">
|
|
|
- <i class="el-icon-picture-outline-round"></i>
|
|
|
- <span slot="title">任务管理显控</span>
|
|
|
+ <dv-decoration-11 style="width:200px;height:60px;">任务管理显控</dv-decoration-11>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/home/networkManagement">
|
|
|
- <i class="el-icon-s-help"></i>
|
|
|
- <span slot="title">通信管理显控</span>
|
|
|
+ <dv-decoration-11 style="width:200px;height:60px;">通信管理显控</dv-decoration-11>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/home/functionalityManagement">
|
|
|
- <i class="el-icon-data-line"></i>
|
|
|
- <span slot="title">健康管理显控</span>
|
|
|
+ <dv-decoration-11 style="width:200px;height:60px;">健康管理显控</dv-decoration-11>
|
|
|
</el-menu-item>
|
|
|
<el-submenu index="1">
|
|
|
<template slot="title">
|
|
|
- <i class="el-icon-location"></i>
|
|
|
- <span slot="title">侦察资源显控</span>
|
|
|
+ <dv-decoration-11 style="width:200px;height:60px;">侦察资源显控</dv-decoration-11>
|
|
|
</template>
|
|
|
<el-menu-item index="/home/radarInvestigation">
|
|
|
- <i class="el-icon-camera-solid"></i>
|
|
|
- <span slot="title">雷侦显控</span>
|
|
|
+ <dv-decoration-7 style="width:200px;height:60px;">雷侦显控</dv-decoration-7>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item disabled index="/home/telecomInvestigation">
|
|
|
- <i class="el-icon-camera-solid"></i>
|
|
|
- <span slot="title">通侦显控</span>
|
|
|
+ <dv-decoration-7 style="width:200px;height:60px;">通侦显控</dv-decoration-7>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item disabled index="/home/opticalInvestigation">
|
|
|
- <i class="el-icon-camera-solid"></i>
|
|
|
- <span slot="title">光电成像显控</span>
|
|
|
+ <dv-decoration-7 style="width:200px;height:60px;">光电成像显控</dv-decoration-7>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item disabled index="/home/sarInvestigation">
|
|
|
- <i class="el-icon-camera-solid"></i>
|
|
|
- <span slot="title">雷达成像显控</span>
|
|
|
+ <dv-decoration-7 style="width:200px;height:60px;">雷达成像显控</dv-decoration-7>
|
|
|
</el-menu-item>
|
|
|
</el-submenu>
|
|
|
<el-menu-item index="/home/intel">
|
|
|
- <i class="el-icon-tickets"></i>
|
|
|
- <span slot="title">情报处理分发</span>
|
|
|
+ <dv-decoration-11 style="width:200px;height:60px;">情报处理分发</dv-decoration-11>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/home/situation">
|
|
|
- <i class="el-icon-camera-solid"></i>
|
|
|
- <span slot="title">态势显控</span>
|
|
|
+ <dv-decoration-11 style="width:200px;height:60px;">态势显控</dv-decoration-11>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/home/dataManagement">
|
|
|
- <i class="el-icon-receiving"></i>
|
|
|
- <span slot="title">数据管理显控</span>
|
|
|
+ <dv-decoration-11 style="width:200px;height:60px;">数据管理显控</dv-decoration-11>
|
|
|
</el-menu-item>
|
|
|
|
|
|
</el-menu>
|
|
|
- <div @click="(isCollapse = !isCollapse)" class="collapse">
|
|
|
- <el-tooltip class="item" effect="dark" content="展开" placement="right">
|
|
|
- <i class="el-icon-d-arrow-right"
|
|
|
- style="font-size: 1.5em;font-weight: 600; display: table; margin: 0 auto; color: yellow;" v-if="isCollapse"></i>
|
|
|
- </el-tooltip>
|
|
|
- <el-tooltip class="item" effect="dark" content="收缩" placement="right">
|
|
|
- <i class="el-icon-d-arrow-left"
|
|
|
- style="font-size: 1.5em;font-weight: 600; display: table; margin: 0 auto;color: yellow;" v-if="!isCollapse"></i>
|
|
|
- </el-tooltip>
|
|
|
- </div>
|
|
|
+
|
|
|
</el-aside>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import { mapGetters } from 'vuex'
|
|
|
export default {
|
|
|
name: 'Aside',
|
|
|
data() {
|
|
|
return {
|
|
|
- isCollapse: true
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapGetters([
|
|
|
+ 'isCollapse'
|
|
|
+ ]),
|
|
|
+ },
|
|
|
methods: {
|
|
|
handleOpen(key, keyPath) {
|
|
|
console.log(key, keyPath);
|
|
@@ -82,11 +68,10 @@ export default {
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
-<style scoped>
|
|
|
+<style scoped>
|
|
|
.MainAside {
|
|
|
width: unset !important;
|
|
|
max-width: 300px;
|
|
|
- background-color: rgb(0 43 54);
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
@@ -95,10 +80,57 @@ export default {
|
|
|
min-height: 400px;
|
|
|
}
|
|
|
|
|
|
+.el-menu-item:hover{
|
|
|
+ color: #f46827 !important;
|
|
|
+ background: none !important;
|
|
|
+ text-decoration: underline;
|
|
|
+
|
|
|
+}
|
|
|
+.el-menu-item:hover i {
|
|
|
+ color: #f46827 !important;
|
|
|
+ }
|
|
|
+.el-menu-item{
|
|
|
+ padding-left: 0px !important;
|
|
|
+ height: 70px;
|
|
|
+}
|
|
|
+/deep/ .el-submenu__title{
|
|
|
+ padding-left: 0px !important;
|
|
|
+ height: 70px;
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-submenu__title:hover{
|
|
|
+ color: #f46827 !important;
|
|
|
+ background: none !important;
|
|
|
+ text-decoration: underline;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-submenu__title:hover i{
|
|
|
+ color: #f46827 !important;
|
|
|
+ background: none !important;
|
|
|
+ text-decoration: underline;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{
|
|
|
+ display: none;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+/deep/ .el-submenu>.el-submenu__title .el-submenu__icon-arrow{
|
|
|
+ display: none;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
.el-menu {
|
|
|
border: none;
|
|
|
}
|
|
|
|
|
|
+.el-menu--collapse {
|
|
|
+ width: 0px;
|
|
|
+}
|
|
|
+
|
|
|
.collapse {
|
|
|
position: absolute;
|
|
|
bottom: 40px;
|