mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-09 04:24:53 +08:00
@@ -49,14 +49,13 @@ class _MemberHomeState extends State<MemberHome>
|
||||
crossAxisSpacing: Style.cardSpace,
|
||||
maxCrossAxisExtent: Grid.smallCardWidth,
|
||||
childAspectRatio: Style.aspectRatio,
|
||||
mainAxisExtent: MediaQuery.textScalerOf(context).scale(55),
|
||||
mainAxisExtent: 55,
|
||||
);
|
||||
|
||||
late final gridDelegateAudio = SliverGridDelegateWithExtentAndRatio(
|
||||
mainAxisSpacing: 2,
|
||||
maxCrossAxisExtent: Grid.smallCardWidth * 2,
|
||||
childAspectRatio: Style.aspectRatio * 2.6,
|
||||
minHeight: MediaQuery.textScalerOf(context).scale(90),
|
||||
);
|
||||
|
||||
late final gridDelegatePgc = SliverGridDelegateWithExtentAndRatio(
|
||||
@@ -64,7 +63,7 @@ class _MemberHomeState extends State<MemberHome>
|
||||
crossAxisSpacing: Style.cardSpace,
|
||||
maxCrossAxisExtent: Grid.smallCardWidth * 0.6,
|
||||
childAspectRatio: 0.75,
|
||||
mainAxisExtent: MediaQuery.textScalerOf(context).scale(52),
|
||||
mainAxisExtent: 52,
|
||||
);
|
||||
|
||||
Widget _buildBody(LoadingState<SpaceData?> loadingState) {
|
||||
@@ -114,7 +113,7 @@ class _MemberHomeState extends State<MemberHome>
|
||||
),
|
||||
SliverToBoxAdapter(
|
||||
child: SizedBox(
|
||||
height: 98,
|
||||
height: 110,
|
||||
child: MemberFavItem(
|
||||
item: res.favourite2!.item!.first,
|
||||
),
|
||||
@@ -183,7 +182,7 @@ class _MemberHomeState extends State<MemberHome>
|
||||
),
|
||||
SliverToBoxAdapter(
|
||||
child: SizedBox(
|
||||
height: 98,
|
||||
height: 110,
|
||||
child: MemberArticleItem(
|
||||
item: res.article!.item!.first,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user