问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 微信小程序 Bug map 工具 6.6.7 2.3.2
我在map 上面加个悬浮按钮,点击查找自己的位置, 并放大缩小,
在模拟器上可以正常显示, 但是在真机上面却显示不了。
.mypos {
position: fixed;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
}
.pos {
left: 10px;
bottom: 120px;
}
在模拟器上面 如下图,显示正常, 但是在手机上不显示这个图标。

求大神指点。
微信小程序开发问题解答
微信小程序开发者回答:
你要么用cover-view标签,里面搞两个button,要么用cover-image标签,直接放图片,可以看官方的组件里写的有。
微信小程序开发者回答:
谢谢
微信小程序开发者回答:
https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html
微信小程序开发者回答:
谢谢!
微信小程序开发者回答:
cover-image了解下
本文网址:http://www.91bianli.com/weixinxiaochengxu/33255.html