头像
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="user">
|
||||
<div class="pic">
|
||||
<img :src="data.photo" alt="" v-if="data.photo">
|
||||
<img src="../static/avatar.png" alt="" v-else>
|
||||
<img src="https://cdn.cunwuyun.cn/dvcp/myFamily/tx.png" alt="" v-else>
|
||||
</div>
|
||||
<div class="info">
|
||||
<div class="name">{{ data.name }}</div>
|
||||
@@ -120,6 +120,7 @@ export default {
|
||||
height: 96px;
|
||||
margin-right: 10px;
|
||||
img {
|
||||
border-radius: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user