From b0d348fdcdae8a3187ad5ba2b455256807a5ea3a Mon Sep 17 00:00:00 2001 From: yanyilin Date: Wed, 9 Aug 2023 15:49:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8D=8A=E5=B1=8F=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 11 +- pages/tabBar/template.uvue | 7 + pages/template/half-screen/half-screen.uvue | 182 ++++++++++++++++++++ 3 files changed, 199 insertions(+), 1 deletion(-) create mode 100644 pages/template/half-screen/half-screen.uvue diff --git a/pages.json b/pages.json index 2a025b7b..f507a724 100644 --- a/pages.json +++ b/pages.json @@ -707,7 +707,16 @@ "enablePullDownRefresh": false } } - ], + ,{ + "path" : "pages/template/half-screen/half-screen", + "style" : + { + "navigationBarTitleText": "半屏弹窗", + "enablePullDownRefresh": false + } + + } + ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "Hello uniapp x", diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index e544431e..dff50503 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -109,6 +109,13 @@ open: false, pages: [] as Page[] }, + { + id: "half-screen", + url: "half-screen", + name: "半屏弹窗", + open: false, + pages: [] as Page[] + }, { id: "drop-card", url: "drop-card", diff --git a/pages/template/half-screen/half-screen.uvue b/pages/template/half-screen/half-screen.uvue new file mode 100644 index 00000000..02e3b7bd --- /dev/null +++ b/pages/template/half-screen/half-screen.uvue @@ -0,0 +1,182 @@ + + + + + -- GitLab