微信小程序 image组件遇到的问题
远程图片
在真机上测试时 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组件遇到的问题,希望对大家有所帮助