“dzb”
2022-09-29 dc04c05b22a5323925218092a0687555a2a5c9c1
src/views/layout/components/Menu/index.vue
@@ -5,12 +5,12 @@
      <h2 class="siderbar-title">遂昌执法平台</h2>
      <el-scrollbar>
        <!-- 路由 -->
        <el-menu router class="el-menu-vertical" :default-active="$route.path" >
        <el-menu router class="el-menu-vertical" :default-active="$route.path">
          <!-- 系统设置模块 -->
          <el-submenu index="/home/system" class="firstMenu">
            <template slot="title" class="firstSpan">
            <template slot="title">
              <!-- <i class="el-icon-reading"></i> -->
              <span  slot="prefix" class="icon-padding fisrtSpan">
              <span slot="prefix" class="icon-padding fisrtSpan">
                <svg-icon icon-class="system"></svg-icon>
              </span>
              <span class="fisrtSpan">系统设置</span>
@@ -37,7 +37,7 @@
                <el-menu-item index="/home/system/role">角色管理列表</el-menu-item>
              </el-submenu> -->
              <!-- 权限管理 -->
              <el-menu-item index="/home/system/authority">权限管理</el-menu-item>
              <!-- <el-menu-item index="/home/system/authority">权限管理</el-menu-item> -->
              <!-- <el-submenu index="/home/system/base/authority" class="thirdMenu">
                <template slot="title">
                  <span class="thirdSpan">权限管理</span>
@@ -71,24 +71,44 @@
              </span>
              <span class="fisrtSpan">运营管理</span>
            </template>
            <el-menu-item index="/home/operate/baseSetting">基础设置</el-menu-item>
            <el-submenu index="/home/operate/disposal">
            <el-submenu index="/home/operate/baseSetting" class="secondMenu">
              <template slot="title">
                <span class="secondSpan">基础设置</span>
              </template>
              <el-menu-item index="/home/operate/baseSetting/violation">违规事项设置</el-menu-item>
              <el-menu-item index="/home/operate/baseSetting/illegalBuild">违建事项设置</el-menu-item>
              <el-menu-item index="/home/operate/baseSetting/threepack">门前三包设置</el-menu-item>
            </el-submenu>
            <el-submenu index="/home/operate/disposal" class="secondMenu">
              <template slot="title">
                <span class="secondSpan">事项处理管理</span>
              </template>
              <el-menu-item index="/home/operate/casepool">案件池</el-menu-item>
              <el-menu-item index="/home/operate/casepool">上报管理</el-menu-item>
              <el-menu-item index="/home/operate/casepool">调度管理</el-menu-item>
              <!-- <el-menu-item index="/home/operate/casepool">再学习管理</el-menu-item> -->
              <el-menu-item index="/home/operate/casepool">暂不处理</el-menu-item>
              <el-menu-item index="/home/operate/casepool/pool">案件池</el-menu-item>
              <el-menu-item index="/home/operate/casepool/escalation">上报管理</el-menu-item>
              <el-menu-item index="/home/operate/casepool/dispatch">调度管理</el-menu-item>
              <el-menu-item index="/home/operate/casepool">再学习管理</el-menu-item>
              <el-menu-item index="/home/operate/casepool/notDeal">暂不处理</el-menu-item>
            </el-submenu>
            <el-menu-item index="/home/operate/myWait">我的待办</el-menu-item>
            <el-menu-item index="/home/operate/rectification">专项整治</el-menu-item>
            <el-menu-item index="/home/operate/">巡查执法</el-menu-item>
            <el-menu-item index="/home/operate/">案卷查询</el-menu-item>
            <el-menu-item index="/home/operate/">门前五包处置管理</el-menu-item>
            <el-menu-item index="/home/operate/">算法模型管理</el-menu-item>
            <el-menu-item index="/home/operate/">车辆管理</el-menu-item>
            <el-submenu index="/home/operate/rectification" class="secondMenu">
              <template slot="title">
                <span class="secondSpan">专项整治</span>
              </template>
                <el-menu-item index="/home/operate/rectification/taskList">任务列表</el-menu-item>
                <el-menu-item index="/home/operate/rectification/surveyList">普查列表</el-menu-item>
                <el-menu-item index="/home/operate/rectification/renovationList">整治列表</el-menu-item>
            </el-submenu>
            <el-menu-item index="/home/operate/lawEnforcement">巡查执法</el-menu-item>
            <el-menu-item index="/home/operate/dasds">案卷查询</el-menu-item>
            <el-submenu index="/home/operate/fivepack" class="secondMenu">
              <template slot="title">
                <span class="secondSpan">门前五包处置管理</span>
              </template>
              <el-menu-item index="/home/operate/fivepack/threepackage">门前三包</el-menu-item>
              <el-menu-item index="/home/operate/fivepack/shop">店铺管理</el-menu-item>
            </el-submenu>
            <el-menu-item index="/home/operate/dasdas">算法模型管理</el-menu-item>
            <el-menu-item index="/home/operate/dasdas">车辆管理</el-menu-item>
            <el-menu-item index="/home/operate">图片管理</el-menu-item>
            <el-menu-item index="/home/operate">视频管理</el-menu-item>
            <el-menu-item index="/home/operate">消息管理</el-menu-item>
@@ -177,12 +197,14 @@
.icon-padding {
  padding-right: 10px;
}
.el-aside {
  background: #07162e;
  color: #e9eef3;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  //    固定标题
  .siderbar-title {
    position: fixed;
@@ -194,50 +216,71 @@
    top: 0;
    left: 0;
    z-index: 999;
    // box-shadow: 0 -5px 5px #0ff inset;
  }
  .el-scrollbar {
    height: calc(100vh - 66px);
    margin-top: 66px;
    box-sizing: border-box;
    .el-menu {
      background: linear-gradient(#07162e, #0f2b56);
      border: 0;
      .firstMenu {
        background: #07162e;
        text-align: left;
        &:hover .fisrtSpan{
        &:hover>.el-submenu__title{
          background-color: #092c4a;
        }
        &:hover .fisrtSpan {
          color: #22d3eb;
        }
        span,span {
        span,
        span {
          color: #e9eef3;
        }
        .el-menu-item {
          color: #e9eef3;
          background-color: #07162e;
          &:hover {
            color: #22d3eb;
          }
        }
        .el-menu-item:hover {
          background-color: #092c4a;
          color: #22d3eb;
        }
        .is-active {
          background-color: #07162e;
          color: #22d3eb;
        }
      }
      .secondMenu{
        &:hover .secondSpan{
      .secondMenu {
        &:hover>.el-submenu__title{
          background-color: #092c4a;
        }
        &:hover .secondSpan {
          color: #22d3eb;
        }
      }
      .thirdMenu{
        &:hover .thirdSpan{
      .thirdMenu {
        &:hover>.el-submenu__title{
          background-color: #092c4a;
        }
        &:hover .thirdSpan {
          color: #22d3eb;
        }
      }
      .is-active {
        background-color: #092c4a;
      }
    }
    .el-scrollbar__wrap {
      overflow-x: hidden;
    }