|
@@ -46,11 +46,12 @@
|
|
|
{{ i.title }}
|
|
|
</div>
|
|
|
<div style="display: flex;gap: 10px;color: #969BA3;font-size: 14px;">
|
|
|
- <span v-if="i.state == 1">阶段模式</span>
|
|
|
+ <!-- <span v-if="i.state == 1">阶段模式</span>
|
|
|
<span v-if="i.state == 2">任务模式</span>
|
|
|
<span v-if="i.state == 3">极简模式</span>
|
|
|
<span v-if="i.state == 4 || i.state == 5">ai模式</span>
|
|
|
- <span v-if="i.state == 6">上课模式</span>
|
|
|
+ <span v-if="i.state == 6">上课模式</span> -->
|
|
|
+ <span>{{ i.uname }}</span>
|
|
|
<span>@{{ i.school }}</span>
|
|
|
|
|
|
</div>
|
|
@@ -61,7 +62,10 @@
|
|
|
: mr
|
|
|
" alt />
|
|
|
<div class="foot">
|
|
|
- <img style="cursor: pointer;" @click="goToCourse(i.courseId,i.userid)" src="../../../assets/icon/liyuan/courseEditC.svg" alt="">
|
|
|
+ <img style="cursor: pointer;"
|
|
|
+ v-if="i.userid == userid"
|
|
|
+ @click="goToCourse(i.courseId)"
|
|
|
+ src="../../../assets/icon/liyuan/courseEditC.svg" alt="">
|
|
|
<div class="ent" @click="entCourse(i)">进入</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -260,8 +264,7 @@ export default {
|
|
|
|
|
|
window.topU.postMessage({ cid: item.courseId, screenType: "3" }, "*");
|
|
|
},
|
|
|
- goToCourse(courseId,uid) {
|
|
|
- if (this.userid != uid) return this.$message.info('课程创建者才可编辑哦')
|
|
|
+ goToCourse(courseId) {
|
|
|
sessionStorage.setItem('gotype', 'backCourseCon');
|
|
|
|
|
|
this.goToCourse4(courseId)
|
|
@@ -309,7 +312,7 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
+ min-height: 100%;
|
|
|
padding: 40px 90px;
|
|
|
box-sizing: border-box;
|
|
|
background: #FAFAFA;
|