uniapp:如何实现点击图片可以全屏展示预览

这个需要使用uniapp中的api:uni.previewImage,使用方法如下

1、html

2、JavaScript

这样就可以实现照片的预览和全屏展示了

你可能感兴趣的:(uniapp,日常问题,uni-app,前端)