@aks-dev/easyui 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/screen/index.ts +12 -2
package/package.json
CHANGED
package/screen/index.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @Author: shiguo
|
|
3
3
|
* @Date: 2022-04-19 10:25:14
|
|
4
4
|
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-
|
|
6
|
-
* @FilePath: /@aks/
|
|
5
|
+
* @LastEditTime: 2022-05-16 17:58:40
|
|
6
|
+
* @FilePath: /@aks/easyui/screen/index.ts
|
|
7
7
|
*/
|
|
8
8
|
export declare const deviceWidth: number; //设备的宽度
|
|
9
9
|
export declare const deviceHeight: number; //设备的高度
|
|
@@ -12,5 +12,15 @@ export declare const isIos: boolean;
|
|
|
12
12
|
export declare const px2dp: (uiElePx: number) => number;
|
|
13
13
|
export declare const px2sp: (fontSize: number) => number;
|
|
14
14
|
export declare const isiPhoneX: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @description: 状态栏的高度
|
|
17
|
+
* @param {*}
|
|
18
|
+
* @return {*}
|
|
19
|
+
*/
|
|
15
20
|
export declare const statusBarHeight: number;
|
|
21
|
+
/**
|
|
22
|
+
* @description: 顶部导航条的高度
|
|
23
|
+
* @param {*}
|
|
24
|
+
* @return {*}
|
|
25
|
+
*/
|
|
16
26
|
export declare const navigationBarHeight: number;
|