删除埋点,im和客服
This commit is contained in:
@@ -5,7 +5,6 @@ import 'package:jydj/tools_base/widget/image_browser_page.dart';
|
||||
import 'package:jydj/tools_base/widget/net_image_widget.dart';
|
||||
|
||||
import '../../hj_model/splash/ads_model.dart';
|
||||
import '../../track_event_manager/track_manager.dart';
|
||||
import 'ads_item.dart';
|
||||
|
||||
/// 广告轮播的指示器位置
|
||||
@@ -31,8 +30,6 @@ class AdsBanner extends StatefulWidget {
|
||||
final Color? color; //未选中色,不传按位置/样式取默认
|
||||
final Color? selectColor; //选中色,不传按位置/样式取默认
|
||||
|
||||
final AdExposureModel? exposureModel; //曝光埋点模型
|
||||
|
||||
const AdsBanner(
|
||||
this.models, {
|
||||
super.key,
|
||||
@@ -46,7 +43,6 @@ class AdsBanner extends StatefulWidget {
|
||||
this.indicatorStyle = IndicatorStyle.bar,
|
||||
this.color,
|
||||
this.selectColor,
|
||||
this.exposureModel,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -59,13 +55,6 @@ class _AdsBannerState extends State<AdsBanner> {
|
||||
|
||||
int get _count => widget.models?.length ?? 0;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
//adType 兜底设一次(不放 itemBuilder 里,避免每次构建都 mutate)
|
||||
widget.exposureModel?.adType ??= AdType.bigBanner;
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_index.dispose();
|
||||
@@ -134,7 +123,6 @@ class _AdsBannerState extends State<AdsBanner> {
|
||||
adInfo: widget.models![index],
|
||||
showType: AdShowType.img,
|
||||
borderRadius: widget.borderRadius,
|
||||
exposureModel: widget.exposureModel,
|
||||
),
|
||||
onTap: widget.onTap,
|
||||
onIndexChanged: (index) {
|
||||
|
||||
Reference in New Issue
Block a user