富贵资源网 Design By www.hznty.com

远程图片

在真机上测试时 image组件只能显示http请求的图片, 对https 与 //xxx.xxx.xx 之类的不能显示。

可显示

'http://img.alicdn.com/i2/83231071/TB2B03RsYplpuFjSspiXXcdfFXa_!!83231071.jpg',
"http://img.alicdn.com/i2/83231071/TB2uTODub0kpuFjy0FjXXcBbVXa_!!83231071.jpg",
"http://img.alicdn.com/i3/83231071/TB2sTNajr_0UKFjy1XaXXbKfXXa_!!83231071.jpg",
"http://img.alicdn.com/i2/83231071/TB2r3S5q30kpuFjSspdXXX4YXXa_!!83231071.jpg"

不能显示

'https://img.alicdn.com/i2/83231071/TB2B03RsYplpuFjSspiXXcdfFXa_!!83231071.jpg',
"https://img.alicdn.com/i2/83231071/TB2uTODub0kpuFjy0FjXXcBbVXa_!!83231071.jpg",
"https://img.alicdn.com/i3/83231071/TB2sTNajr_0UKFjy1XaXXbKfXXa_!!83231071.jpg",
"https://img.alicdn.com/i2/83231071/TB2r3S5q30kpuFjSspdXXX4YXXa_!!83231071.jpg"

'//img.alicdn.com/i2/83231071/TB2B03RsYplpuFjSspiXXcdfFXa_!!83231071.jpg',
"//img.alicdn.com/i2/83231071/TB2uTODub0kpuFjy0FjXXcBbVXa_!!83231071.jpg",
"//img.alicdn.com/i3/83231071/TB2sTNajr_0UKFjy1XaXXbKfXXa_!!83231071.jpg"

总结

以上所述是小编给大家介绍的微信小程序 image组件遇到的问题,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!
如果你觉得本文对你有帮助,欢迎转载,烦请注明出处,谢谢!

富贵资源网 Design By www.hznty.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
富贵资源网 Design By www.hznty.com