fix
This commit is contained in:
@@ -58,7 +58,7 @@ defineExpose({getCreateList})
|
||||
<div class="list">
|
||||
<div v-for="(item,index) in list" :key="index" class="item" @click="selectCollectionItem(item)">
|
||||
<div class="imgList">
|
||||
<div v-if="item.userLikeGroupVO?.groupDetails?.length > 0" v-for="(img,index) in item.userLikeGroupVO?.groupDetails" :key="index" class="img">
|
||||
<div v-if="item.userLikeGroupVO?.groupDetails?.length > 0" v-for="(img,index) in item.userLikeGroupVO?.groupDetails.slice(0, 4)" :key="index" class="img">
|
||||
<img :src="img.url" alt="">
|
||||
</div>
|
||||
<div v-else class="img null">
|
||||
@@ -131,12 +131,9 @@ defineExpose({getCreateList})
|
||||
background-color: #fff;
|
||||
&.null{
|
||||
background-color: transparent;
|
||||
> img{
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
> img{
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user