02 2021 档案
摘要://事件处理函数 onLoad: function (options) { const res = wx.getSystemInfoSync() var statusbarH = res.statusBarHeight this.setData({ statusbar :statusbarH, //
阅读全文
摘要:参考:https://blog.csdn.net/weixin_44622984/article/details/111572159 我使用的是参考文章的最后一种方式:需要加在需要padding的地方 padding-bottom: constant(safe-area-inset-bottom);
阅读全文