mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 12:04:50 +08:00
@@ -2,7 +2,6 @@ import 'package:PiliPlus/common/widgets/flutter/refresh_indicator.dart';
|
||||
import 'package:PiliPlus/common/widgets/image/network_img_layer.dart';
|
||||
import 'package:PiliPlus/common/widgets/loading_widget/http_error.dart';
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/models/common/image_type.dart';
|
||||
import 'package:PiliPlus/models_new/music/bgm_recommend_list.dart';
|
||||
import 'package:PiliPlus/pages/music/video/controller.dart';
|
||||
import 'package:PiliPlus/pages/music/widget/music_video_card_h.dart';
|
||||
@@ -84,7 +83,7 @@ class _MusicRecommendPageState extends State<MusicRecommendPage>
|
||||
width: 40,
|
||||
height: 40,
|
||||
src: info.mvCover,
|
||||
type: ImageType.avatar,
|
||||
type: .avatar,
|
||||
),
|
||||
Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
||||
@@ -10,9 +10,7 @@ import 'package:PiliPlus/common/widgets/marquee.dart';
|
||||
import 'package:PiliPlus/common/widgets/scaffold.dart';
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/http/music.dart';
|
||||
import 'package:PiliPlus/models/common/badge_type.dart';
|
||||
import 'package:PiliPlus/models/common/image_preview_type.dart';
|
||||
import 'package:PiliPlus/models/common/image_type.dart';
|
||||
import 'package:PiliPlus/models_new/music/bgm_detail.dart';
|
||||
import 'package:PiliPlus/pages/common/dyn/common_dyn_page.dart';
|
||||
import 'package:PiliPlus/pages/music/controller.dart';
|
||||
@@ -85,7 +83,7 @@ class _MusicDetailPageState extends CommonDynPageState<MusicDetailPage> {
|
||||
src: response.mvCover,
|
||||
width: 36,
|
||||
height: 36,
|
||||
type: ImageType.avatar,
|
||||
type: .avatar,
|
||||
),
|
||||
Text(response.musicTitle!),
|
||||
],
|
||||
@@ -339,7 +337,7 @@ class _MusicDetailPageState extends CommonDynPageState<MusicDetailPage> {
|
||||
src: artist.face,
|
||||
width: 15,
|
||||
height: 15,
|
||||
type: ImageType.avatar,
|
||||
type: .avatar,
|
||||
),
|
||||
child,
|
||||
],
|
||||
@@ -463,7 +461,7 @@ class _MusicDetailPageState extends CommonDynPageState<MusicDetailPage> {
|
||||
if (!item.musicRank.isNullOrEmpty)
|
||||
PBadge(
|
||||
text: item.musicRank,
|
||||
type: PBadgeType.secondary,
|
||||
type: .secondary,
|
||||
isStack: false,
|
||||
fontSize: 11,
|
||||
),
|
||||
|
||||
@@ -6,7 +6,6 @@ import 'package:PiliPlus/common/widgets/marquee.dart';
|
||||
import 'package:PiliPlus/common/widgets/stat/stat.dart';
|
||||
import 'package:PiliPlus/http/search.dart';
|
||||
import 'package:PiliPlus/models/common/badge_type.dart';
|
||||
import 'package:PiliPlus/models/common/stat_type.dart';
|
||||
import 'package:PiliPlus/models_new/music/bgm_recommend_list.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/dimension.dart';
|
||||
import 'package:PiliPlus/utils/duration_utils.dart';
|
||||
@@ -82,7 +81,7 @@ class MusicVideoCardH extends StatelessWidget {
|
||||
),
|
||||
right: 6.0,
|
||||
bottom: 6.0,
|
||||
type: PBadgeType.gray,
|
||||
type: .gray,
|
||||
),
|
||||
],
|
||||
);
|
||||
@@ -118,11 +117,11 @@ class MusicVideoCardH extends StatelessWidget {
|
||||
spacing: 8,
|
||||
children: [
|
||||
StatWidget(
|
||||
type: StatType.play,
|
||||
type: .play,
|
||||
value: videoItem.play,
|
||||
),
|
||||
StatWidget(
|
||||
type: StatType.danmaku,
|
||||
type: .danmaku,
|
||||
value: videoItem.danmu,
|
||||
),
|
||||
],
|
||||
@@ -140,7 +139,7 @@ class MusicVideoCardH extends StatelessWidget {
|
||||
text: label.name,
|
||||
isStack: false,
|
||||
size: PBadgeSize.small,
|
||||
type: PBadgeType.secondary,
|
||||
type: .secondary,
|
||||
),
|
||||
Text(
|
||||
videoItem.upNickName!,
|
||||
|
||||
Reference in New Issue
Block a user