更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -1,7 +1,3 @@
|
||||
// 小程序自定义导航头部避让工具
|
||||
// env(safe-area-inset-top) 在开发者工具模拟器/部分安卓机返回 0,不可靠;
|
||||
// 改用胶囊按钮实测位置(getMenuButtonBoundingClientRect)计算顶部内边距。
|
||||
// 用法:const headPad = mpHeadPad(),绑定到头部元素 :style="headPad"
|
||||
export function mpHeadPad(extra = 8) {
|
||||
// #ifdef MP-WEIXIN
|
||||
try {
|
||||
@@ -10,7 +6,6 @@ export function mpHeadPad(extra = 8) {
|
||||
return { paddingTop: mb.bottom + extra + 'px' }
|
||||
}
|
||||
} catch (e) {
|
||||
// 取不到胶囊时回退 CSS 值
|
||||
}
|
||||
// #endif
|
||||
return {}
|
||||
|
||||
Reference in new issue
Block a user