This commit is contained in:
changjinpeng
2022-03-07 14:50:07 +08:00
parent 0beac6ae5c
commit bd2bf35f72
2 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@
</div>
<div class="card-img">
<img :src="e.url" v-for="(e, i) in imgList[index]" :key="i" alt="" @click.stop="previewImage(imgList[index], e.url)" />
<img :src="e.url" v-for="(e, i) in imgList[index]" :key="i" alt="" @click.stop="previewImage(imgList[index], e.url)" v-if="i < 3" />
</div>
<!-- <div class="card-icon">
@@ -410,7 +410,7 @@ export default {
height: 224px;
margin-right: 8px;
}
img:last-child {
img:nth-child(3n + 0) {
margin-right: 0;
}
}