previewImage多图左右滑动黑屏
发布于 5 年前 作者 dkong 6112 次浏览 来自 问答
previewImage: function (e) {
  var img = this.img()
  var current = e.target.dataset.src;
  wx.previewImage({
    current: current, // 当前显示图片的http链接 
    urls: img// 需要预览的图片http链接列表 
  })
}

preview显示的图片下载完全后,左右滑动时有概率会出现黑屏,并且上方标签显示为上一图片的索引。

2 回复

你好,麻烦提供以下信息: 

1、能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html) 

2、出现问题的机型和微信版本号 

我也遇到了

回到顶部