图片资源加载不了(路径是对的),请问是什么问题The image resource cannot be loaded (the path is correct), what is the problem?
图片资源加载不了(路径是对的),请问是什么问题框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | image | 微信安卓客户端 | 6.53 | 2.0.0 |
Framework type problem type API / component name terminal type wechat version basic library version applet bug image wechat Android client 6.53 2.0.0 code fragment < image SCR = "/ miniprogram / pages / images / Wx. JPG" mode = "aspectfill" > < / Image >
回答:
不显示那就是不对,对了就会显示,不是真正的对
一般images文件夹放到和pages同级的吧,然后根目录从/images开始。试试:
/images/wx.jpg