添加作者头像
This commit is contained in:
parent
e9b415d4bd
commit
7965e681a5
@ -78,7 +78,15 @@ v-show="voting">
|
|||||||
<div class="title">{{ item.article_title }}</div>
|
<div class="title">{{ item.article_title }}</div>
|
||||||
<div>
|
<div>
|
||||||
<div class='name'>
|
<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}} {{ auther.hospital_name }}</div>
|
<div>{{ auther.author_name}} {{ auther.hospital_name }}</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -142,7 +150,15 @@ v-show="voting">
|
|||||||
<div class="title">{{ item.video_title }}</div>
|
<div class="title">{{ item.video_title }}</div>
|
||||||
<div>
|
<div>
|
||||||
<div class='name'>
|
<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}} {{ auther.hospital_name }}</div>
|
<div>{{ auther.author_name}} {{ auther.hospital_name }}</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user