mod
This commit is contained in:
@ -184,18 +184,32 @@ class VideoStat extends StatelessWidget {
|
|||||||
tileMode: TileMode.mirror,
|
tileMode: TileMode.mirror,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: RichText(
|
child: Row(
|
||||||
maxLines: 1,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
textAlign: TextAlign.justify,
|
children: [
|
||||||
softWrap: false,
|
Text(
|
||||||
text: TextSpan(
|
liveItem!.areaName!,
|
||||||
style: const TextStyle(fontSize: 11, color: Colors.white),
|
style: const TextStyle(fontSize: 11, color: Colors.white),
|
||||||
children: [
|
),
|
||||||
TextSpan(text: liveItem!.areaName!),
|
Text(
|
||||||
TextSpan(text: liveItem!.watchedShow!['text_small']),
|
liveItem!.watchedShow!['text_small'],
|
||||||
],
|
style: const TextStyle(fontSize: 11, color: Colors.white),
|
||||||
),
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// child: RichText(
|
||||||
|
// maxLines: 1,
|
||||||
|
// textAlign: TextAlign.justify,
|
||||||
|
// softWrap: false,
|
||||||
|
// text: TextSpan(
|
||||||
|
// style: const TextStyle(fontSize: 11, color: Colors.white),
|
||||||
|
// children: [
|
||||||
|
// TextSpan(text: liveItem!.areaName!),
|
||||||
|
// TextSpan(text: liveItem!.watchedShow!['text_small']),
|
||||||
|
// ],
|
||||||
|
// ),
|
||||||
|
// ),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -79,27 +79,40 @@ class _LiveRoomPageState extends State<LiveRoomPage> {
|
|||||||
backgroundColor: Colors.black,
|
backgroundColor: Colors.black,
|
||||||
body: Stack(
|
body: Stack(
|
||||||
children: [
|
children: [
|
||||||
Obx(
|
// Obx(
|
||||||
() =>
|
// () => Positioned.fill(
|
||||||
_liveRoomController.roomInfoH5.value.roomInfo?.appBackground !=
|
// child: Opacity(
|
||||||
''
|
// opacity: 0.8,
|
||||||
? Positioned.fill(
|
// child: _liveRoomController
|
||||||
child: Opacity(
|
// .roomInfoH5.value.roomInfo?.appBackground !=
|
||||||
opacity: 0.8,
|
// '' &&
|
||||||
child: NetworkImgLayer(
|
// _liveRoomController
|
||||||
width: Get.width,
|
// .roomInfoH5.value.roomInfo?.appBackground !=
|
||||||
height: Get.height,
|
// null
|
||||||
src: _liveRoomController
|
// ? NetworkImgLayer(
|
||||||
.roomInfoH5.value.roomInfo?.appBackground ??
|
// width: Get.width,
|
||||||
'',
|
// height: Get.height,
|
||||||
),
|
// src: _liveRoomController
|
||||||
),
|
// .roomInfoH5.value.roomInfo?.appBackground ??
|
||||||
)
|
// '',
|
||||||
: Image.asset(
|
// )
|
||||||
'assets/images/live/default_bg.webp',
|
// : Image.asset(
|
||||||
width: Get.width,
|
// 'assets/images/live/default_bg.webp',
|
||||||
height: Get.height,
|
// width: Get.width,
|
||||||
),
|
// height: Get.height,
|
||||||
|
// ),
|
||||||
|
// ),
|
||||||
|
// ),
|
||||||
|
// ),
|
||||||
|
Positioned.fill(
|
||||||
|
child: Opacity(
|
||||||
|
opacity: 0.8,
|
||||||
|
child: Image.asset(
|
||||||
|
'assets/images/live/default_bg.webp',
|
||||||
|
width: Get.width,
|
||||||
|
height: Get.height,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
Column(
|
Column(
|
||||||
children: [
|
children: [
|
||||||
|
Reference in New Issue
Block a user