使用rich-text后再用map组件,地图会悬浮在富文本中间
- 当前 Bug 的表现(可附上截图)
使用rich-text后再用map组件,地图会悬浮在富文本中间,开发工具显示正常,真机显示错位
- 预期表现
富文本显示后再显示地图
- 复现路径
- 提供一个最简复现 Demo
<view class = "weui-flex" > <view class = "weui-flex__item" > <rich-text nodes= "{{content.detail}}" ></rich-text> </view> </view> <view class = "weui-flex" > <view class = "weui-flex__item" > <map id= "map{{index}}" longitude= "{{content.lng}}" latitude= "{{content.lat}}" scale= "14" show-location style= "width: 100%;height:100%;" bindtap= "openLocation" data-latitude= "{{content.lat}}" data-longitude= "{{content.lng}}" data-name= "{{content.name}}" data-address= "{{content.address}}" ></map> </view> </view> |