![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
记录
C。阳
前端大白
展开
-
微信小程序获取头部导航栏高度
1.获取高度let res = wx.getSystemInfoSync() ///微信api方法 let titleH; if (res && res['system']) { // 判断是否是安卓操作系统 (标题栏苹果为44px,安卓为48px) if (res['system'].indexOf('Android') > 0) { titleH = 48 } else { titleH =原创 2021-06-04 16:47:08 · 4094 阅读 · 1 评论 -
vue2.0原生分页功能
基于vue的分页功能,包括跳转记忆功能等html:<!-- --><template> <div class="newsCenter" :style="footer" ref="newsCenter" id="newsCenter"> <div class="bc"></div> <div class="title f-22-600 p-t-20 t-a-c m-b-20">新闻中心</div>原创 2020-09-01 10:35:34 · 535 阅读 · 0 评论