mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-17 14:44:00 +08:00
@@ -8,7 +8,6 @@ import 'package:PiliPlus/models/common/video/video_quality.dart';
|
||||
import 'package:PiliPlus/models_new/download/bili_download_entry_info.dart';
|
||||
import 'package:PiliPlus/pages/video/introduction/local/controller.dart';
|
||||
import 'package:PiliPlus/utils/duration_utils.dart';
|
||||
import 'package:PiliPlus/utils/extension/num_ext.dart';
|
||||
import 'package:PiliPlus/utils/path_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -88,12 +87,8 @@ class _LocalIntroPanelState extends State<LocalIntroPanel>
|
||||
width: 140.8,
|
||||
height: 88,
|
||||
fit: BoxFit.cover,
|
||||
cacheWidth: cacheWidth
|
||||
? 140.8.cacheSize(context)
|
||||
: null,
|
||||
cacheHeight: cacheWidth
|
||||
? null
|
||||
: 88.cacheSize(context),
|
||||
cacheWidth: cacheWidth ? 140.8 : null,
|
||||
cacheHeight: cacheWidth ? null : 88,
|
||||
),
|
||||
)
|
||||
: NetworkImgLayer(
|
||||
|
||||
@@ -7,7 +7,6 @@ import 'package:PiliPlus/models_new/video/video_detail/episode.dart'
|
||||
hide EpisodeItem;
|
||||
import 'package:PiliPlus/pages/video/controller.dart';
|
||||
import 'package:PiliPlus/utils/accounts.dart';
|
||||
import 'package:PiliPlus/utils/extension/num_ext.dart';
|
||||
import 'package:PiliPlus/utils/extension/theme_ext.dart';
|
||||
import 'package:PiliPlus/utils/storage_pref.dart';
|
||||
import 'package:PiliPlus/utils/utils.dart';
|
||||
@@ -194,7 +193,7 @@ class _PgcPanelState extends State<PgcPanel> {
|
||||
Assets.livingStatic,
|
||||
color: theme.primary,
|
||||
height: 12,
|
||||
cacheHeight: 12.cacheSize(context),
|
||||
cacheHeight: 12,
|
||||
semanticLabel: "正在播放:",
|
||||
),
|
||||
),
|
||||
@@ -216,7 +215,7 @@ class _PgcPanelState extends State<PgcPanel> {
|
||||
Image.asset(
|
||||
Assets.vipIcon,
|
||||
height: 16,
|
||||
cacheHeight: 16.cacheSize(context),
|
||||
cacheHeight: 16,
|
||||
semanticLabel: "大会员",
|
||||
)
|
||||
else
|
||||
|
||||
@@ -5,7 +5,6 @@ import 'package:PiliPlus/common/assets.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/page.dart';
|
||||
import 'package:PiliPlus/pages/video/controller.dart';
|
||||
import 'package:PiliPlus/pages/video/introduction/ugc/controller.dart';
|
||||
import 'package:PiliPlus/utils/extension/num_ext.dart';
|
||||
import 'package:PiliPlus/utils/id_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
@@ -201,7 +200,7 @@ class _PagesPanelState extends State<PagesPanel> {
|
||||
Assets.livingStatic,
|
||||
color: theme.colorScheme.primary,
|
||||
height: 12,
|
||||
cacheHeight: 12.cacheSize(context),
|
||||
cacheHeight: 12,
|
||||
semanticLabel: "正在播放:",
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
|
||||
@@ -6,7 +6,6 @@ import 'package:PiliPlus/models_new/video/video_detail/episode.dart';
|
||||
import 'package:PiliPlus/models_new/video/video_detail/section.dart';
|
||||
import 'package:PiliPlus/pages/video/controller.dart';
|
||||
import 'package:PiliPlus/pages/video/introduction/ugc/controller.dart';
|
||||
import 'package:PiliPlus/utils/extension/num_ext.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -130,7 +129,7 @@ class _SeasonPanelState extends State<SeasonPanel> {
|
||||
Assets.livingStatic,
|
||||
color: theme.colorScheme.primary,
|
||||
height: 12,
|
||||
cacheHeight: 12.cacheSize(context),
|
||||
cacheHeight: 12,
|
||||
semanticLabel: "正在播放:",
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
|
||||
Reference in New Issue
Block a user