From a4e21574f09bf1159785649fca97efff0357032a Mon Sep 17 00:00:00 2001 From: orz12 Date: Sun, 18 Aug 2024 17:06:44 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E7=A7=BB=E9=99=A4=E5=A4=B1=E6=95=88?= =?UTF-8?q?=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 | 60 +++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/lib/pages/about/index.dart b/lib/pages/about/index.dart index 08030dae..de94b433 100644 --- a/lib/pages/about/index.dart +++ b/lib/pages/about/index.dart @@ -122,7 +122,7 @@ class _AboutPageState extends State { leading: const Icon(Icons.star_outline_outlined), title: const Text('Github开源仓库'), trailing: Text( - 'github.com/orz12/pilipala', + 'github.com/orz12/PiliPalaX', style: subTitleStyle, ), ), @@ -151,15 +151,6 @@ class _AboutPageState extends State { title: const Text('TG频道'), trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline), ), - ListTile( - onTap: () => _aboutController.webSiteUrl(), - leading: const Icon(Icons.language), - title: const Text('官网'), - trailing: Text( - 'pilipalanet.mysxl.cn/pilipala-x', - style: subTitleStyle, - ), - ), ListTile( onTap: () => _aboutController.aPay(), leading: const Icon(Icons.wallet_giftcard_outlined), @@ -405,7 +396,7 @@ class AboutController extends GetxController { context: context, builder: (context) { return SimpleDialog( - title: const Text('问题反馈'), + title: const Text('问题反馈(建议直接加群反馈)'), children: [ ListTile( title: const Text('GitHub Issue'), @@ -415,14 +406,14 @@ class AboutController extends GetxController { mode: LaunchMode.externalApplication, ), ), - ListTile( - title: const Text('腾讯兔小巢'), - onTap: () => launchUrl( - Uri.parse('https://support.qq.com/embed/phone/637735'), - // 系统自带浏览器打开 - mode: LaunchMode.externalApplication, - ), - ), + // ListTile( + // title: const Text('腾讯兔小巢'), + // onTap: () => launchUrl( + // Uri.parse('https://support.qq.com/embed/phone/637735'), + // // 系统自带浏览器打开 + // mode: LaunchMode.externalApplication, + // ), + // ), ], ); }, @@ -463,22 +454,25 @@ class AboutController extends GetxController { } // 官网 - webSiteUrl() { - launchUrl( - Uri.parse('https://pilipalanet.mysxl.cn/pilipala-x'), - mode: LaunchMode.externalApplication, - ); - } + // webSiteUrl() { + // launchUrl( + // Uri.parse('https://pilipalanet.mysxl.cn/pilipala-x'), + // mode: LaunchMode.externalApplication, + // ); + // } + // aPay() { + // try { + // launchUrl( + // Uri.parse('https://pilipalanet.mysxl.cn/pilipalaxadmire'), + // mode: LaunchMode.externalApplication, + // ); + // } catch (e) { + // print(e); + // } + // } aPay() { - try { - launchUrl( - Uri.parse('https://pilipalanet.mysxl.cn/pilipalaxadmire'), - mode: LaunchMode.externalApplication, - ); - } catch (e) { - print(e); - } + SmartDialog.showToast('新接口来不及写了,直接来群里找作者吧'); } // 日志