问题模块 |
---|
API和组件 |
不显示提示,问了一下高手,说可能显示到图片底下了
是想实现进入到预览图片的时候,来个提示框,提示可以向左滑可以翻页
v1click: function (e) {
var index = e.currentTarget.dataset.index
// console.log(index), // data
wx.previewImage({
current: this.data.newslist[index],
urls: this.data.newslist
})
wx.showToast({
title: '向左滑动翻页',
image: '../../images/zuo.png',// <icon type="download" size="140" color="rgb(16,174,255)"/>
duration: 1000
})//搞个提示
},//v1click end
网友回复
陆木:
放前面也不显示的~
赵子龙:
你把
wx.showToast放wx.previewImage前面不就行了