本地资源无法通过 WXSS 获取
background-image
:可以使用网络图片,或者 base64,或者使用<image/>
标签
目前小程序好像没有支持手机预览背景本地图片,所以将本地图片改为网络图片链接就可以了
background: url("https://..../img/no.png") no-repeat;
background-image
:可以使用网络图片,或者 base64,或者使用<image/>
标签
目前小程序好像没有支持手机预览背景本地图片,所以将本地图片改为网络图片链接就可以了
background: url("https://..../img/no.png") no-repeat;