Commit 3c9ba028 by liangzhen

调整二级菜单

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