uni-app
uni-app copied to clipboard
map地图marker上label设置背景色无效
问题描述 map地图marker上label设置背景色无效
复现步骤 [复现问题的步骤]
- hbuilderx启动uniapp项目
- 进入地图页面
- marker上label背景色无效果 markers: [{ latitude: 34.174114, longitude: 108.856865, iconPath: '/static/img/shangjia.png', }, { latitude: 34.178114, longitude: 108.856865, iconPath: '/static/img/mubiao.png', }, { latitude: 34.173114, longitude: 108.856865, iconPath: '/static/img/siji.png', label: { content: '', color: '#212121', bgColor: 'black', padding: 10, borderRadius: 4, }, } ]
实际结果

label 的 bgColor 仅 app-nvue/微信/百度小程序支持,确认页面是否是nvue