Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-05-07 18:08:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1523c8a0f0fdcd73f8ccdbe0921a03ed7252569b
1523c8a0
1 parent
5c8e8e9b
fix(StudyCoursePage): 修复课程页面显示问题
修复课程页面中订阅人数和课程信息的显示问题,移除无效字段并添加正确的字段显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
src/views/study/StudyCoursePage.vue
src/views/study/StudyCoursePage.vue
View file @
1523c8a
...
...
@@ -14,7 +14,7 @@
<div class="flex items-center text-gray-500 text-sm">
<span>已更新 {{ course?.count }} 期</span>
<span class="mx-2">|</span>
<span>
没有字段=>
人订阅</span>
<span>
{{ course?.buy_count }}
人订阅</span>
</div>
</div>
...
...
@@ -80,12 +80,13 @@
没有字段=>上次看到</div>
<div class="text-black text-base font-medium mb-2">{{ lesson.title }}</div>
<div class="flex items-center text-sm text-gray-500">
<span>{{ course_type_maps[lesson.course_type] }}</span>
<span>{{ dayjs(course.schedule_time).format('YYYY-MM-DD') }}</span>
<span>{{ course_type_maps[lesson.course_type] }}</span>
<span v-if="course_type_maps[lesson.course_type]" class="mx-2">|</span>
<span>开课时间: {{ dayjs(lesson.schedule_time).format('YYYY-MM-DD') }}</span>
<span class="mx-2">|</span>
<span>
没有字段=> 次学习
</span>
<
span class="mx-2">|</span
>
<
span>没有字段=> 已学习{{ lesson?.progress }}%</span
>
<span>
课程时长: {{ lesson.duration }} 分钟
</span>
<
!-- <span class="mx-2">|</span> --
>
<
!-- <span>没有字段=> 已学习{{ lesson?.progress }}%</span> --
>
</div>
</div>
</div>
...
...
Please
register
or
login
to post a comment