logo和名称替换

This commit is contained in:
谢宇宁
2026-10-14 11:23:36 +07:00
parent 1cb514cd02
commit c5c04a7967
478 changed files with 8990 additions and 4948 deletions
+24 -15
View File
@@ -1,13 +1,13 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hgmj/assets_tool/images.dart';
import 'package:hgmj/hj_model/video_model.dart';
import 'package:hgmj/hj_page/drama/drama_detail_page.dart';
import 'package:hgmj/hj_page/drama/drama_tag_detail_page.dart';
import 'package:hgmj/hj_page/short_video/view/media_action_menu.dart';
import 'package:hgmj/hj_page/short_video/view/video_menu_kit.dart';
import 'package:hgmj/hj_utils/const.dart';
import 'package:hgmj/hj_utils/screen.dart';
import 'package:wydj/assets_tool/images.dart';
import 'package:wydj/hj_model/video_model.dart';
import 'package:wydj/hj_page/drama/drama_detail_page.dart';
import 'package:wydj/hj_page/drama/drama_tag_detail_page.dart';
import 'package:wydj/hj_page/short_video/view/media_action_menu.dart';
import 'package:wydj/hj_page/short_video/view/video_menu_kit.dart';
import 'package:wydj/hj_utils/const.dart';
import 'package:wydj/hj_utils/screen.dart';
import 'package:video_player/video_player.dart';
import '../../../tools_base/widget/shrink_wrap.dart';
@@ -94,7 +94,8 @@ class _DramaMenuState extends State<DramaMenu> {
],
),
),
if (widget.playerCtr != null) CenterPlayPause(controller: widget.playerCtr!),
if (widget.playerCtr != null)
CenterPlayPause(controller: widget.playerCtr!),
],
),
);
@@ -129,25 +130,31 @@ class _DramaMenuState extends State<DramaMenu> {
title,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w500),
style: const TextStyle(
color: Colors.white, fontSize: 15, fontWeight: FontWeight.w500),
),
),
if (widget.showEntry) Image.asset('chevron_right.webp'.videoPath, width: 20, height: 20),
if (widget.showEntry)
Image.asset('chevron_right.webp'.videoPath, width: 20, height: 20),
],
);
return Container(
padding: EdgeInsets.only(top: gapValue),
child: widget.showEntry ? InkWell(enableFeedback: false, onTap: _openDrama, child: content) : content,
child: widget.showEntry
? InkWell(enableFeedback: false, onTap: _openDrama, child: content)
: content,
);
}
Widget _buildTagItem() {
final episodeText = Text(
"第${_video?.episodeNo ?? 1}集",
style: const TextStyle(color: Colors.white, fontSize: 13, fontWeight: FontWeight.w500),
style: const TextStyle(
color: Colors.white, fontSize: 13, fontWeight: FontWeight.w500),
);
if (_video?.tags?.isNotEmpty != true) {
return Container(padding: EdgeInsets.only(top: gapValue), child: episodeText);
return Container(
padding: EdgeInsets.only(top: gapValue), child: episodeText);
}
return Container(
padding: EdgeInsets.only(top: gapValue),
@@ -181,7 +188,9 @@ class _DramaMenuState extends State<DramaMenu> {
color: const Color(0x0DFFFFFF),
borderRadius: BorderRadius.circular(3),
),
child: Text(e.name ?? '', style: const TextStyle(color: Color(0xffffffff), fontSize: 11)),
child: Text(e.name ?? '',
style: const TextStyle(
color: Color(0xffffffff), fontSize: 11)),
),
))
.toList() ??