This commit is contained in:
yanran200730
2022-06-16 08:38:59 +08:00
parent 76593d3599
commit 1d6b6cb0a9

View File

@@ -1,7 +1,7 @@
<template>
<div class="photo" v-if="pageShow" @click="isShow = !isShow">
<div class="photo-wrapper">
<image mode="widthFix" :src="img" @click="preview(img)" />
<image mode="widthFix" :src="img" />
</div>
<div class="photo-bottom" :class="[isShow ? 'active' : '']">
<div class="top">
@@ -83,10 +83,6 @@
},
preview (url) {
// uni.previewImage({
// urls: [url],
// current: url
// })
if (!this.isShow) return
wx.previewImage({