mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 动态视频框加入圆角
This commit is contained in:
@@ -85,7 +85,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
|
|||||||
Hero(
|
Hero(
|
||||||
tag: content.bvid,
|
tag: content.bvid,
|
||||||
child: NetworkImgLayer(
|
child: NetworkImgLayer(
|
||||||
type: floor == 1 ? 'emote' : null,
|
type: null,
|
||||||
width: width,
|
width: width,
|
||||||
height: width / StyleString.aspectRatio,
|
height: width / StyleString.aspectRatio,
|
||||||
src: content.cover,
|
src: content.cover,
|
||||||
@@ -117,9 +117,7 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
|
|||||||
Colors.black54,
|
Colors.black54,
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
borderRadius: floor == 1
|
borderRadius: BorderRadius.circular(StyleString.imgRadius.x)),
|
||||||
? null
|
|
||||||
: const BorderRadius.all(Radius.circular(6))),
|
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
crossAxisAlignment: CrossAxisAlignment.end,
|
crossAxisAlignment: CrossAxisAlignment.end,
|
||||||
|
|||||||
Reference in New Issue
Block a user