This commit is contained in:
yanran200730
2022-05-25 15:21:24 +08:00
parent 8011f1adab
commit ccc2333fc1
3 changed files with 10 additions and 5 deletions

View File

@@ -27,7 +27,7 @@
v-for="(item, index) in watermarkList"
:key="item.id"
@click.stop="currIndex = index">
<image :src="item.thum" mode="aspectFill" />
<image :src="item.thum" />
<div class="water-item__bottom">{{ item.name }}</div>
</div>
</div>
@@ -123,8 +123,11 @@
this.img = query.url
this.height = uni.getSystemInfoSync().windowHeight
this.getWatermarkList()
this.getLocation()
this.$nextTick(() => {
this.getWatermarkList()
})
},
methods: {
@@ -273,7 +276,7 @@
})
this.$http.post('/api/appalbum/list', null, {
parmas: {
params: {
size: 1000
}
}).then(res => {
@@ -407,7 +410,7 @@
}
image {
width: 176px;
width: 236px;
height: 200px;
}