hookehuyr

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

将界面中的冒号统一从英文冒号改为中文冒号
在课程标题后直接显示课程类型,移除多余的分隔符
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
48 d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" 48 d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"
49 /> 49 />
50 </svg> 50 </svg>
51 - <span>学习时长{{ record.study_duration_desc }}</span> 51 + <span>学习时长: {{ record.study_duration_desc }}</span>
52 </div> 52 </div>
53 <div class="flex items-center text-sm text-gray-500 mb-3"> 53 <div class="flex items-center text-sm text-gray-500 mb-3">
54 <svg 54 <svg
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 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" 65 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"
66 /> 66 />
67 </svg> 67 </svg>
68 - <span>最近学习{{ record.recent_study_time ? record.recent_study_time : '暂无' }}</span> 68 + <span>最近学习: {{ record.recent_study_time ? record.recent_study_time : '暂无' }}</span>
69 </div> 69 </div>
70 <div class="flex items-center"> 70 <div class="flex items-center">
71 <div class="flex-1"> 71 <div class="flex-1">
......
...@@ -247,10 +247,8 @@ ...@@ -247,10 +247,8 @@
247 <div v-if="lesson.progress > 0 && lesson.progress < 100" 247 <div v-if="lesson.progress > 0 && lesson.progress < 100"
248 class="absolute top-2 right-2 px-2 py-1 bg-green-100 text-green-600 text-xs rounded"> 248 class="absolute top-2 right-2 px-2 py-1 bg-green-100 text-green-600 text-xs rounded">
249 上次看到</div> 249 上次看到</div>
250 - <div class="text-black text-base mb-2" :class="{ 'text-green-600 font-medium' : courseId == lesson.id }">{{ lesson.title }}</div> 250 + <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>
251 <div class="flex items-center text-sm text-gray-500"> 251 <div class="flex items-center text-sm text-gray-500">
252 - <span>{{ course_type_maps[lesson.course_type] }}</span>
253 - <span v-if="course_type_maps[lesson.course_type]" class="mx-2">|</span>
254 <span>开课时间: {{ lesson.schedule_time ? dayjs(lesson.schedule_time).format('YYYY-MM-DD') : '暂无' }}</span> 252 <span>开课时间: {{ lesson.schedule_time ? dayjs(lesson.schedule_time).format('YYYY-MM-DD') : '暂无' }}</span>
255 <span class="mx-2">|</span> 253 <span class="mx-2">|</span>
256 <span v-if="lesson.duration">建议时长: {{ lesson.duration }} 分钟</span> 254 <span v-if="lesson.duration">建议时长: {{ lesson.duration }} 分钟</span>
......