微信小程序wepy

1、VM34652:2 Failed to load local image resource /images/icon_my_04.png

the server responded with a status of 404 (HTTP/1.1 404 Not Found)

直接写 /static/img/xx.png,比如:把图片放在根目录下的static文件下<img src="/static/img/bg.png" >

原因也很简单,static就是专门放静态资源文件的,存放在根目录下,直接就用

https://blog.csdn.net/yibowanbo/article/details/80066736

posted @   扬中源  阅读(282)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示