Merge branch 'dev0124' into dev0515

This commit is contained in:
zhangsir
2024-06-22 17:22:54 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -108,7 +108,7 @@
<el-progress :stroke-width="12" :percentage="Number(((detailData.overallCompletionRate || 0)*100).toFixed(2))"></el-progress>
</div>
<div class="body_schedule_btn" @click="startLearn">
<span class="body_schedule_text">{{detailData.overallCompletionRate==0?'开始学习':detailData.overallCompletionRate==100?'回顾':'继续学习'}}</span>
<span class="body_schedule_text">{{detailData.overallCompletionRate==0?'开始学习':detailData.overallCompletionRate==1?'回顾':'继续学习'}}</span>
</div>
</div>
</div>

View File

@@ -40,12 +40,12 @@
<span style="color: #387DF7;">学习进度</span>
<el-progress :percentage="item.currentRatio || 0"></el-progress>
</div>
<div style="margin: 20px 0;">
<div style="margin: 20px 0;" :title="item.teacherName">
课程讲师{{item.teacherName?item.teacherName.split(',').length > 3
? item.teacherName.split(',').slice(0, 3).join(',') + '...'
: item.teacherName:''}}
</div>
<div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">课程简介{{item.introduce}}</div>
<div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;" :title="item.introduce">课程简介{{item.introduce}}</div>
<el-button style="width: 100%;margin-top: 20px;" type="primary" @click="goStudy(item)">
<div style="display: flex;justify-content: space-between;align-items: center;">
<div></div>
@@ -264,7 +264,7 @@
</div>
</el-drawer>
<el-backtop :bottom="650" :right="119">
<el-backtop :bottom="700" :right="200">
<div class="back-to-top">
<div class="img"></div>
<div class="text">继续学习之旅</div>