以为要 modal + image
自己做,发现不行
又以为要用别的插件,发现 Taro
自带了
Taro.previewImage({
current: 'https://jdc.jd.com/img/400x400', // 当前显示图片的http链接
urls: ['https://jdc.jd.com/img/400x400'] // 需要预览的图片http链接列表
})
以为要 modal + image
自己做,发现不行
又以为要用别的插件,发现 Taro
自带了
Taro.previewImage({
current: 'https://jdc.jd.com/img/400x400', // 当前显示图片的http链接
urls: ['https://jdc.jd.com/img/400x400'] // 需要预览的图片http链接列表
})