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 -14
View File
@@ -1,11 +1,11 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hgmj/hj_model/splash/ads_model.dart';
import 'package:hgmj/hj_page/main_page/provider/msg_provider.dart';
import 'package:hgmj/hj_page/pre_sale/pre_sale_provider.dart';
import 'package:hgmj/alert/vip_guide/guide_manager.dart';
import 'package:hgmj/alert/vip_guide/timed_popup_manager.dart';
import 'package:hgmj/tools_base/ad_manager.dart';
import 'package:wydj/hj_model/splash/ads_model.dart';
import 'package:wydj/hj_page/main_page/provider/msg_provider.dart';
import 'package:wydj/hj_page/pre_sale/pre_sale_provider.dart';
import 'package:wydj/alert/vip_guide/guide_manager.dart';
import 'package:wydj/alert/vip_guide/timed_popup_manager.dart';
import 'package:wydj/tools_base/ad_manager.dart';
import '../../alert/splash/app_center_dialog.dart';
import '../../alert/splash/notice_image_dialog.dart';
@@ -144,7 +144,8 @@ class HomeMainLogic extends GetxController {
if (config == null || (config.homePage ?? '').isEmpty) return;
final goVip = await Get.dialog<bool>(GuideHomeDialog(config: config));
if (goVip != true) return;
await Get.to(() => MineChargeVipPage(vipID: config.vipCard, sourcePage: PaySourcePage.homeUserSegment));
await Get.to(() => MineChargeVipPage(
vipID: config.vipCard, sourcePage: PaySourcePage.homeUserSegment));
}
/// 首页吸底 VIP 引导:开屏弹窗链末尾弹(全链最低优先级),能不能弹由 HOME_NEW_USER / HOME_OLD_USER
@@ -160,12 +161,17 @@ class HomeMainLogic extends GetxController {
scene: scene,
title: Text(
config?.title?.isNotEmpty == true ? config!.title! : 'VIP影片免费试看',
style: const TextStyle(color: Colors.white, fontSize: 19, fontWeight: FontWeight.w600),
style: const TextStyle(
color: Colors.white, fontSize: 19, fontWeight: FontWeight.w600),
),
subtitle: GradientText(
config?.description?.isNotEmpty == true ? config!.description! : '开通会员 查看完整影片',
gradient: const LinearGradient(colors: [Colors.white, Color(0xffEFD394)]),
style: const TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w500),
config?.description?.isNotEmpty == true
? config!.description!
: '开通会员 查看完整影片',
gradient:
const LinearGradient(colors: [Colors.white, Color(0xffEFD394)]),
style: const TextStyle(
color: Colors.white, fontSize: 15, fontWeight: FontWeight.w500),
),
),
);
@@ -182,7 +188,8 @@ class HomeMainLogic extends GetxController {
Future<void> _showImageDialog() async {
final adsList = AdManager().adsByType(46);
for (int i = 0; i < adsList.length; i += 2) {
await Get.dialog(SystemImagesDialog(ads: adsList.skip(i).take(2).toList()));
await Get.dialog(
SystemImagesDialog(ads: adsList.skip(i).take(2).toList()));
}
}
@@ -191,8 +198,11 @@ class HomeMainLogic extends GetxController {
for (final wordBean in AdManager().announceList) {
await Get.dialog(
wordBean.type == 0
? NoticeTextDialog(content: wordBean.content.toString(), wordBean: wordBean)
: NoticeImageDialog(model: AdsInfoModel(cover: wordBean.cover, href: wordBean.href)),
? NoticeTextDialog(
content: wordBean.content.toString(), wordBean: wordBean)
: NoticeImageDialog(
model:
AdsInfoModel(cover: wordBean.cover, href: wordBean.href)),
);
}
}