Commit 3c9ba028 by liangzhen

调整二级菜单

1 parent 98ff95ba
...@@ -184,25 +184,26 @@ export function trendsRules(type) { ...@@ -184,25 +184,26 @@ export function trendsRules(type) {
break break
case 99: case 99:
return [ return [
{
name: "项目档案库",
url: "/mainLayout/mianHome",
erji:'二级'
// children: [
// { // {
// name: "首页", // // name: "首页首页",
// url: "/mainLayout/mianHome", // // url: "mainLayout/mianHome",
// children: [ // children: [
// { // {
// name: "首页首页", // name: "首页首页",
// url: "mainLayout/mianHome", // url: "mainLayout/mianHome",
// // children: [ // children: [],
// // { // },
// // name: "自查评估批次发起", // ]
// // url: "mainLayout/mianHome",
// // children: [],
// // },
// // ]
// } // }
// ] // ]
// }, },
{ {
name: "后评估检查", name: "后评估检查",
url: "", url: "",
......
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<el-table-column label="操作" width="120"> <el-table-column label="操作" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="upload(scope.row)" type="text" size="small" <el-button @click="upload(scope.row)" type="text" size="small"
>详情</el-button >操作</el-button
> >
<!-- <el-button @click="changeLX(scope.row)" type="text" size="small" v-if="scope.row.projectType" <!-- <el-button @click="changeLX(scope.row)" type="text" size="small" v-if="scope.row.projectType"
>更换项目类型</el-button >更换项目类型</el-button
......
<template> <template>
<div class="mian"> <div class="mian">
<div class="head-container"> <!-- <div class="head-container">
<div class="logo" style="z-index: 10"> <div class="logo" style="z-index: 10">
<div class="logo-inner"> <div class="logo-inner">
<img src="../../assets/logo.png" alt="" /> <img src="../../assets/logo.png" alt="" />
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div> -->
<router-view></router-view> <router-view></router-view>
<!-- <MainLayout class="continer"> <!-- <MainLayout class="continer">
<router-view></router-view> <router-view></router-view>
......
...@@ -11,17 +11,19 @@ ...@@ -11,17 +11,19 @@
ref="kzMenu" ref="kzMenu"
> >
<el-menu-item index="/mainLayout/mianHome" class="classmain"><span class=""></span>首页</el-menu-item> <el-menu-item index="/mainLayout/mianHome" class="classmain"><span class=""></span>首页</el-menu-item>
<el-menu-item index="/assesszc/projectView" class="classmain"><span></span>项目档案库</el-menu-item> <!-- <el-menu-item index="/assesszc/projectView" class="classmain"><span></span>项目知识文档库</el-menu-item> -->
<el-submenu <el-submenu
v-for="(item, index) in menuList" v-for="(item, index) in menuList"
:key="index" :key="index"
:index="index + ''" :index="index + ''"
class="submenu1" class="submenu1"
> >
<!-- <el-menu-item index="/assesszc/projectView" class="classmain"><span></span>项目档案库</el-menu-item> -->
<template slot="title"> <template slot="title">
<span class="iconfont treeIcon1">&#xe644;</span> <span class="iconfont treeIcon1">&#xe644;</span>
<span>{{ item.name }}</span> <span>{{ item.name }}</span>
</template> </template>
<p class="xiangmu"> <el-menu-item index="/assesszc/projectView" class="submenu3" v-if="item.erji"><span class="title3"></span>项目知识文档库</el-menu-item></p>
<el-submenu <el-submenu
v-for="(item2, index2) in item.children" v-for="(item2, index2) in item.children"
:key="index2" :key="index2"
...@@ -344,6 +346,17 @@ export default { ...@@ -344,6 +346,17 @@ export default {
background: rgba(99, 164, 166, 0.6); background: rgba(99, 164, 166, 0.6);
color: #fff; color: #fff;
} }
.xiangmu{
margin: 0;
}
.xiangmu /deep/ .is-active {
background: rgba(99, 164, 166, 0.6);
color: #fff;
}
.xuanzhong /deep/ .is-active {
background: rgba(99, 164, 166, 0.6);
color: #fff;
}
.menu-scrollbar /deep/ .el-scrollbar__view { .menu-scrollbar /deep/ .el-scrollbar__view {
height: 100%; /* 设置高度以填满父容器 */ height: 100%; /* 设置高度以填满父容器 */
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!