This commit is contained in:
yanran200730
2022-05-30 11:19:42 +08:00
parent 7c54c806ad
commit 35461d3c9e

View File

@@ -69,11 +69,11 @@
<scroll-view scroll-y class="album-list__wrapper">
<div
class="item"
@click="currIndex = index"
@click="albumIndex = index"
v-for="(item, index) in albumList"
:key="index"
:class="[currIndex === index ? 'active' : '']">
<image class="checked" v-if="currIndex === index" src="./images/xuanzhong.png" />
:class="[albumIndex === index ? 'active' : '']">
<image class="checked" v-if="albumIndex === index" src="./images/xuanzhong.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">
@@ -134,6 +134,7 @@
waterSrc: '',
albumId: '1',
albumName: '',
albumIndex: 0,
watermarkList: [],
isShowAlbum: false,
albumList: [],