小程序图片API
wx.getImageInfo 获取图片信息
src 图片的路径
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数
wx.previewImage 在新页面中全屏预览图片
urls 预览的图片列表
current 当前显示图片的链接
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数
任务
- ?不会了怎么办
wx.getImageInfo 获取图片信息
src 图片的路径
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数
wx.previewImage 在新页面中全屏预览图片
urls 预览的图片列表
current 当前显示图片的链接
success 接口调用成功的回调函数
fail 接口调用失败的回调函数
complete 接口调用结束的回调函数