mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 12:04:50 +08:00
@@ -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,
|
||||
);
|
||||
|
||||
@@ -49,7 +49,7 @@ class _SearchLivePanelState
|
||||
crossAxisSpacing: Style.cardSpace,
|
||||
mainAxisSpacing: Style.cardSpace,
|
||||
childAspectRatio: Style.aspectRatio,
|
||||
mainAxisExtent: MediaQuery.textScalerOf(context).scale(80),
|
||||
mainAxisExtent: 80,
|
||||
);
|
||||
|
||||
@override
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user