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

@@ -88,7 +88,7 @@ class LocalIntroController extends CommonIntroController {
}
final index = (-1).obs;
double get _offset => index * 100 + 7 - 35;
double get _offset => index * 112 + 7 - 35;
final list = RxList<BiliDownloadEntryInfo>();
@override

View File

@@ -42,7 +42,7 @@ class _LocalIntroPanelState extends State<LocalIntroPanel>
final item = _controller.list[index];
return _buildItem(theme, currIndex == index, index, item);
},
itemExtent: 100,
itemExtent: 112,
);
});
}
@@ -59,7 +59,7 @@ class _LocalIntroPanelState extends State<LocalIntroPanel>
return Padding(
padding: const EdgeInsets.only(bottom: 2),
child: SizedBox(
height: 98,
height: 110,
child: Material(
type: MaterialType.transparency,
child: InkWell(
@@ -85,15 +85,15 @@ class _LocalIntroPanelState extends State<LocalIntroPanel>
borderRadius: Style.mdRadius,
child: Image.file(
cover,
width: 140.8,
height: 88,
width: 160,
height: 100,
fit: BoxFit.cover,
cacheWidth: cacheWidth
? 140.8.cacheSize(context)
? 160.cacheSize(context)
: null,
cacheHeight: cacheWidth
? null
: 88.cacheSize(context),
: 100.cacheSize(context),
colorBlendMode: NetworkImgLayer.reduce
? BlendMode.modulate
: null,
@@ -104,8 +104,8 @@ class _LocalIntroPanelState extends State<LocalIntroPanel>
)
: NetworkImgLayer(
src: entry.cover,
width: 140.8,
height: 88,
width: 160,
height: 100,
),
PBadge(
text: DurationUtils.formatDuration(