|
|
@ -1,5 +1,6 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
|
|
|
|
<div v-show="activeName!='index'" class="back_index" @click="toIndex"><i class="iconfont icon-home"></i></div> |
|
|
|
<div class="header_tab"> |
|
|
|
<div class="header_tab"> |
|
|
|
<!-- <el-tabs v-model="activeName" @tab-click="tabChange" :before-leave="saveActive"> |
|
|
|
<!-- <el-tabs v-model="activeName" @tab-click="tabChange" :before-leave="saveActive"> |
|
|
|
<el-tab-pane label="首页" name="index"> |
|
|
|
<el-tab-pane label="首页" name="index"> |
|
|
@ -21,6 +22,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> --> |
|
|
|
</el-tabs> --> |
|
|
|
|
|
|
|
|
|
|
|
<Index v-if="activeName=='index'"></Index> |
|
|
|
<Index v-if="activeName=='index'"></Index> |
|
|
|
<TeachingVideo v-if="!showProject && activeName!='fourth' && activeName!='fifth' && activeName!='index' && activeName!='second'"></TeachingVideo> |
|
|
|
<TeachingVideo v-if="!showProject && activeName!='fourth' && activeName!='fifth' && activeName!='index' && activeName!='second'"></TeachingVideo> |
|
|
|
<Project v-if="showProject"></Project> |
|
|
|
<Project v-if="showProject"></Project> |
|
|
@ -169,6 +171,10 @@ export default { |
|
|
|
Assessment |
|
|
|
Assessment |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
toIndex() { |
|
|
|
|
|
|
|
// this.$router.push('dashboard') |
|
|
|
|
|
|
|
this.activeName = 'index' |
|
|
|
|
|
|
|
}, |
|
|
|
getClass(){ |
|
|
|
getClass(){ |
|
|
|
this.$get(`${this.api.mineClass}?userId=${this.userId}`).then(res => { |
|
|
|
this.$get(`${this.api.mineClass}?userId=${this.userId}`).then(res => { |
|
|
|
if(!res.list.length){ |
|
|
|
if(!res.list.length){ |
|
|
@ -402,6 +408,26 @@ export default { |
|
|
|
outline: none; |
|
|
|
outline: none; |
|
|
|
box-shadow: none !important; |
|
|
|
box-shadow: none !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.back_index:hover{ |
|
|
|
|
|
|
|
opacity: 0.8; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.back_index{ |
|
|
|
|
|
|
|
position: fixed; |
|
|
|
|
|
|
|
right: 0px; |
|
|
|
|
|
|
|
top: 48%; |
|
|
|
|
|
|
|
width: 80px; |
|
|
|
|
|
|
|
height: 80px; |
|
|
|
|
|
|
|
background: white; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
z-index: 100; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.icon-home{ |
|
|
|
|
|
|
|
font-size: 50px; |
|
|
|
|
|
|
|
color: #FF5288; |
|
|
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
|
|
line-height: 80px; |
|
|
|
|
|
|
|
} |
|
|
|
h3{ |
|
|
|
h3{ |
|
|
|
color: #328aff; |
|
|
|
color: #328aff; |
|
|
|
margin-bottom: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
@ -561,6 +587,7 @@ h3{ |
|
|
|
max-height:calc(100% - 30px); |
|
|
|
max-height:calc(100% - 30px); |
|
|
|
max-width:calc(100% - 30px); |
|
|
|
max-width:calc(100% - 30px); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.evaluation_dialog .el-dialog__body{ |
|
|
|
/deep/.evaluation_dialog .el-dialog__body{ |
|
|
|
flex:1; |
|
|
|
flex:1; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|