预览店铺执照
This commit is contained in:
parent
72bfc5fa18
commit
63298679cf
@ -25,7 +25,7 @@
|
|||||||
<u-icon name="arrow-down" color="#999999" size="28"></u-icon>
|
<u-icon name="arrow-down" color="#999999" size="28"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="image-list" v-if="info.business_licence_number_electronic">
|
<view class="image-list" v-if="info.business_licence_number_electronic">
|
||||||
<image :src="info.business_licence_number_electronic"></image>
|
<image :src="info.business_licence_number_electronic" @click="previewImage(info.business_licence_number_electronic)"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -42,6 +42,15 @@ export default {
|
|||||||
// console.log(res)
|
// console.log(res)
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
previewImage(urls) {
|
||||||
|
// console.log(urls);
|
||||||
|
const imageList = [urls];
|
||||||
|
uni.previewImage({
|
||||||
|
urls: imageList,
|
||||||
|
});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user