-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b201c5a
commit ca72d09
Showing
21 changed files
with
265 additions
and
153 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "key": "ugc", | ||
| "name": "二创", | ||
| "banners": "$[]banner", | ||
| "banners": "$[]videoBanner", | ||
| "videos": "$[]videoPageVideo" | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "data": "$[]videoPageTab" | ||
| } |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,11 @@ | ||
| export 'banner.dart' ; | ||
| export 'cacheConfig.dart' ; | ||
| export 'dynamic.dart' ; | ||
| export 'picture.dart' ; | ||
| export 'pictures.dart' ; | ||
| export 'version.dart' ; | ||
| export 'video.dart' ; | ||
| export 'videoPage.dart' ; | ||
| export 'videoBanner.dart' ; | ||
| export 'videoPageTab.dart' ; | ||
| export 'videoPageTabs.dart' ; | ||
| export 'videoPageVideo.dart' ; | ||
| export 'videos.dart' ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import 'package:json_annotation/json_annotation.dart'; | ||
|
|
||
| part 'videoBanner.g.dart'; | ||
|
|
||
| @JsonSerializable() | ||
| class VideoBanner { | ||
| VideoBanner(); | ||
|
|
||
| late String image; | ||
| late String url; | ||
| late num rank; | ||
|
|
||
| factory VideoBanner.fromJson(Map<String,dynamic> json) => _$VideoBannerFromJson(json); | ||
| Map<String, dynamic> toJson() => _$VideoBannerToJson(this); | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import 'package:json_annotation/json_annotation.dart'; | ||
| import "videoBanner.dart"; | ||
| import "videoPageVideo.dart"; | ||
| part 'videoPageTab.g.dart'; | ||
|
|
||
| @JsonSerializable() | ||
| class VideoPageTab { | ||
| VideoPageTab(); | ||
|
|
||
| late String key; | ||
| late String name; | ||
| late List<VideoBanner> banners; | ||
| late List<VideoPageVideo> videos; | ||
|
|
||
| factory VideoPageTab.fromJson(Map<String,dynamic> json) => _$VideoPageTabFromJson(json); | ||
| Map<String, dynamic> toJson() => _$VideoPageTabToJson(this); | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| import 'package:json_annotation/json_annotation.dart'; | ||
| import "videoPageTab.dart"; | ||
| part 'videoPageTabs.g.dart'; | ||
|
|
||
| @JsonSerializable() | ||
| class VideoPageTabs { | ||
| VideoPageTabs(); | ||
|
|
||
| late List<VideoPageTab> data; | ||
|
|
||
| factory VideoPageTabs.fromJson(Map<String,dynamic> json) => _$VideoPageTabsFromJson(json); | ||
| Map<String, dynamic> toJson() => _$VideoPageTabsToJson(this); | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.