mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: dyn live cover
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -74,8 +74,6 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
|
|||||||
Hero(
|
Hero(
|
||||||
tag: liveRcmd.roomId.toString(),
|
tag: liveRcmd.roomId.toString(),
|
||||||
child: NetworkImgLayer(
|
child: NetworkImgLayer(
|
||||||
radius: 12,
|
|
||||||
type: floor == 1 ? 'emote' : null,
|
|
||||||
width: width,
|
width: width,
|
||||||
height: width / StyleString.aspectRatio,
|
height: width / StyleString.aspectRatio,
|
||||||
src: item.modules.moduleDynamic.major.liveRcmd.cover,
|
src: item.modules.moduleDynamic.major.liveRcmd.cover,
|
||||||
@@ -114,7 +112,7 @@ Widget liveRcmdPanel(item, context, {floor = 1}) {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
borderRadius: floor == 1
|
borderRadius: floor == 1
|
||||||
? const BorderRadius.all(Radius.circular(12))
|
? StyleString.mdRadius
|
||||||
: const BorderRadius.all(Radius.circular(6))),
|
: const BorderRadius.all(Radius.circular(6))),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
|
|||||||
// tag: content.bvid,
|
// tag: content.bvid,
|
||||||
// child:
|
// child:
|
||||||
NetworkImgLayer(
|
NetworkImgLayer(
|
||||||
type: null,
|
|
||||||
width: width,
|
width: width,
|
||||||
height: width / StyleString.aspectRatio,
|
height: width / StyleString.aspectRatio,
|
||||||
src: content.cover,
|
src: content.cover,
|
||||||
|
|||||||
Reference in New Issue
Block a user