From 01fa3c1cb39cec388e6259dc75e0bc258001d5e0 Mon Sep 17 00:00:00 2001 From: guozhigq Date: Thu, 25 Jan 2024 23:13:16 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E5=85=B3=E4=BA=8E=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=98=E7=BD=91=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/about/index.dart | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/pages/about/index.dart b/lib/pages/about/index.dart index 5acfb7f33..997adbfe3 100644 --- a/lib/pages/about/index.dart +++ b/lib/pages/about/index.dart @@ -86,6 +86,14 @@ class _AboutPageState extends State { style: subTitleStyle, ), ), + ListTile( + onTap: () => _aboutController.webSiteUrl(), + title: const Text('访问官网'), + trailing: Text( + 'https://pilipalanet.mysxl.cn', + style: subTitleStyle, + ), + ), ListTile( onTap: () => _aboutController.panDownload(), title: const Text('网盘下载'), @@ -244,4 +252,12 @@ class AboutController extends GetxController { print(e); } } + + // 官网 + webSiteUrl() { + launchUrl( + Uri.parse('https://pilipalanet.mysxl.cn'), + mode: LaunchMode.externalApplication, + ); + } }