mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 使用导航键点不到合集列表末项与错误日志
This commit is contained in:
@@ -27,119 +27,121 @@ class _AboutPageState extends State<AboutPage> {
|
|||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text('关于', style: Theme.of(context).textTheme.titleMedium),
|
title: Text('关于', style: Theme.of(context).textTheme.titleMedium),
|
||||||
),
|
),
|
||||||
body: SingleChildScrollView(
|
body: ListView(
|
||||||
child: Column(
|
children: [
|
||||||
children: [
|
ConstrainedBox(constraints:
|
||||||
|
const BoxConstraints(
|
||||||
|
maxHeight: 150),
|
||||||
|
child:
|
||||||
Image.asset(
|
Image.asset(
|
||||||
'assets/images/logo/logo_android_2.png',
|
'assets/images/logo/logo_android_2.png',
|
||||||
width: 150,
|
|
||||||
),
|
),
|
||||||
Text(
|
),
|
||||||
'PiliPala',
|
ListTile(
|
||||||
style: Theme.of(context).textTheme.titleMedium,
|
title: Text('PiliPala',
|
||||||
),
|
textAlign: TextAlign.center,
|
||||||
const SizedBox(height: 6),
|
style: Theme.of(context).textTheme.titleMedium!.copyWith(height: 2)),
|
||||||
Text(
|
subtitle: Text(
|
||||||
'使用Flutter开发的哔哩哔哩第三方客户端',
|
'使用Flutter开发的哔哩哔哩第三方客户端',
|
||||||
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(color: Theme.of(context).colorScheme.outline),
|
style: TextStyle(color: Theme.of(context).colorScheme.outline),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 20),
|
),
|
||||||
Obx(
|
Obx(
|
||||||
() => ListTile(
|
() => ListTile(
|
||||||
title: const Text('当前版本'),
|
title: const Text('当前版本'),
|
||||||
trailing: Text(_aboutController.currentVersion.value,
|
trailing: Text(_aboutController.currentVersion.value,
|
||||||
style: subTitleStyle),
|
style: subTitleStyle),
|
||||||
),
|
|
||||||
),
|
),
|
||||||
Obx(
|
),
|
||||||
() => ListTile(
|
Obx(
|
||||||
onTap: () => _aboutController.onUpdate(),
|
() => ListTile(
|
||||||
title: const Text('最新版本'),
|
onTap: () => _aboutController.onUpdate(),
|
||||||
trailing: Text(
|
title: const Text('最新版本'),
|
||||||
_aboutController.isLoading.value
|
|
||||||
? '正在获取'
|
|
||||||
: _aboutController.isUpdate.value
|
|
||||||
? '有新版本 ❤️${_aboutController.remoteVersion.value}'
|
|
||||||
: '当前已是最新版',
|
|
||||||
style: subTitleStyle,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
// ListTile(
|
|
||||||
// onTap: () {},
|
|
||||||
// title: const Text('更新日志'),
|
|
||||||
// trailing: const Icon(
|
|
||||||
// Icons.arrow_forward_ios,
|
|
||||||
// size: 16,
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
Divider(
|
|
||||||
thickness: 1,
|
|
||||||
height: 30,
|
|
||||||
color: Theme.of(context).colorScheme.outlineVariant,
|
|
||||||
),
|
|
||||||
ListTile(
|
|
||||||
onTap: () => _aboutController.githubUrl(),
|
|
||||||
title: const Text('Github'),
|
|
||||||
trailing: Text(
|
trailing: Text(
|
||||||
'github.com/guozhigq/pilipala',
|
_aboutController.isLoading.value
|
||||||
|
? '正在获取'
|
||||||
|
: _aboutController.isUpdate.value
|
||||||
|
? '有新版本 ❤️${_aboutController.remoteVersion.value}'
|
||||||
|
: '当前已是最新版',
|
||||||
style: subTitleStyle,
|
style: subTitleStyle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
ListTile(
|
),
|
||||||
onTap: () => _aboutController.webSiteUrl(),
|
// ListTile(
|
||||||
title: const Text('访问官网'),
|
// onTap: () {},
|
||||||
trailing: Text(
|
// title: const Text('更新日志'),
|
||||||
'https://pilipalanet.mysxl.cn',
|
// trailing: const Icon(
|
||||||
style: subTitleStyle,
|
// Icons.arrow_forward_ios,
|
||||||
|
// size: 16,
|
||||||
|
// ),
|
||||||
|
// ),
|
||||||
|
Divider(
|
||||||
|
thickness: 1,
|
||||||
|
height: 30,
|
||||||
|
color: Theme.of(context).colorScheme.outlineVariant,
|
||||||
|
),
|
||||||
|
ListTile(
|
||||||
|
onTap: () => _aboutController.githubUrl(),
|
||||||
|
title: const Text('Github'),
|
||||||
|
trailing: Text(
|
||||||
|
'github.com/guozhigq/pilipala',
|
||||||
|
style: subTitleStyle,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
ListTile(
|
||||||
|
onTap: () => _aboutController.webSiteUrl(),
|
||||||
|
title: const Text('访问官网'),
|
||||||
|
trailing: Text(
|
||||||
|
'https://pilipalanet.mysxl.cn',
|
||||||
|
style: subTitleStyle,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
ListTile(
|
||||||
|
onTap: () => _aboutController.panDownload(),
|
||||||
|
title: const Text('网盘下载'),
|
||||||
|
trailing: Text(
|
||||||
|
'提取码:pili',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 13,
|
||||||
|
color: Theme.of(context).colorScheme.outline,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
ListTile(
|
),
|
||||||
onTap: () => _aboutController.panDownload(),
|
ListTile(
|
||||||
title: const Text('网盘下载'),
|
onTap: () => _aboutController.feedback(),
|
||||||
trailing: Text(
|
title: const Text('问题反馈'),
|
||||||
'提取码:pili',
|
trailing: Icon(
|
||||||
style: TextStyle(
|
Icons.arrow_forward_ios,
|
||||||
fontSize: 13,
|
size: 16,
|
||||||
color: Theme.of(context).colorScheme.outline,
|
color: outline,
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
ListTile(
|
),
|
||||||
onTap: () => _aboutController.feedback(),
|
ListTile(
|
||||||
title: const Text('问题反馈'),
|
onTap: () => _aboutController.qqChanel(),
|
||||||
trailing: Icon(
|
title: const Text('QQ群'),
|
||||||
Icons.arrow_forward_ios,
|
trailing: Icon(
|
||||||
size: 16,
|
Icons.arrow_forward_ios,
|
||||||
color: outline,
|
size: 16,
|
||||||
),
|
color: outline,
|
||||||
),
|
),
|
||||||
ListTile(
|
),
|
||||||
onTap: () => _aboutController.qqChanel(),
|
ListTile(
|
||||||
title: const Text('QQ群'),
|
onTap: () => _aboutController.tgChanel(),
|
||||||
trailing: Icon(
|
title: const Text('TG频道'),
|
||||||
Icons.arrow_forward_ios,
|
trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline),
|
||||||
size: 16,
|
),
|
||||||
color: outline,
|
ListTile(
|
||||||
),
|
onTap: () => _aboutController.aPay(),
|
||||||
),
|
title: const Text('赞助'),
|
||||||
ListTile(
|
trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline),
|
||||||
onTap: () => _aboutController.tgChanel(),
|
),
|
||||||
title: const Text('TG频道'),
|
ListTile(
|
||||||
trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline),
|
onTap: () => _aboutController.logs(),
|
||||||
),
|
title: const Text('错误日志'),
|
||||||
ListTile(
|
trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline),
|
||||||
onTap: () => _aboutController.aPay(),
|
),
|
||||||
title: const Text('赞助'),
|
],
|
||||||
trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline),
|
|
||||||
),
|
|
||||||
ListTile(
|
|
||||||
onTap: () => _aboutController.logs(),
|
|
||||||
title: const Text('错误日志'),
|
|
||||||
trailing: Icon(Icons.arrow_forward_ios, size: 16, color: outline),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,6 +131,9 @@ class _SeasonPanelState extends State<SeasonPanel> {
|
|||||||
Theme.of(context).dividerColor.withOpacity(0.1),
|
Theme.of(context).dividerColor.withOpacity(0.1),
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
|
child: Padding(
|
||||||
|
padding: EdgeInsets.only(
|
||||||
|
bottom: MediaQuery.of(context).padding.bottom),
|
||||||
child: Material(
|
child: Material(
|
||||||
child: ScrollablePositionedList.builder(
|
child: ScrollablePositionedList.builder(
|
||||||
itemCount: episodes.length,
|
itemCount: episodes.length,
|
||||||
@@ -163,7 +166,7 @@ class _SeasonPanelState extends State<SeasonPanel> {
|
|||||||
itemScrollController: itemScrollController,
|
itemScrollController: itemScrollController,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user