WeChat jssdk image preview interface calling method!

$(".weui_uploader_files li").click(function(e) {
			var thisPath = webRoot + $(this).attr("path");
			var lis = $(this).siblings();
			var imgs = new Array();
			for (i = 0; i < lis.length; i++) {
				var photoPath = lis[i].getAttribute("path");
				imgs.push(webRoot + photoPath);
			}
			wx.previewImage({
				current : thisPath,
				urls : imgs
			});
		});

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326402528&siteId=291194637