|
@@ -1,20 +1,5 @@
|
|
|
<template>
|
|
|
<div class="bottom">
|
|
|
- <!-- <div
|
|
|
- class="item"
|
|
|
- @click="clickItem('/')"
|
|
|
- :class="{ active: $route.path === '/' }"
|
|
|
- >
|
|
|
- <p>首页</p>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="item"
|
|
|
- @click="clickItem('/b')"
|
|
|
- :class="{ active: $route.path === '/b' }"
|
|
|
- >
|
|
|
- <p>学习中心</p>
|
|
|
- </div> -->
|
|
|
-
|
|
|
<el-aside style="width: 180px; font-size: 16px">
|
|
|
<el-row class="tac">
|
|
|
<el-col :span="12">
|
|
@@ -26,34 +11,7 @@
|
|
|
router
|
|
|
style="text-align: left"
|
|
|
>
|
|
|
- <el-menu-item index="/">
|
|
|
- <div class="img" style="padding-bottom: 5px" v-if="path == '/'">
|
|
|
- <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="" />
|
|
|
- </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="" />
|
|
|
- </div>
|
|
|
- <div class="img" v-else>
|
|
|
- <img src="../../assets/icon/course.png" alt="" />
|
|
|
- </div>
|
|
|
- <span slot="title">课程管理</span>
|
|
|
- </el-menu-item>
|
|
|
- <el-menu-item index="/template">
|
|
|
- <div class="img" v-if="path == '/template'">
|
|
|
- <img src="../../assets/icon/works-active.png" alt="" />
|
|
|
- </div>
|
|
|
- <div class="img" v-else>
|
|
|
- <img src="../../assets/icon/works.png" alt="" />
|
|
|
- </div>
|
|
|
- <span slot="title">模板管理</span>
|
|
|
- </el-menu-item>
|
|
|
- <el-menu-item index="/notice">
|
|
|
+ <!-- <el-menu-item index="/notice">
|
|
|
<div class="img" v-if="path == '/notice'">
|
|
|
<img src="../../assets/icon/notice-active.png" alt="" />
|
|
|
</div>
|
|
@@ -61,7 +19,7 @@
|
|
|
<img src="../../assets/icon/notice.png" alt="" />
|
|
|
</div>
|
|
|
<span slot="title">通知公告</span>
|
|
|
- </el-menu-item>
|
|
|
+ </el-menu-item> -->
|
|
|
<!-- <el-menu-item index="/grouping">
|
|
|
<div class="img" v-if="path == '/grouping'">
|
|
|
<img src="../../assets/icon/group-active.png" alt="" />
|
|
@@ -78,7 +36,7 @@
|
|
|
<div class="img" v-else>
|
|
|
<img src="../../assets/icon/class.png" alt="" />
|
|
|
</div>
|
|
|
- <span slot="title">组织管理</span>
|
|
|
+ <span slot="title">学校管理</span>
|
|
|
</el-menu-item>
|
|
|
<el-menu-item index="/class">
|
|
|
<div class="img" v-if="path == '/class'">
|