Commit 060d2a07 authored by 仇晓婷's avatar 仇晓婷

shouye

parent b75617f4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="home"> <div class="home">
<div class="card-user"> <div class="card-user">
<div class="img-header"> <div class="img-header">
<img :src="avatorPath" width="90px" height="90px" v-if="imgPath" /> <Avatar :src="avatorPath" size="90" v-if="imgPath" />
<img src="@/assets/images/home/user.png" width="90px" height="90px" v-else /> <img src="@/assets/images/home/user.png" width="90px" height="90px" v-else />
</div> </div>
<div class="user-text"> <div class="user-text">
...@@ -179,6 +179,10 @@ export default { ...@@ -179,6 +179,10 @@ export default {
margin-top: -10px; margin-top: -10px;
float: left; float: left;
} }
.ivu-avatar > img {
width: 100%;
height: 100%;
}
.user-text { .user-text {
float: left; float: left;
p { p {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment