bug
This commit is contained in:
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user