|
|
|
@ -123,14 +123,8 @@ onMounted(() => { |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="24"> |
|
|
|
|
<div class="nav"> |
|
|
|
|
<welcome |
|
|
|
|
:data="infoData" |
|
|
|
|
:userData="userStore.data" |
|
|
|
|
:name="name" |
|
|
|
|
@get-message="getMessage" |
|
|
|
|
@userInfoModified="fetchNewUserInfo" |
|
|
|
|
v-if="flag" |
|
|
|
|
></welcome> |
|
|
|
|
<welcome :data="infoData" :userData="userStore.data" :name="name" @get-message="getMessage" |
|
|
|
|
@userInfoModified="fetchNewUserInfo" v-if="flag"></welcome> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
@ -142,40 +136,30 @@ onMounted(() => { |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="info"> |
|
|
|
|
<status |
|
|
|
|
:data="userStore.data" |
|
|
|
|
:userData="infoData" |
|
|
|
|
@get-avater="getAvater" |
|
|
|
|
@getInfo="getInfo" |
|
|
|
|
v-if="flag" |
|
|
|
|
></status> |
|
|
|
|
<status :data="userStore.data" :userData="infoData" @get-avater="getAvater" @getInfo="getInfo" v-if="flag"> |
|
|
|
|
</status> |
|
|
|
|
</div> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row :gutter="20"> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="lesson"> |
|
|
|
|
<a |
|
|
|
|
href="#" |
|
|
|
|
style=" |
|
|
|
|
<a href="#" style=" |
|
|
|
|
font-size: 14px; |
|
|
|
|
display: flex; |
|
|
|
|
width: 90%; |
|
|
|
|
margin: 0px auto; |
|
|
|
|
/* margin: 0px 10px; */ |
|
|
|
|
margin-bottom: 5px; |
|
|
|
|
" |
|
|
|
|
> |
|
|
|
|
<conheader |
|
|
|
|
:title="`学习最多知识点`" |
|
|
|
|
:urouter="'/curriculumCenter/knowledgePoints'" |
|
|
|
|
></conheader> |
|
|
|
|
"> |
|
|
|
|
<conheader :title="`学习最多知识点`" :urouter="'/curriculumCenter/knowledgePoints'"></conheader> |
|
|
|
|
</a> |
|
|
|
|
<div class="contt"> |
|
|
|
|
<!-- <p class="button" round v-for="item in topKnow" :key="item.id"> |
|
|
|
|
{{ item.label }} |
|
|
|
|
</p> --> |
|
|
|
|
<el-table :data="topKnow" border style="width: 100%" height="240" :header-cell-style="{'text-align':'center'}"> |
|
|
|
|
<el-table :data="topKnow" border style="width: 100%" height="240" |
|
|
|
|
:header-cell-style="{ 'text-align': 'center' }"> |
|
|
|
|
<el-table-column type="index" align=center label="序号" width="80" /> |
|
|
|
|
<el-table-column prop="label" align=center label="课程名称" /> |
|
|
|
|
</el-table> |
|
|
|
@ -184,23 +168,21 @@ onMounted(() => { |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="lesson"> |
|
|
|
|
<a |
|
|
|
|
href="#" |
|
|
|
|
style=" |
|
|
|
|
<a href="#" style=" |
|
|
|
|
width: 90%; |
|
|
|
|
font-size: 14px; |
|
|
|
|
display: flex; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
margin-bottom: 5px; |
|
|
|
|
" |
|
|
|
|
> |
|
|
|
|
"> |
|
|
|
|
<conheader :title="`推荐知识点`"></conheader> |
|
|
|
|
</a> |
|
|
|
|
<div class="contt"> |
|
|
|
|
<!-- <p class="button" round v-for="item in maxKnow" :key="item.id"> |
|
|
|
|
{{ item.label }} |
|
|
|
|
</p> --> |
|
|
|
|
<el-table :data="maxKnow" border style="width: 100%" height="240" :header-cell-style="{'text-align':'center'}"> |
|
|
|
|
<el-table :data="maxKnow" border style="width: 100%" height="240" |
|
|
|
|
:header-cell-style="{ 'text-align': 'center' }"> |
|
|
|
|
<el-table-column type="index" align=center label="序号" width="80" /> |
|
|
|
|
<el-table-column prop="label" align=center label="课程名称" /> |
|
|
|
|
</el-table> |
|
|
|
@ -209,14 +191,8 @@ onMounted(() => { |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="lesson"> |
|
|
|
|
<a |
|
|
|
|
href="#" |
|
|
|
|
style="width: 90%; font-size: 14px; display: flex; margin: 0 auto" |
|
|
|
|
> |
|
|
|
|
<conheader |
|
|
|
|
:title="`推荐课程`" |
|
|
|
|
:urouter="'/curriculumCenter/basicCourseInformation'" |
|
|
|
|
></conheader> |
|
|
|
|
<a href="#" style="width: 90%; font-size: 14px; display: flex; margin: 0 auto"> |
|
|
|
|
<conheader :title="`推荐课程`" :urouter="'/curriculumCenter/basicCourseInformation'"></conheader> |
|
|
|
|
</a> |
|
|
|
|
<div class="con"> |
|
|
|
|
<!-- <ul> |
|
|
|
@ -231,7 +207,8 @@ onMounted(() => { |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
</ul> --> |
|
|
|
|
<el-table :data="toplist" border style="width: 100%" height="240" :header-cell-style="{'text-align':'center'}"> |
|
|
|
|
<el-table :data="toplist" border style="width: 100%" height="240" |
|
|
|
|
:header-cell-style="{ 'text-align': 'center' }"> |
|
|
|
|
<el-table-column type="index" align=center label="序号" width="80" /> |
|
|
|
|
<el-table-column prop="name" align=center label="课程名称" /> |
|
|
|
|
</el-table> |
|
|
|
@ -240,14 +217,8 @@ onMounted(() => { |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<div class="lesson"> |
|
|
|
|
<a |
|
|
|
|
href="#" |
|
|
|
|
style="width: 90%; font-size: 12px; display: flex; margin: 0 auto" |
|
|
|
|
> |
|
|
|
|
<conheader |
|
|
|
|
:title="`最新收藏课程`" |
|
|
|
|
:urouter="'/curriculumCenter/basicCourseInformation'" |
|
|
|
|
></conheader> |
|
|
|
|
<a href="#" style="width: 90%; font-size: 12px; display: flex; margin: 0 auto"> |
|
|
|
|
<conheader :title="`最新收藏课程`" :urouter="'/curriculumCenter/basicCourseInformation'"></conheader> |
|
|
|
|
</a> |
|
|
|
|
<div class="con"> |
|
|
|
|
<!-- <ul> |
|
|
|
@ -262,7 +233,8 @@ onMounted(() => { |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
</ul> --> |
|
|
|
|
<el-table :data="courselist" border style="width: 100%" height="240" :header-cell-style="{'text-align':'center'}"> |
|
|
|
|
<el-table :data="courselist" border style="width: 100%" height="240" |
|
|
|
|
:header-cell-style="{ 'text-align': 'center' }"> |
|
|
|
|
<el-table-column type="index" align=center label="序号" width="80" /> |
|
|
|
|
<el-table-column prop="name" align=center label="课程名称" /> |
|
|
|
|
</el-table> |
|
|
|
@ -287,6 +259,7 @@ onMounted(() => { |
|
|
|
|
* { |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.nav { |
|
|
|
|
height: 92px; |
|
|
|
|
background: #ffffff; |
|
|
|
@ -298,6 +271,7 @@ onMounted(() => { |
|
|
|
|
justify-content: center; |
|
|
|
|
align-items: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.classList, |
|
|
|
|
.info { |
|
|
|
|
// background-color: yellow; |
|
|
|
@ -309,10 +283,12 @@ onMounted(() => { |
|
|
|
|
align-items: center; |
|
|
|
|
margin-bottom: 16px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.classList { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.lesson { |
|
|
|
|
padding-top: 30px; |
|
|
|
|
// padding-bottom: 30px; |
|
|
|
@ -326,6 +302,7 @@ onMounted(() => { |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
// flex-direction: column; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.con { |
|
|
|
|
display: flex; |
|
|
|
|
// justify-content: space-between; |
|
|
|
@ -340,6 +317,7 @@ onMounted(() => { |
|
|
|
|
justify-content: space-evenly; |
|
|
|
|
padding-bottom: 30px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.contt { |
|
|
|
|
// background-color: yellow; |
|
|
|
|
padding: 5px; |
|
|
|
@ -348,9 +326,11 @@ onMounted(() => { |
|
|
|
|
// grid-template-columns: repeat(2, 1fr); |
|
|
|
|
// grid-gap: 11px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:deep(.el-scrollbar__wrap) { |
|
|
|
|
padding: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.button { |
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
@ -367,13 +347,16 @@ onMounted(() => { |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.button :hover { |
|
|
|
|
overflow: visible; |
|
|
|
|
white-space: normal; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
text-decoration: none; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.some, |
|
|
|
|
.stu { |
|
|
|
|
padding-top: 5px; |
|
|
|
@ -387,6 +370,7 @@ a { |
|
|
|
|
justify-content: center; |
|
|
|
|
align-items: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// .lessonlist-content { |
|
|
|
|
// display: flex; |
|
|
|
|
// justify-content: center; |
|
|
|
@ -417,12 +401,14 @@ ul { |
|
|
|
|
justify-content: space-between; |
|
|
|
|
// align-items: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.lessonlist-item-img { |
|
|
|
|
width: 17%; |
|
|
|
|
height: 40px; |
|
|
|
|
justify-content: center; |
|
|
|
|
align-items: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.lessonlist-item-info { |
|
|
|
|
margin-left: 15px; |
|
|
|
|
width: 80%; |
|
|
|
@ -432,11 +418,13 @@ ul { |
|
|
|
|
// flex-direction: column; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
h5 { |
|
|
|
|
// font-weight: bold; |
|
|
|
|
width: 80%; |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
p { |
|
|
|
|
font-size: small; |
|
|
|
|
width: 20%; |
|
|
|
|