diff --git a/pages.json b/pages.json index f6c2f3551ad53f02703453512cde080709413136..859b3be2b70a9d6458cfac3e2edce7d966457357 100644 --- a/pages.json +++ b/pages.json @@ -967,6 +967,13 @@ "navigationBarTitleText": "getWindowInfo | 获取窗口信息" } }, + { + "path": "pages/API/get-window-info/window-area", + "style": { + "navigationBarTitleText": "window area", + "navigationStyle": "custom" + } + }, // #ifndef WEB { "path": "pages/API/element-draw/element-draw", @@ -1879,6 +1886,8 @@ "backgroundColorContent": "@backgroundColorContent", "backgroundColor": "@backgroundColor", "backgroundTextStyle": "@backgroundTextStyle" + "hideStatusBar": false, + "hideBottomNavigationIndicator": false }, "tabBar": { "color": "@tabBarColor", diff --git a/pages/API/get-current-pages/page-style.uts b/pages/API/get-current-pages/page-style.uts index 3274efba01f5c3c783c2838f2fccc5b0d5008262..62bf13a326f5fb8db598ebaa14c7765f63f41137 100644 --- a/pages/API/get-current-pages/page-style.uts +++ b/pages/API/get-current-pages/page-style.uts @@ -70,4 +70,14 @@ export const PageStyleArray = [ key: "navigationBarAutoBackButton", type: "boolean", value: [true, false] + }, + { + key: "hideStatusBar", + type: "boolean", + value: [true, false] + }, + { + key: "hideBottomNavigationIndicator", + type: "boolean", + value: [true, false] }] as PageStyleItem[] diff --git a/pages/API/get-window-info/get-window-info.uvue b/pages/API/get-window-info/get-window-info.uvue index f16176ddf7dbe28ae389b5c62483d703ce28c0b2..dc7c52c913bcfc2642d86f719732638bc8d62843 100644 --- a/pages/API/get-window-info/get-window-info.uvue +++ b/pages/API/get-window-info/get-window-info.uvue @@ -15,6 +15,13 @@ + + + + + + + diff --git a/pages/API/get-window-info/window-area.uvue b/pages/API/get-window-info/window-area.uvue new file mode 100644 index 0000000000000000000000000000000000000000..2df9f95c2a18d4b0df53fef70f926d1599cbee7b --- /dev/null +++ b/pages/API/get-window-info/window-area.uvue @@ -0,0 +1,146 @@ + + + + + diff --git a/pages/template/slider-100/slider-100.uvue b/pages/template/slider-100/slider-100.uvue index 54651575d3f53d476bc7cff5c9b4d581f81b9b27..b41663aa92a4205ff8dd3290fb44f181ab92bce3 100644 --- a/pages/template/slider-100/slider-100.uvue +++ b/pages/template/slider-100/slider-100.uvue @@ -10,6 +10,7 @@ +