微信小程序实现悬浮组件
参考 https://www.cnblogs.com/yuyangcoder/p/9839032.html
文章中的index.wxss文件中
.firstView {
position: absolute;
height: 70rpx;
width: 70rpx;
padding: 10rpx;
background-color: #35d75d;
border-radius: 50%;
}
的position设为 fixed即可实现悬浮