live first frame

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-10 11:35:24 +08:00
parent 98ce99202e
commit 3090cfc6f9
9 changed files with 215 additions and 138 deletions

View File

@@ -1,4 +1,5 @@
import 'package:PiliPlus/models_new/live/live_feed_index/watched_show.dart';
import 'package:PiliPlus/utils/parse_string.dart';
class CardLiveItem {
int? roomid;
@@ -6,6 +7,7 @@ class CardLiveItem {
String? uname;
String? face;
String? cover;
String? systemCover;
String? title;
int? liveTime;
String? areaName;
@@ -21,6 +23,7 @@ class CardLiveItem {
this.uname,
this.face,
this.cover,
this.systemCover,
this.title,
this.liveTime,
this.areaName,
@@ -37,6 +40,7 @@ class CardLiveItem {
uname: json['uname'] as String?,
face: json['face'] as String?,
cover: json['cover'] as String?,
systemCover: noneNullOrEmptyString(json['system_cover']),
title: json['title'] as String?,
liveTime: json['live_time'] as int?,
areaName: json['area_name'] as String?,