This commit is contained in:
liuye
2022-01-25 10:19:14 +08:00
3 changed files with 6 additions and 7 deletions

View File

@@ -21,7 +21,7 @@
</div>
<div class="userInfo">
<div>
<img src="item.photo" alt="" class="userImg" v-if="item.photo">
<img :src="item.photo" alt="" class="userImg" v-if="item.photo">
<img src="./components/img/user-img.png" alt="" class="userImg" v-else>
</div>
<div class="info">

View File

@@ -144,12 +144,11 @@ export default {
flex-wrap: wrap;
.app-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 158px;
width: 25%;
height: 150px;
text-align: center;
padding-top: 20px;
box-sizing: border-box;
.app-img {
width: 72px;

View File

@@ -113,7 +113,7 @@ export default {
position: absolute;
top: 180px;
left: 32px;
width: 686px;
width: calc(100% - 64px);
height: 320px;
background-color: #FFFFFF;
border-radius: 12px;