mod: 详情页横屏布局(bug很多不要下载!)

This commit is contained in:
orz12
2024-02-08 23:29:42 +08:00
parent 88bc9e3ff9
commit 2ed7d00483
17 changed files with 294 additions and 102 deletions

View File

@@ -8,12 +8,10 @@ class PagesPanel extends StatefulWidget {
super.key,
required this.pages,
this.cid,
this.sheetHeight,
this.changeFuc,
});
final List<Part> pages;
final int? cid;
final double? sheetHeight;
final Function? changeFuc;
@override
@@ -96,7 +94,7 @@ class _PagesPanelState extends State<PagesPanel> {
_scrollController.jumpTo(currentIndex * 56);
});
return Container(
height: widget.sheetHeight,
height: context.height.abs() * 0.7,
color: Theme.of(context).colorScheme.background,
child: Column(
children: [