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
+9 -5
View File
@@ -1,6 +1,6 @@
import 'package:hgmj/hj_model/list_base_model.dart';
import 'package:wydj/hj_model/list_base_model.dart';
import 'package:get/get.dart';
import 'package:hgmj/hj_page/live/live_service.dart';
import 'package:wydj/hj_page/live/live_service.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import '../mine/mine_vip/mine_charge_vip_page.dart';
@@ -50,7 +50,8 @@ class LiveSubLogic extends GetxController {
//tag直播列表
loadCountryAnchor({int pageNum = 1, bool showLoading = false}) async {
ListBaseModel<LiveAnchor>? liveMainModels = await LiveService.getLiveAnchorList(
ListBaseModel<LiveAnchor>? liveMainModels =
await LiveService.getLiveAnchorList(
id: tagData?.id ?? '',
pageNumber: pageNum,
);
@@ -58,12 +59,15 @@ class LiveSubLogic extends GetxController {
if (liveMainModels != null) {
currentPage = pageNum;
if (currentPage == 1) liveList.clear();
if (liveMainModels.list != null && liveMainModels.list?.isNotEmpty == true) {
if (liveMainModels.list != null &&
liveMainModels.list?.isNotEmpty == true) {
liveList.addAll(liveMainModels.list ?? []);
}
}
update();
liveMainModels?.hasNext == true ? controller?.loadComplete() : controller?.loadNoData();
liveMainModels?.hasNext == true
? controller?.loadComplete()
: controller?.loadNoData();
controller?.refreshCompleted();
}