Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-25 12:45:23 +08:00
parent 4bba675063
commit 461e91239e
9 changed files with 62 additions and 61 deletions

View File

@@ -72,6 +72,7 @@ class _MediaListPanelState
child: Column(
children: [
AppBar(
primary: false,
toolbarHeight: 45,
automaticallyImplyLeading: false,
titleSpacing: 16,
@@ -95,10 +96,11 @@ class _MediaListPanelState
),
const SizedBox(width: 14),
],
),
Divider(
height: 1,
color: theme.colorScheme.outline.withValues(alpha: 0.1),
shape: Border(
bottom: BorderSide(
color: theme.colorScheme.outline.withValues(alpha: 0.1),
),
),
),
Expanded(
child: enableSlide ? slideList(theme) : buildList(theme),

View File

@@ -60,6 +60,7 @@ class _NoteListPageState extends CommonSlidePageState<NoteListPage> {
SizedBox(
height: 45,
child: AppBar(
primary: false,
automaticallyImplyLeading: false,
titleSpacing: 16,
toolbarHeight: 45,
@@ -68,10 +69,8 @@ class _NoteListPageState extends CommonSlidePageState<NoteListPage> {
final count = _controller.count.value;
return Text('笔记${count == -1 ? '' : '($count)'}');
}),
bottom: PreferredSize(
preferredSize: const Size.fromHeight(1),
child: Divider(
height: 1,
shape: Border(
bottom: BorderSide(
color: theme.colorScheme.outline.withValues(alpha: 0.1),
),
),

View File

@@ -64,11 +64,14 @@ class _PostPanelState extends CommonCollapseSlidePageState<PostPanel> {
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
primary: false,
toolbarHeight: 45,
automaticallyImplyLeading: false,
titleSpacing: 16,
title: const Text('提交片段'),
actions: [
iconButton(
size: 32,
context: context,
tooltip: '添加片段',
onPressed: () {
@@ -90,6 +93,7 @@ class _PostPanelState extends CommonCollapseSlidePageState<PostPanel> {
),
const SizedBox(width: 10),
iconButton(
size: 32,
context: context,
tooltip: '关闭',
onPressed: Get.back,

View File

@@ -101,13 +101,14 @@ class _VideoReplyReplyPanelState
@override
Widget buildPage(ThemeData theme) {
Widget child() => enableSlide ? slideList(theme) : buildList(theme);
return Scaffold(
key: _key,
resizeToAvoidBottomInset: false,
body: Column(
children: [
widget.isVideoDetail
? Container(
body: widget.isVideoDetail
? Column(
children: [
Container(
height: 45,
decoration: BoxDecoration(
border: Border(
@@ -129,14 +130,11 @@ class _VideoReplyReplyPanelState
),
],
),
)
: Divider(
height: 1,
color: theme.dividerColor.withValues(alpha: 0.1),
),
Expanded(child: enableSlide ? slideList(theme) : buildList(theme)),
],
),
Expanded(child: child()),
],
)
: child(),
);
}

View File

@@ -45,6 +45,7 @@ class _ViewPointsPageState
return Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
primary: false,
automaticallyImplyLeading: false,
titleSpacing: 16,
title: const Text('分段信息'),
@@ -82,11 +83,9 @@ class _ViewPointsPageState
),
const SizedBox(width: 16),
],
bottom: PreferredSize(
preferredSize: const Size.fromHeight(1),
child: Divider(
height: 1,
color: theme.dividerColor.withValues(alpha: 0.1),
shape: Border(
bottom: BorderSide(
color: theme.colorScheme.outline.withValues(alpha: 0.1),
),
),
),