<navigator target="miniProgram" hover-class="none"
path=""
open-type="navigate"
extra-data=""
version="develop"
style="position:fixed;bottom:40px;right:20px;z-index:9999;height:80rpx;width:210rpx;border-radius:20rpx;opacity:0.8;background: url(../../imgs/tom_pig.jpg) no-repeat;" app-id="wx3344f6a049f7b1bd">
</navigator>
|
在开发者工具上可以显示:这个navigator 但是在真机上不显示
![]()
你好,目前不支持直接在 background url 使用本地图片,可以通过:
url 换成网络地址
使用 image 组件
是这个问题,谢谢