|
@@ -20,7 +20,7 @@
|
|
|
<div class="submenu" v-for="(item2,ind2) in item['group']" :key="ind2">
|
|
|
<el-menu-item :index="ind2.toString()" @click="goto(item2.goto)">
|
|
|
<template slot="title">
|
|
|
- <div class="subTitle" :style="$route.path.indexOf(item2.goto)!=-1?'color:#40aaff':''">
|
|
|
+ <div class="subTitle subItem" :style="$route.path.indexOf(item2.goto)!=-1?'color:#40aaff':''">
|
|
|
<i :class="item2.icon" style="margin-right: 15px;width: 15px;"></i>
|
|
|
{{ item2.label }}
|
|
|
</div>
|
|
@@ -28,7 +28,7 @@
|
|
|
</el-menu-item>
|
|
|
</div>
|
|
|
</el-submenu>
|
|
|
- <el-menu-item :index="ind.toString()" v-else-if="$store.state.userInfo.type==0" @click="goto(item.goto)">
|
|
|
+ <el-menu-item :index="ind.toString()" v-else-if="$store.state.userInfo.type==0 || !item['power']" @click="goto(item.goto)">
|
|
|
<template slot="title">
|
|
|
<div class="subTitle" :style="$route.path.indexOf(item.goto)!=-1?'color:#40aaff':''">
|
|
|
<i :class="item.icon" style="margin-right: 15px;width: 15px;" :style="$route.path.indexOf(item.goto)!=-1?'color:#40aaff':''"></i>
|
|
@@ -70,7 +70,7 @@
|
|
|
// {id:6,label:"学分登记",goto:"/credit",icon:"iconfont icon-yonghu"},
|
|
|
{id:7,label:"成果展示",power:true,goto:"/resultsShow",icon:"iconfont icon-xiangmuguanli2",group:[]},
|
|
|
{id:8,label:"创业公司登记",power:true,goto:"/firm",icon:"iconfont icon-zuzhijiegou",group:[]},
|
|
|
- {id:9,label:"消息通知",power:true,goto:"/messageNotification",icon:"iconfont icon-xiaoxitongzhi3",group:[]},
|
|
|
+ {id:9,label:"消息通知",power:false,goto:"/messageNotification",icon:"iconfont icon-xiaoxitongzhi3",group:[]},
|
|
|
{id:10,label:"数据监测",power:true,goto:"/echarts",icon:"iconfont icon-qushi",group:[]},
|
|
|
]
|
|
|
}
|
|
@@ -172,6 +172,9 @@
|
|
|
padding-left: 20%;
|
|
|
// background-color: red;
|
|
|
}
|
|
|
+.subItem{
|
|
|
+ padding-left: 13%;
|
|
|
+}
|
|
|
:deep(.el-menu-item.is-active){
|
|
|
color: #333 !important;
|
|
|
i{
|