cover-view组件一定要写在map组件下方,并且可以在里面写image,img,text等,
<map>
...
</map>
<cover-view style="position: fixed;top: 0;">
<text>悬浮组件</text>
<image style="position: fixed;" src="../../static/TV.png" mode=""></image>
</cover-view>
cover-view组件一定要写在map组件下方,并且可以在里面写image,img,text等,
<map>
...
</map>
<cover-view style="position: fixed;top: 0;">
<text>悬浮组件</text>
<image style="position: fixed;" src="../../static/TV.png" mode=""></image>
</cover-view>