微信小程序
文章平均质量分 84
微信小程序
一只前端汪
这个作者很懒,什么都没留下…
展开
-
微信小程序日历的实现
微信小程序日历的实现,含demo演示和源码地址原创 2020-08-07 10:17:16 · 25937 阅读 · 73 评论 -
微信小程序吸顶效果的踩坑记录
前言最近公司小程序要实现一个效果,页面往上滑动时,底下导航固定到屏幕顶部,我最先想到的是在onPageScroll()中,当滑动超过一定距离时,将导航的position设置为fixed,如下: onPageScroll(e) { this.setData({ isFixed: e.scrollTop > 200 }) }这种实现在开发者工具中是正常的...原创 2020-06-04 15:21:05 · 3174 阅读 · 1 评论