<view class=“mg-head” style=‘background-image: url(/static/images/monthGoal/[email protected]);’>
手机上
背景图片只能用网络图片或base64
背景图片不支持本地路径
最开始我用的就是相对路径