Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-14 12:13:17 +08:00
parent ba85c014cf
commit 7482f52557
78 changed files with 429 additions and 849 deletions

View File

@@ -68,9 +68,7 @@ class _SearchAllPanelState
child: SearchPgcItem(item: e.first),
)
: SizedBox(
height:
Grid.smallCardWidth / 2 / 0.75 +
MediaQuery.textScalerOf(context).scale(60),
height: Grid.smallCardWidth / 2 / 0.75 + 60,
child: ListView.builder(
padding: const EdgeInsets.only(bottom: 7),
physics: const AlwaysScrollableScrollPhysics(),
@@ -104,7 +102,7 @@ class _SearchAllPanelState
@override
Widget get buildLoading => SliverGrid.builder(
gridDelegate: Grid.videoCardHDelegate(context),
gridDelegate: Grid.videoCardHDelegate(),
itemBuilder: (context, index) => const VideoCardHSkeleton(),
itemCount: 10,
);

View File

@@ -49,7 +49,7 @@ class _SearchLivePanelState
crossAxisSpacing: Style.cardSpace,
mainAxisSpacing: Style.cardSpace,
childAspectRatio: Style.aspectRatio,
mainAxisExtent: MediaQuery.textScalerOf(context).scale(80),
mainAxisExtent: 80,
);
@override

View File

@@ -70,7 +70,6 @@ class _SearchPgcPanelState
mainAxisSpacing: 2,
maxCrossAxisExtent: Grid.smallCardWidth * 2,
childAspectRatio: Style.aspectRatio * 1.5,
minHeight: MediaQuery.textScalerOf(context).scale(155),
),
itemBuilder: (context, index) => const MediaPgcSkeleton(),
itemCount: 10,