mod: 关于页添加官网

This commit is contained in:
orz12
2024-02-22 16:20:31 +08:00
parent 2a4b46711b
commit 3ed8dcc8ac

View File

@@ -133,6 +133,14 @@ class _AboutPageState extends State<AboutPage> {
title: const Text('TG频道'), title: const Text('TG频道'),
trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline), trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline),
), ),
ListTile(
onTap: () => _aboutController.webSiteUrl(),
title: const Text('访问官网'),
trailing: Text(
'https://pilipalanet.mysxl.cn/pilipala-x',
style: subTitleStyle,
),
),
ListTile( ListTile(
onTap: () => _aboutController.aPay(), onTap: () => _aboutController.aPay(),
title: const Text('赞助'), title: const Text('赞助'),
@@ -228,6 +236,13 @@ class AboutController extends GetxController {
); );
} }
// 从网盘下载
panDownload() {
launchUrl(
Uri.parse('https://www.123pan.com/s/9sVqVv-flu0A.html'),
mode: LaunchMode.externalApplication,
);
}
// 问题反馈 // 问题反馈
feedback() { feedback() {
launchUrl( launchUrl(
@@ -261,6 +276,14 @@ class AboutController extends GetxController {
); );
} }
// 官网
webSiteUrl() {
launchUrl(
Uri.parse('https://pilipalanet.mysxl.cn/pilipala-x'),
mode: LaunchMode.externalApplication,
);
}
aPay() { aPay() {
try { try {
launchUrl( launchUrl(