添加作者头像

This commit is contained in:
haomingming 2025-12-12 15:22:40 +08:00
parent e9b415d4bd
commit 7965e681a5

View File

@ -78,7 +78,15 @@ v-show="voting">
<div class="title">{{ item.article_title }}</div>
<div>
<div class='name'>
<div v-for="auther in item.article_author">
<div v-for="auther in item.article_author" style="display: flex;align-items: center;">
<van-image
v-if="auther.author_avatar"
:src="auther.author_avatar"
width="24"
height="24"
round
style="margin-right: 8px;"
/>
<div>{{ auther.author_name}}&nbsp;{{ auther.hospital_name }}</div>
</div>
@ -142,7 +150,15 @@ v-show="voting">
<div class="title">{{ item.video_title }}</div>
<div>
<div class='name'>
<div v-for="auther in item.video_author">
<div v-for="auther in item.video_author" style="display: flex;align-items: center;">
<van-image
v-if="auther.author_avatar"
:src="auther.author_avatar"
width="24"
height="24"
round
style="margin-right: 8px;"
/>
<div>{{ auther.author_name}}&nbsp;{{ auther.hospital_name }}</div>
</div>