From 224400af69708eb3a11af527af2d5eb39f9017e5 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Sun, 25 Jun 2023 15:19:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20quitApp=20=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 ++++++ pages/API/quitApp/quitApp.uvue | 26 ++++++++++++++++++++++++++ pages/tabBar/API/API.uvue | 7 +++++++ 3 files changed, 39 insertions(+) create mode 100644 pages/API/quitApp/quitApp.uvue diff --git a/pages.json b/pages.json index c9e13511..b355c349 100644 --- a/pages.json +++ b/pages.json @@ -131,6 +131,12 @@ "style": { "navigationBarTitleText": "消息提示框" } + }, + { + "path": "pages/API/quitApp/quitApp", + "style": { + "navigationBarTitleText": "退出应用" + } } ], "globalStyle": { diff --git a/pages/API/quitApp/quitApp.uvue b/pages/API/quitApp/quitApp.uvue new file mode 100644 index 00000000..e2db75d7 --- /dev/null +++ b/pages/API/quitApp/quitApp.uvue @@ -0,0 +1,26 @@ + + \ No newline at end of file diff --git a/pages/tabBar/API/API.uvue b/pages/tabBar/API/API.uvue index 43e4544a..52bffe04 100644 --- a/pages/tabBar/API/API.uvue +++ b/pages/tabBar/API/API.uvue @@ -197,6 +197,13 @@ url: "/platforms/app-plus/orientation/orientation", }, //#endif + //#ifdef APP-ANDROID + { + name: "退出应用", + url: "quitApp", + enable: true + } + //#endif ] as Page[], }, { -- GitLab