图片预览?
安卓手机预览没有问题,苹果plus为什么一直显示加载中?是不是出了什么问题?
<view class=‘picture’>
<block wx:for=“{{urlpus}}”>
<image src=“{{item}}” bindtap=“tgrimg” />
</block>
</view>
…-----
tgrimg: function (e) {
var current = e.target.dataset.src;
wx.previewImage({
current: current, // 当前显示图片的http链接
urls: this.data.urlpus // 需要预览的图片http链接列表
})
},
