hookehuyr

style: 统一使用中文冒号并优化课程类型显示

将界面中的冒号统一从英文冒号改为中文冒号
在课程标题后直接显示课程类型,移除多余的分隔符
......@@ -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">
......
......@@ -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>
......