WXML
<image mode="widthFix" src="{{url + imgs.QRcode}}" data-srcs="{{url + imgs.QRcode}}" bindtap="previewImage"></image>
JS 调用小程序wx.previewImage(Object object)方法
previewImage: function(e) {
var current = e.currentTarget.dataset.srcs;
wx.previewImage({
current: current,
urls: [current]
})
},