uniapp真机上使用img标签不生效的坑

原因:真机上解析不了img标签

<img src="/static/orderList_1.png" alt="" style="width: 750upx;margin-bottom: 18upx;">

解决方式:把img标签换成iamge标签即可

<image src="/static/orderList_1.png" alt="" style="width: 750upx;margin-bottom: 18upx;">

猜你喜欢

转载自blog.csdn.net/weixin_40565812/article/details/126155102