对高亮显的调整

This commit is contained in:
daihh
2022-11-15 09:04:55 +08:00
parent 6bf3f6d850
commit 21e123149b

View File

@@ -96,7 +96,8 @@
<div style="width:80%" class="course-title two-line-ellipsis" :title="cinfo.title" v-html="cinfo.name"></div>
<div class="course-info">
<div class="course-info-user">
<span class="course-info-author" v-if="cinfo.teacher">{{cinfo.teacher=='BOE教师'? '':cinfo.teacher}}</span>
<!-- <span class="course-info-author" v-if="cinfo.teacher">{{cinfo.teacher=='BOE教师'? '':cinfo.teacher}}</span> -->
<span class="course-info-author" v-if="cinfo.teacher" v-html="cinfo.teacher"></span>
<span class="course-info-studys" >{{formatNum(cinfo.studies)}}人学习</span>
</div>
<div class="course-info-score">
@@ -737,6 +738,9 @@ export default {
item.teacher=item.teacher.substring(0,dotIdx);
}
}
if(item.teacher && item.teacher=='BOE教师'){
item.teacher='';
}
//转化标红显示
item.title=item.name;