<template>
	<view>
		<image src="../../static/cabtact.png" mode="" @click="yulan"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			yulan(){
			      uni.previewImage({
			      			urls: ["https://zsy-m.mianyang.cn/upload/2021/12/08/c339a2e0-3be1-4691-81ab-5bc8d4083116.png"],
			      			longPressActions: {
			      				itemList: ['发送给朋友', '保存图片', '收藏'],
			      				success: function(data) {
			      					console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
			      				},
			      				fail: function(err) {
			      					console.log(err.errMsg);
			      				}
			      			}
			      		});
			}
		}
	}
</script>

<style>

</style>
