相册编辑
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<h2>水印库</h2>
|
||||
</div>
|
||||
<div class="watermark-list" v-if="currIndex === 1">
|
||||
<div class="item" @click="checkd(item.id)" v-for="(item, index) in list" :key="index" :class="[checkedList.includes(item.id) ? 'active' : '']">
|
||||
<div class="item" @click="checked(item.id)" v-for="(item, index) in list" :key="index" :class="[checkedList.includes(item.id) ? 'active' : '']">
|
||||
<image class="checked" v-if="checkedList.includes(item.id)" src="./images/xuanzhong.png" />
|
||||
<image class="watermark" :src="item.thum" mode="aspectFill" />
|
||||
</div>
|
||||
@@ -81,7 +81,7 @@
|
||||
})
|
||||
},
|
||||
|
||||
checkd (type) {
|
||||
checked (type) {
|
||||
const i = this.checkedList.indexOf(type)
|
||||
if (i > -1) {
|
||||
this.checkedList.splice(i, 1)
|
||||
|
||||
Reference in New Issue
Block a user