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-12-03 13:50:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b0393e2aac63aaa6682f1d44a78a6ca9026d1eeb
b0393e2a
1 parent
e62604bf
style(CourseDetailPage): 调整主讲教师列表的布局和样式
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/courses/CourseDetailPage.vue
src/views/courses/CourseDetailPage.vue
View file @
b0393e2
...
...
@@ -75,15 +75,15 @@
</div>
<div v-if="activeTab === '主讲教师'">
<div v-for="(item, index) in lecturers" :key="index" class="flex items-
center
" style="margin-bottom: 1rem;">
<div class="w-16 h-16 rounded-full overflow-hidden mr-4">
<div v-for="(item, index) in lecturers" :key="index" class="flex items-
start
" style="margin-bottom: 1rem;">
<div class="w-16 h-16 rounded-full overflow-hidden mr-4
flex-shrink-0
">
<img :src="item?.photo || 'https://cdn.ipadbiz.cn/mlaj/images/default_block.png'" alt="lecturer"
class="w-full h-full object-cover" @error="handleImageError" />
</div>
<div>
<div
class="flex-1 min-w-0"
>
<h4 class="font-bold text-gray-900">{{ item?.name }}</h4>
<p class="text-sm text-gray-600">{{ item?.educational }}</p>
<p class="text-xs text-gray-500 mt-1">{{ item?.introduction }}</p>
<p class="text-xs text-gray-500 mt-1
break-words
">{{ item?.introduction }}</p>
</div>
</div>
</div>
...
...
Please
register
or
login
to post a comment