删除埋点,im和客服
This commit is contained in:
@@ -11,7 +11,6 @@ import '../../../hj_model/home/plate_model.dart';
|
||||
import '../../../hj_model/video_model.dart';
|
||||
import '../../../hj_utils/sliver_delegate.dart';
|
||||
import '../../../tools_base/widget/net_image_widget.dart';
|
||||
import '../../../track_event_manager/track_manager.dart';
|
||||
import '../widget/community_middle_header.dart';
|
||||
import '../widget/community_post_widget.dart';
|
||||
import 'community_tab_logic.dart';
|
||||
@@ -48,10 +47,6 @@ class CommunityTabPage extends StatelessWidget {
|
||||
7,
|
||||
autoStyle: true,
|
||||
padding: EdgeInsets.fromLTRB(16.w, 0, 16.w, 10.h),
|
||||
exposureModel: AdExposureModel(
|
||||
pageType: TrackEventPageType.commPost,
|
||||
tabIndex: index,
|
||||
),
|
||||
),
|
||||
),
|
||||
SliverToBoxAdapter(
|
||||
|
||||
@@ -16,19 +16,16 @@ class CommunityMainLogic extends GetxController with GetTickerProviderStateMixin
|
||||
title: '社区',
|
||||
imageNor: 'community_main_sel.png'.communityPath,
|
||||
imageSel: 'community_main_sel.png'.communityPath,
|
||||
trackKey: 'Community',
|
||||
),
|
||||
MainTabModel(
|
||||
title: '色图',
|
||||
imageNor: 'community_pic_sel.png'.communityPath,
|
||||
imageSel: 'community_pic_sel.png'.communityPath,
|
||||
trackKey: 'Pic',
|
||||
),
|
||||
MainTabModel(
|
||||
title: '小说',
|
||||
imageNor: 'community_noval_sel.png'.communityPath,
|
||||
imageSel: 'community_noval_sel.png'.communityPath,
|
||||
trackKey: 'Novel',
|
||||
),
|
||||
];
|
||||
|
||||
|
||||
@@ -2,11 +2,9 @@ import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:jydj/assets_tool/images.dart';
|
||||
import 'package:jydj/hj_utils/const.dart';
|
||||
import 'package:jydj/hj_utils/holiday_theme.dart';
|
||||
import 'package:jydj/hj_utils/screen.dart';
|
||||
import 'package:jydj/tools_base/widget/keep_alive_widget.dart';
|
||||
|
||||
import '../../../assets_tool/app_colors.dart';
|
||||
import '../../../config/config.dart';
|
||||
import '../../cartoon/cartoon_sub_module_page.dart';
|
||||
import '../../home/search_page/search_main_page.dart';
|
||||
@@ -48,15 +46,6 @@ class CommunityMainPageState extends State<CommunityMainPage> with SingleTickerP
|
||||
return Stack(
|
||||
fit: StackFit.expand,
|
||||
children: [
|
||||
if (holidayTheme.openHoliday) ...[
|
||||
Container(color: AppColors.primaryColor),
|
||||
Positioned(
|
||||
top: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
child: Image.asset(HolidayTheme.theme.findBg, fit: BoxFit.fitWidth),
|
||||
),
|
||||
],
|
||||
Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
body: GetBuilder(
|
||||
|
||||
@@ -6,7 +6,6 @@ import 'package:jydj/tools_base/banner/ads_grid_view.dart';
|
||||
import 'package:jydj/tools_base/loading/loading_center_widget.dart';
|
||||
import 'package:jydj/tools_base/refresh/pull_refresh.dart';
|
||||
|
||||
import '../../../track_event_manager/track_manager.dart';
|
||||
import 'group_chat_logic.dart';
|
||||
import 'widget/chat_group_cell.dart';
|
||||
|
||||
@@ -31,9 +30,6 @@ class GroupChatPage extends StatelessWidget {
|
||||
6,
|
||||
autoStyle: true,
|
||||
padding: EdgeInsets.fromLTRB(16, 12, 16, 18),
|
||||
exposureModel: AdExposureModel(
|
||||
pageType: TrackEventPageType.commGroup,
|
||||
),
|
||||
),
|
||||
),
|
||||
if (logic.groupList == null)
|
||||
|
||||
@@ -10,7 +10,6 @@ import 'package:jydj/tools_base/loading/loading_center_widget.dart';
|
||||
import 'package:jydj/tools_base/refresh/pull_refresh.dart';
|
||||
import 'package:jydj/tools_base/unique_tag_mixin.dart';
|
||||
|
||||
import '../../../track_event_manager/track_manager.dart';
|
||||
import '../../comment/widget/comment_foot_view.dart';
|
||||
import '../../home/widget/quick_search_view.dart';
|
||||
import '../widget/post_user_info_view.dart';
|
||||
@@ -89,7 +88,6 @@ class _PostDetailPageState extends State<PostDetailPage> with UniqueTagMixin {
|
||||
child: AdsGridView(
|
||||
7,
|
||||
autoStyle: true,
|
||||
exposureModel: AdExposureModel(pageType: TrackEventPageType.postDetail),
|
||||
),
|
||||
),
|
||||
//评论数 + 快捷搜索词
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:jydj/assets_tool/app_colors.dart';
|
||||
import 'package:jydj/hj_utils/holiday_theme.dart';
|
||||
|
||||
class CommunitySortHeader extends StatefulWidget {
|
||||
final Function(int sort) sortOnTap;
|
||||
final TabController? controller;
|
||||
final bool isInTop; //吸顶时才在节日主题下叠渐变底
|
||||
const CommunitySortHeader({
|
||||
super.key,
|
||||
required this.sortOnTap,
|
||||
this.controller,
|
||||
this.isInTop = false,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -44,16 +41,6 @@ class _CommunitySortHeaderState extends State<CommunitySortHeader> with SingleTi
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.primaryColor,
|
||||
gradient: (widget.isInTop && holidayTheme.openHoliday)
|
||||
? LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
Color(0xff3e161c),
|
||||
Color(0xff26161c),
|
||||
],
|
||||
)
|
||||
: null,
|
||||
),
|
||||
child: TabBar(
|
||||
isScrollable: true,
|
||||
|
||||
Reference in New Issue
Block a user