Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-26 16:34:02 +08:00
parent a623ceee47
commit 7049e5c63a
23 changed files with 71 additions and 116 deletions

View File

@@ -52,12 +52,7 @@ class _MemberHomeState extends State<MemberHome>
mainAxisExtent: MediaQuery.textScalerOf(context).scale(55),
);
late final gridDelegateAudio = SliverGridDelegateWithExtentAndRatio(
mainAxisSpacing: 2,
maxCrossAxisExtent: Grid.smallCardWidth * 2,
childAspectRatio: Style.aspectRatio * 2.6,
minHeight: MediaQuery.textScalerOf(context).scale(90),
);
late final gridDelegateAudio = Grid.videoCardHDelegate();
late final gridDelegatePgc = SliverGridDelegateWithExtentAndRatio(
mainAxisSpacing: Style.cardSpace,
@@ -114,7 +109,7 @@ class _MemberHomeState extends State<MemberHome>
),
SliverToBoxAdapter(
child: SizedBox(
height: 98,
height: 110,
child: MemberFavItem(
item: res.favourite2!.item!.first,
),
@@ -183,7 +178,7 @@ class _MemberHomeState extends State<MemberHome>
),
SliverToBoxAdapter(
child: SizedBox(
height: 98,
height: 110,
child: MemberArticleItem(
item: res.article!.item!.first,
),

View File

@@ -42,8 +42,8 @@ class MemberFavItem extends StatelessWidget {
children: [
NetworkImgLayer(
src: item.cover,
width: 140.8,
height: 88,
width: 160,
height: 100,
),
const SizedBox(width: 10),
Expanded(