This commit is contained in:
shijingjing
2022-04-20 15:37:08 +08:00
parent 81068c24dd
commit 9e26794b24
7 changed files with 16 additions and 20 deletions

View File

@@ -4,7 +4,7 @@
<div class="item" v-for="(item,index) in userList" :key="index" @click="$linkTo(`./familyInfo?idNumber=${item.idNumber}`)">
<div class="userpic">
<img :src="item.avatarUrl" v-if="item.avatarUrl" alt="">
<img src="../static/avatar.png" v-else alt="">
<img src="https://cdn.cunwuyun.cn/dvcp/myFamily/tx.png" v-else alt="">
</div>
<div class="user-info">
<p class="name">{{ item.name }}</p>
@@ -64,6 +64,7 @@ export default {
height: 96px;
margin-right: 10px;
img {
border-radius: 50%;
width: 100%;
height: 100%;
}