头像
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<div class="card-list">
|
||||
<div class="item" v-for="(item, index) in familyList" :key="index" @click="$linkTo(`./memberInfo?id=${item.id}`)">
|
||||
<div class="userpic">
|
||||
<img src="../static/avatar.png" alt="" v-if="item.photo">
|
||||
<img src="../static/avatar.png" alt="" v-else>
|
||||
<img :src="item.photo" alt="" v-if="item.photo">
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/myFamily/tx.png" alt="" v-else>
|
||||
</div>
|
||||
<div class="user-info">
|
||||
<p class="name">{{ item.name }}</p>
|
||||
@@ -69,6 +69,7 @@ export default {
|
||||
height: 96px;
|
||||
margin-right: 10px;
|
||||
img {
|
||||
border-radius: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user