一些同学问酱茄小编,酱茄WordPress版微信小程序页面的悬浮按钮怎么实现的,今天就把代码分享给各位。
.wxml:
.wxss:
add-wrap { position:fixed; bottom:20; display:flex; width:50%; justify-content:center; } .add-wrap image { width:50px; height:50px; }
参考效果:
![微信小程序之页面悬浮按钮的实现](http://p2.ttnews.xyz/loading.gif)
酱茄 jiangqie.com
2021-01-09 01:01:15 佚名
一些同学问酱茄小编,酱茄WordPress版微信小程序页面的悬浮按钮怎么实现的,今天就把代码分享给各位。
.wxml:
.wxss:
add-wrap { position:fixed; bottom:20; display:flex; width:50%; justify-content:center; } .add-wrap image { width:50px; height:50px; }
参考效果:
酱茄 jiangqie.com