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