问题模块 |
---|
API和组件 |
.content .items .item {
background:url('../../public/img/1.png') no-repeat bottom right;
background-size: 102rpx 98rpx;
}
开发者工具可以看到,手机上看不到
网友回复
Long.:
got it!
andkin☄:
https://mp.weixin.qq.com/debug/wxadoc/dev/qa.html
本地资源无法通过 css 获取
background-image
:可以使用网络图片,或者 base64,或者使用<image/>
标签