WeChat Mini Programs previews the picture to realize sliding left and right.

wx.previewImage () API realizes the preview of the picture, so how can you slide left and right to switch the preview of the picture

Mar.16,2021

look at the document: wx.previewImage (OBJECT)

set urls: ['path/to/imaeg',' path/to/image',.]


use swiper to rotate pictures or scroll-view to switch pictures

Menu