feat: 添加logo,修复部分ui

This commit is contained in:
chengsiwen committed 2026-07-07 17:56:52 +08:00
1 parent a3426831ed
commit a3f489abe2
18 files changed
+263 -124

No files matched your search

@@ -5,6 +5,7 @@ import 'package:novyronst/common/model/ny_drama_model.dart';
import 'package:novyronst/common/model/ny_episode_model.dart';
import 'package:novyronst/pages/first/player_detail/video_esp_page.dart';
import 'package:novyronst/pages/play/widgets/player_view.dart';
import 'package:novyronst/pages/widgets/ny_loading_widget.dart';
class VideoDetailPage extends StatefulWidget {
const VideoDetailPage({super.key, required this.drama});
@@ -32,12 +33,10 @@ class _VideoDetailPageState extends State<VideoDetailPage> {
_isLoading = true;
});
// id: 3150, short_id: 1913 short_play_video_id: 207599 short_play_id: 3150
final detail = await VideoRequest.getVideoDetail(
shortPlayId: widget.drama.shortPlayId ?? widget.drama.shortId,
shortPlayVideoId:
widget.drama.shortPlayVideoId ??
widget.drama.id ??
widget.drama.shortId,
shortPlayId: widget.drama.shortPlayId ?? 0,
shortPlayVideoId: widget.drama.shortPlayVideoId ?? 0
);
if (!mounted) return;
@@ -153,9 +152,7 @@ class _VideoDetailPageState extends State<VideoDetailPage> {
Widget _buildBody() {
if (_isLoading && _videos.isEmpty) {
return const Center(
child: CircularProgressIndicator(color: Colors.white),
);
return const NyLoadingWidget();
}
if (_videos.isEmpty) {