改照片格式

main
QMZ 1 month ago
parent ecd2700146
commit 4e9f643ab2

@ -75,8 +75,8 @@
</div>
</div>
<div class="post-img" v-if="post.postImageUrl">
<img :src="post.postImageUrl" alt="" />
<div v-if="post.postImageUrl" >
<img :src="post.postImageUrl" alt="" class="post-img"/>
</div>
<div class="post-footer">
@ -112,6 +112,7 @@
name:'spaceIndex',
data() {
return {
myId: 0,
userlikelist:[],
// myfollows: [],
@ -532,11 +533,14 @@
}
.post-img {
display: flex;
left: 220px;
width: 329px;
height: 163px;
position: relative;
max-width: 700px;
max-height: 500px;
width: auto;
height: auto;
}
.post-footer {

Loading…
Cancel
Save