货无忧
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
684 B

1 year ago
"use strict";const e=require("../../common/vendor.js"),o={install:o=>{const n=e.index.getSystemInfoSync();o.config.globalProperties.statusBarHeight=n.statusBarHeight;const i=e.index.getMenuButtonBoundingClientRect();o.config.globalProperties.Custom=i,o.config.globalProperties.navBarHeight=i.bottom+i.top-n.statusBarHeight;const t=n.model;t.indexOf("iPhone X")>=0||t.indexOf("iPhone XR")>=0||t.indexOf("iPhone XS")>=0||t.indexOf("iPhone 12")>=0||t.indexOf("iPhone 11")>=0||t.indexOf("iPhone11")>=0||t.indexOf("iPhone12")>=0||t.indexOf("iPhoneXR")>=0||t.indexOf("iPhoneX")>=0?o.config.globalProperties.safeAreaBottom=34:o.config.globalProperties.safeAreaBottom=0}};exports.fantMini=o;