删除埋点,im和客服
This commit is contained in:
@@ -4,7 +4,6 @@ import 'package:jydj/hj_utils/screen.dart';
|
||||
import 'package:jydj/tools_base/loading/loading_center_widget.dart';
|
||||
import 'package:jydj/tools_base/unique_tag_mixin.dart';
|
||||
import 'package:jydj/tools_base/widget/keep_alive_widget.dart';
|
||||
import 'package:jydj/track_event_manager/track_manager.dart';
|
||||
|
||||
import 'lou_feng_ad_logic.dart';
|
||||
import 'widget/recommend_app_page.dart';
|
||||
@@ -92,8 +91,5 @@ class _LouFengAdPageState extends State<LouFengAdPage> with UniqueTagMixin {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _adView(LouFengAdLogic logic, int index) => RecommendAppPage(
|
||||
logic.configs[index],
|
||||
exposureModel: AdExposureModel(tabIndex: index, pageType: TrackEventPageType.appList),
|
||||
);
|
||||
Widget _adView(LouFengAdLogic logic, int index) => RecommendAppPage(logic.configs[index]);
|
||||
}
|
||||
|
||||
@@ -34,8 +34,8 @@ class MoreFreeVideoLogic extends GetxController with GetTickerProviderStateMixin
|
||||
dataSource.clear();
|
||||
refreshController?.refreshCompleted();
|
||||
}
|
||||
res?.hasNext ?? false ? refreshController?.loadComplete() : refreshController?.loadNoData();
|
||||
dataSource.addAll(res?.list ?? []);
|
||||
res.hasNext ?? false ? refreshController?.loadComplete() : refreshController?.loadNoData();
|
||||
dataSource.addAll(res.list ?? []);
|
||||
page += 1;
|
||||
update();
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ import 'package:jydj/tools_base/widget/keep_alive_widget.dart';
|
||||
|
||||
import '../../../tools_base/indicator/custom_tab_indicator.dart';
|
||||
import 'lou_feng_ad_page.dart';
|
||||
import 'mine_income_page.dart';
|
||||
|
||||
class WelfareHomePage extends StatefulWidget {
|
||||
|
||||
|
||||
@@ -3,15 +3,13 @@ import 'package:jydj/hj_model/mine/happy/happy_model.dart';
|
||||
import 'package:jydj/hj_model/splash/ads_model.dart';
|
||||
import 'package:jydj/hj_utils/screen.dart';
|
||||
import 'package:jydj/tools_base/banner/ads_banner.dart';
|
||||
import 'package:jydj/track_event_manager/track_manager.dart';
|
||||
|
||||
import '../../../../tools_base/banner/ads_item.dart';
|
||||
|
||||
class RecommendAppPage extends StatelessWidget {
|
||||
final AdTabConfig model;
|
||||
final AdExposureModel? exposureModel;
|
||||
|
||||
const RecommendAppPage(this.model, {super.key, this.exposureModel});
|
||||
const RecommendAppPage(this.model, {super.key});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return CustomScrollView(
|
||||
@@ -24,10 +22,7 @@ class RecommendAppPage extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
child: AspectRatio(
|
||||
aspectRatio: 343 / 143,
|
||||
child: AdsBanner(
|
||||
model.bannerAds ?? [],
|
||||
exposureModel: exposureModel?..adType = AdType.bigBanner,
|
||||
),
|
||||
child: AdsBanner(model.bannerAds ?? []),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -113,8 +108,6 @@ class RecommendAppPage extends StatelessWidget {
|
||||
_buildVItem(AdsInfoModel item, int index) {
|
||||
return AdsItem(
|
||||
adInfo: item,
|
||||
exposureModel: exposureModel?..adType = AdType.smallIcon,
|
||||
clickType: 0,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -126,8 +119,6 @@ class RecommendAppPage extends StatelessWidget {
|
||||
AdsItem(
|
||||
adInfo: item,
|
||||
showType: AdShowType.hor,
|
||||
exposureModel: exposureModel?..adType = AdType.smallIcon,
|
||||
clickType: 0,
|
||||
),
|
||||
12.sizeBoxH,
|
||||
],
|
||||
@@ -138,8 +129,6 @@ class RecommendAppPage extends StatelessWidget {
|
||||
return AdsItem(
|
||||
adInfo: item,
|
||||
showType: AdShowType.vImgText,
|
||||
exposureModel: exposureModel?..adType = AdType.smallBanner,
|
||||
clickType: 0,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -614,7 +614,7 @@ class _TaskItemState extends State<TaskItem> {
|
||||
/// 任务按钮点击:红包雨 → 跳转 link;未完成 → 去完成;待领取 → 领奖
|
||||
void _onBtnTap(DailyTask task, String btnText) {
|
||||
if (btnText == '领红包' || btnText == '待开启') {
|
||||
pushToPageByLink(task.link, id: task.id);
|
||||
pushToPageByLink(task.link);
|
||||
return;
|
||||
}
|
||||
switch (task.status) {
|
||||
@@ -623,7 +623,7 @@ class _TaskItemState extends State<TaskItem> {
|
||||
Get.to(MineChargeCoinPage());
|
||||
return;
|
||||
}
|
||||
pushToPageByLink(task.link, id: task.id);
|
||||
pushToPageByLink(task.link);
|
||||
_doTask(task);
|
||||
break;
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user