|
@@ -13,7 +13,7 @@
|
|
|
:class="{ active: $route.path === '/b' }"
|
|
|
>
|
|
|
<p>学习中心</p>
|
|
|
- </div> -->
|
|
|
+ </div>-->
|
|
|
|
|
|
<el-aside style="width: 180px; font-size: 16px">
|
|
|
<el-row class="tac">
|
|
@@ -28,140 +28,140 @@
|
|
|
>
|
|
|
<el-menu-item index="/">
|
|
|
<div class="img" style="padding-bottom: 5px" v-if="path == '/'">
|
|
|
- <img src="../../assets/icon/home-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/home-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" style="padding-bottom: 5px" v-else>
|
|
|
- <img src="../../assets/icon/home.png" alt="" />
|
|
|
+ <img src="../../assets/icon/home.png" alt />
|
|
|
</div>
|
|
|
<span>首页管理</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/curriculum">
|
|
|
<div class="img" v-if="path == '/curriculum'">
|
|
|
- <img src="../../assets/icon/course-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/course-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/course.png" alt="" />
|
|
|
+ <img src="../../assets/icon/course.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">课程管理</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/notice">
|
|
|
<div class="img" v-if="path == '/notice'">
|
|
|
- <img src="../../assets/icon/notice-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/notice-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/notice.png" alt="" />
|
|
|
+ <img src="../../assets/icon/notice.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">通知公告</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/tutor">
|
|
|
<div class="img" v-if="path == '/tutor'">
|
|
|
- <img src="../../assets/icon/school-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/school-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/school.png" alt="" />
|
|
|
+ <img src="../../assets/icon/school.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">家校区</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/Tgrouping">
|
|
|
<div class="img" v-if="path == '/Tgrouping'">
|
|
|
- <img src="../../assets/icon/group-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/group-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/group.png" alt="" />
|
|
|
+ <img src="../../assets/icon/group.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">分组管理</span>
|
|
|
</el-menu-item>
|
|
|
<!-- <el-menu-item index="/organization">
|
|
|
<div class="img" v-if="path == '/organization'">
|
|
|
- <img src="../../assets/icon/class-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/class-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/class.png" alt="" />
|
|
|
+ <img src="../../assets/icon/class.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">组织管理</span>
|
|
|
</el-menu-item> -->
|
|
|
<el-menu-item index="/find">
|
|
|
<div class="img" v-if="path == '/find'">
|
|
|
- <img src="../../assets/icon/find-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/find-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/find.png" alt="" />
|
|
|
+ <img src="../../assets/icon/find.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">发现管理</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/userManage">
|
|
|
<div class="img" v-if="path == '/userManage'">
|
|
|
- <img src="../../assets/icon/user-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/user-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/user.png" alt="" />
|
|
|
+ <img src="../../assets/icon/user.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">用户管理</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/works">
|
|
|
<div class="img" v-if="path == '/works'">
|
|
|
- <img src="../../assets/icon/works-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/works-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/works.png" alt="" />
|
|
|
+ <img src="../../assets/icon/works.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">作业管理</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/class">
|
|
|
<div class="img" v-if="path == '/class'">
|
|
|
- <img src="../../assets/icon/class-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/class-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/class.png" alt="" />
|
|
|
+ <img src="../../assets/icon/class.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">班级管理</span>
|
|
|
</el-menu-item>
|
|
|
<!-- <el-menu-item index="/jurisdiction">
|
|
|
<i class="el-icon-setting"></i>
|
|
|
<span slot="title">权限管理</span>
|
|
|
- </el-menu-item> -->
|
|
|
- <!-- <el-menu-item index="/home">
|
|
|
+ </el-menu-item>-->
|
|
|
+ <el-menu-item index="/home">
|
|
|
<div class="img" v-if="path == '/home'">
|
|
|
- <img src="../../assets/icon/school-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/school-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/school.png" alt="" />
|
|
|
+ <img src="../../assets/icon/school.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">家校社</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/five/fiveDetail">
|
|
|
<div class="img" v-if="path == '/five/fiveDetail'">
|
|
|
- <img src="../../assets/icon/five-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/five-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/five.png" alt="" />
|
|
|
+ <img src="../../assets/icon/five.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">五育融合</span>
|
|
|
- </el-menu-item> -->
|
|
|
+ </el-menu-item>
|
|
|
<el-menu-item index="/new">
|
|
|
<div class="img" v-if="path == '/new'">
|
|
|
- <img src="../../assets/icon/new-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/new-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/new.png" alt="" />
|
|
|
+ <img src="../../assets/icon/new.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">创新</span>
|
|
|
</el-menu-item>
|
|
|
- <!-- <el-menu-item index="/data">
|
|
|
+ <el-menu-item index="/data">
|
|
|
<div class="img" v-if="path == '/data'">
|
|
|
- <img src="../../assets/icon/new-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/new-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/new.png" alt="" />
|
|
|
+ <img src="../../assets/icon/new.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">数据监测</span>
|
|
|
- </el-menu-item> -->
|
|
|
- <el-menu-item index="/score">
|
|
|
+ </el-menu-item>
|
|
|
+ <el-menu-item index="/score">
|
|
|
<div class="img" v-if="path == '/score'">
|
|
|
- <img src="../../assets/icon/score-active.png" alt="" />
|
|
|
+ <img src="../../assets/icon/score-active.png" alt />
|
|
|
</div>
|
|
|
<div class="img" v-else>
|
|
|
- <img src="../../assets/icon/score.png" alt="" />
|
|
|
+ <img src="../../assets/icon/score.png" alt />
|
|
|
</div>
|
|
|
<span slot="title">积分商城</span>
|
|
|
</el-menu-item>
|
|
@@ -204,13 +204,14 @@ export default {
|
|
|
left: 20px;
|
|
|
margin-top: 20px;
|
|
|
background-color: #fff;
|
|
|
- width: 180px;
|
|
|
+ min-width: 180px;
|
|
|
height: calc(100% - 100px);
|
|
|
- min-height: 800px;
|
|
|
+ min-height: 750px;
|
|
|
z-index: 999;
|
|
|
display: inline-block;
|
|
|
border-radius: 5px;
|
|
|
- overflow: hidden;
|
|
|
+ overflow: auto;
|
|
|
+ width: auto;
|
|
|
}
|
|
|
.item {
|
|
|
margin: 5px 20%;
|
|
@@ -234,12 +235,10 @@ export default {
|
|
|
}
|
|
|
.tac >>> .el-menu-item {
|
|
|
display: flex;
|
|
|
- justify-content: flex-start;
|
|
|
+ /* justify-content: center; */
|
|
|
align-items: center;
|
|
|
- padding: 0 40px !important;
|
|
|
- width: 90%;
|
|
|
- margin: 10px auto 0;
|
|
|
- border-radius: 60px;
|
|
|
+ font-size: 16px;
|
|
|
+ padding-left: 40px !important;
|
|
|
}
|
|
|
.img {
|
|
|
width: 20px;
|