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-09-25 10:58:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f7d08867fe8367a14723157ac49d4680fa27e9d4
f7d08867
1 parent
560b4927
style: 统一使用中文冒号并优化课程类型显示
将界面中的冒号统一从英文冒号改为中文冒号 在课程标题后直接显示课程类型,移除多余的分隔符
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
src/views/profile/LearningRecordsPage.vue
src/views/study/StudyDetailPage.vue
src/views/profile/LearningRecordsPage.vue
View file @
f7d0886
...
...
@@ -48,7 +48,7 @@
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
<span>学习时长
:
{{ record.study_duration_desc }}</span>
<span>学习时长
:
{{ record.study_duration_desc }}</span>
</div>
<div class="flex items-center text-sm text-gray-500 mb-3">
<svg
...
...
@@ -65,7 +65,7 @@
d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
/>
</svg>
<span>最近学习
:
{{ record.recent_study_time ? record.recent_study_time : '暂无' }}</span>
<span>最近学习
:
{{ record.recent_study_time ? record.recent_study_time : '暂无' }}</span>
</div>
<div class="flex items-center">
<div class="flex-1">
...
...
src/views/study/StudyDetailPage.vue
View file @
f7d0886
...
...
@@ -247,10 +247,8 @@
<div v-if="lesson.progress > 0 && lesson.progress < 100"
class="absolute top-2 right-2 px-2 py-1 bg-green-100 text-green-600 text-xs rounded">
上次看到</div>
<div class="text-black text-base mb-2" :class="{ 'text-green-600 font-medium' : courseId == lesson.id }">{{ lesson.title }}</div>
<div class="text-black text-base mb-2" :class="{ 'text-green-600 font-medium' : courseId == lesson.id }">{{ lesson.title }}
• <span class="text-sm text-gray-500">{{ course_type_maps[lesson.course_type] }}</span>
</div>
<div class="flex items-center text-sm text-gray-500">
<span>{{ course_type_maps[lesson.course_type] }}</span>
<span v-if="course_type_maps[lesson.course_type]" class="mx-2">|</span>
<span>开课时间: {{ lesson.schedule_time ? dayjs(lesson.schedule_time).format('YYYY-MM-DD') : '暂无' }}</span>
<span class="mx-2">|</span>
<span v-if="lesson.duration">建议时长: {{ lesson.duration }} 分钟</span>
...
...
Please
register
or
login
to post a comment