mod: 无障碍语义适配

This commit is contained in:
orz12
2024-02-29 21:00:53 +08:00
parent 19117a041a
commit f8e6ec00f9
65 changed files with 683 additions and 390 deletions

View File

@@ -826,15 +826,15 @@ class Like {
class Stat {
Stat({
this.danmaku,
this.danmu,
this.play,
});
String? danmaku;
String? danmu;
String? play;
Stat.fromJson(Map<String, dynamic> json) {
danmaku = json['danmaku'];
danmu = json['danmaku'];
play = json['play'];
}
}

View File

@@ -134,15 +134,15 @@ class VListItemModel {
class Stat {
Stat({
this.view,
this.danmaku,
this.danmu,
});
int? view;
int? danmaku;
int? danmu;
Stat.fromJson(Map<String, dynamic> json) {
view = json["play"];
danmaku = json['video_review'];
danmu = json['video_review'];
}
}

View File

@@ -90,7 +90,7 @@ class Stat {
Stat({
this.aid,
this.view,
this.danmaku,
this.danmu,
this.reply,
this.favorite,
this.coin,
@@ -105,7 +105,7 @@ class Stat {
int? aid;
int? view;
int? danmaku;
int? danmu;
int? reply;
int? favorite;
int? coin;
@@ -120,7 +120,7 @@ class Stat {
Stat.fromJson(Map<String, dynamic> json) {
aid = json["aid"];
view = json["view"];
danmaku = json['danmaku'];
danmu = json['danmaku'];
reply = json["reply"];
favorite = json["favorite"];
coin = json['coin'];

View File

@@ -98,7 +98,7 @@ class SearchVideoItemModel {
class Stat {
Stat({
this.view,
this.danmaku,
this.danmu,
this.favorite,
this.reply,
this.like,
@@ -107,7 +107,7 @@ class Stat {
// 播放量
int? view;
// 弹幕数
int? danmaku;
int? danmu;
// 收藏数
int? favorite;
// 评论数
@@ -117,7 +117,7 @@ class Stat {
Stat.fromJson(Map<String, dynamic> json) {
view = json['play'];
danmaku = json['danmaku'];
danmu = json['danmaku'];
favorite = json['favorite'];
reply = json['review'];
like = json['like'];

View File

@@ -107,14 +107,14 @@ class FavDetailItemData {
class Stat {
Stat({
this.view,
this.danmaku,
this.danmu,
});
int? view;
int? danmaku;
int? danmu;
Stat.fromJson(Map<String, dynamic> json) {
view = json['play'];
danmaku = json['danmaku'];
danmu = json['danmaku'];
}
}

View File

@@ -427,7 +427,7 @@ class Part {
class Stat {
int? aid;
int? view;
int? danmaku;
int? danmu;
int? reply;
int? favorite;
int? coin;
@@ -442,7 +442,7 @@ class Stat {
Stat({
this.aid,
this.view,
this.danmaku,
this.danmu,
this.reply,
this.favorite,
this.coin,
@@ -462,7 +462,7 @@ class Stat {
Stat.fromJson(Map<String, dynamic> json) {
aid = json["aid"];
view = json["view"];
danmaku = json["danmaku"];
danmu = json["danmaku"];
reply = json["reply"];
favorite = json["favorite"];
coin = json["coin"];
@@ -480,7 +480,7 @@ class Stat {
data["aid"] = aid;
data["view"] = view;
data["danmaku"] = danmaku;
data["danmaku"] = danmu;
data["reply"] = reply;
data["favorite"] = favorite;
data["coin"] = coin;