This commit is contained in:
yanran200730
2022-05-27 09:36:04 +08:00
parent f30a3e55f2
commit 30f1c5858d
2 changed files with 8 additions and 2 deletions

View File

@@ -23,7 +23,8 @@
:key="index"
:class="[currIndex === index ? 'active' : '']">
<image class="checked" v-if="currIndex === index" src="./images/xuanzhong.png" />
<image class="icon" src="./images/icon.png" />
<image class="icon" v-if="!item.lastPhotoUrl" src="./images/icon.png" />
<image class="img" v-if="item.lastPhotoUrl" :src="item.lastPhotoUrl" mode="aspectFill" />
<div class="item-bottom">
<h2>{{ item.albumName }}</h2>
<div class="item-bottom__info">
@@ -198,6 +199,11 @@
border: 4px solid #2477F1;
}
.img {
width: 100%;
height: 100%;
}
.item-bottom {
position: absolute;
left: 0;