|
@@ -18,13 +18,13 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
|
|
|
- <el-select v-model="groupA" @change="search" v-if="role == '1'" placeholder="所有者">
|
|
|
+ <el-select v-model="groupA" clearable @change="search" v-if="role == '1'" placeholder="所有者">
|
|
|
<el-option value="4" label="全部"></el-option>
|
|
|
<el-option value="2" label="我的课程"></el-option>
|
|
|
<el-option value="3" label="协同课程"></el-option>
|
|
|
<el-option value="1" label="他人课程"></el-option>
|
|
|
</el-select>
|
|
|
- <el-select v-model="groupA" @change="search" v-else placeholder="所有者">
|
|
|
+ <el-select v-model="groupA" clearable @change="search" v-else placeholder="所有者">
|
|
|
<el-option value="0" label="全部"></el-option>
|
|
|
<el-option value="2" label="我的课程"></el-option>
|
|
|
<el-option value="3" label="协同课程"></el-option>
|
|
@@ -45,7 +45,7 @@
|
|
|
<div class="ConblockTit">
|
|
|
{{ i.title }}
|
|
|
</div>
|
|
|
- <div style="display: flex;gap: 10px;color: #969BA3;font-size: 12px;">
|
|
|
+ <div style="display: flex;gap: 10px;color: #969BA3;font-size: 14px;">
|
|
|
<span v-if="i.state == 1">阶段模式</span>
|
|
|
<span v-if="i.state == 2">任务模式</span>
|
|
|
<span v-if="i.state == 3">极简模式</span>
|
|
@@ -53,7 +53,7 @@
|
|
|
<span v-if="i.state == 6">上课模式</span>
|
|
|
<span>@{{ i.school }}</span>
|
|
|
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<img class="PimgL" :src="i.cover != null && i.cover != ''
|
|
|
? JSON.parse(i.cover).length > 0
|
|
|
? JSON.parse(i.cover)[0].url
|
|
@@ -61,7 +61,7 @@
|
|
|
: mr
|
|
|
" alt />
|
|
|
<div class="foot">
|
|
|
- <img style="cursor: pointer;" @click="goToCourse(i.courseId)" src="../../../assets/icon/liyuan/courseEdit.svg" alt="">
|
|
|
+ <img style="cursor: pointer;" @click="goToCourse(i.courseId,i.userid)" src="../../../assets/icon/liyuan/courseEditC.svg" alt="">
|
|
|
<div class="ent" @click="entCourse(i)">进入</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -260,7 +260,8 @@ export default {
|
|
|
|
|
|
window.topU.postMessage({ cid: item.courseId, screenType: "3" }, "*");
|
|
|
},
|
|
|
- goToCourse(courseId) {
|
|
|
+ goToCourse(courseId,uid) {
|
|
|
+ if (this.userid != uid) return this.$message.info('课程创建者才可编辑哦')
|
|
|
sessionStorage.setItem('gotype', 'backCourseCon');
|
|
|
|
|
|
this.goToCourse4(courseId)
|
|
@@ -305,11 +306,11 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
.teacherDevelop{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
padding: 40px 90px;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
box-sizing: border-box;
|
|
|
background: #FAFAFA;
|
|
|
|
|
@@ -343,16 +344,22 @@ export default {
|
|
|
}
|
|
|
.courseListSearch >>> .el-select .el-input__inner{
|
|
|
border-radius: 20px;
|
|
|
- height: 28px;
|
|
|
+ height: 40px;
|
|
|
width: 110px;
|
|
|
- border: 1px solid #969BA3 !important;
|
|
|
- color: #969BA3;
|
|
|
+ /* border: 1px solid #969BA3 !important; */
|
|
|
+ color: #606266;
|
|
|
+}
|
|
|
+.courseListSearch>>> .el-input__inner::-webkit-input-placeholder {
|
|
|
+ color: #606266 !important;
|
|
|
}
|
|
|
+/* .courseListSearch >>> .el-input__placeholder{
|
|
|
+ color: #606266 !important;
|
|
|
+} */
|
|
|
.courseListSearch >>> .el-input__icon{
|
|
|
- line-height: 28px;
|
|
|
+ line-height: 40px;
|
|
|
}
|
|
|
.serachCon >>> .el-input__inner{
|
|
|
- height: 28px !important;
|
|
|
+ height: 40px !important;
|
|
|
border-radius: 20px !important;
|
|
|
width: 300px !important;
|
|
|
border: none;
|
|
@@ -381,6 +388,7 @@ export default {
|
|
|
object-fit: cover;
|
|
|
}
|
|
|
.ConblockTit{
|
|
|
+ font-size: 18px;
|
|
|
-webkit-line-clamp: 1;
|
|
|
display: -webkit-box;
|
|
|
-webkit-box-orient: vertical;
|
|
@@ -394,9 +402,8 @@ export default {
|
|
|
gap: 10px;
|
|
|
}
|
|
|
.foot > .ent{
|
|
|
- border: 1px solid #000000;
|
|
|
- width: 68;
|
|
|
- height: 28;
|
|
|
+ border: 1px solid #bcbcbc;
|
|
|
+ color: #606266;
|
|
|
opacity: 1;
|
|
|
gap: 10px;
|
|
|
cursor: pointer;
|
|
@@ -407,6 +414,11 @@ export default {
|
|
|
padding-left: 20px;
|
|
|
border-width: 1px;
|
|
|
}
|
|
|
+.ent:hover{
|
|
|
+ border: 1px solid #4080FF;
|
|
|
+ background: #4080FF;
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
.moreL{
|
|
|
font-family: PingFang HK;
|
|
|
font-size: 16px;
|
|
@@ -414,6 +426,5 @@ export default {
|
|
|
align-items: center;
|
|
|
color: #969BA3;
|
|
|
justify-content: flex-end;
|
|
|
- cursor: pointer;
|
|
|
}
|
|
|
</style>
|