From e3ce389e964dca008b9fa9d630c6d344db6aa2f4 Mon Sep 17 00:00:00 2001 From: zhangmeng <494089941@qq.com> Date: Fri, 1 Apr 2022 13:20:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=BB=9A=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/home/home_page.dart | 50 +++++------------------------------ 1 file changed, 7 insertions(+), 43 deletions(-) diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index 4ab9a1ad..3230a981 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -20,7 +20,6 @@ import 'package:aku_new_community/ui/home/home_title.dart'; import 'package:aku_new_community/ui/home/public_infomation/public_information_detail_page.dart'; import 'package:aku_new_community/ui/manager/advice/advice_page.dart'; import 'package:aku_new_community/ui/market/search/good_detail_page.dart'; -import 'package:aku_new_community/ui/search/bee_search.dart'; import 'package:aku_new_community/utils/headers.dart'; import 'package:aku_new_community/utils/login_util.dart'; import 'package:aku_new_community/widget/beeImageNetwork.dart'; @@ -117,40 +116,6 @@ class _HomePageState extends State width: 48.w, height: 48.w, ), -<<<<<<< HEAD - Spacer(), - // GestureDetector( - // onTap: () { - // Get.to(() => BeeSearch()); - // }, - // child: Image.asset(R.ASSETS_ICONS_ICON_MAIN_FIND_PNG, - // height: 40.w, width: 40.w), - // ), - Padding( - padding: EdgeInsets.only(right: 16.w, left: 12.w), - child: Badge( - elevation: 0, - badgeColor: Color(0xFFCF2525), - padding: sum > 9 ? EdgeInsets.all(2.w) : EdgeInsets.all(5.w), - showBadge: appProvider.messageCenterModel.commentCount != 0 || - appProvider.messageCenterModel.sysCount != 0, - position: BadgePosition.topEnd( - top: 8.w, - end: -4.w, - ), - badgeContent: Text( - (sum > 99 ? 99 : sum).toString(), - style: TextStyle(color: Colors.white, fontSize: 20.sp), - ), - child: GestureDetector( - onTap: () { - if (LoginUtil.isNotLogin) return; - Get.to(() => MessageCenterPage()); - }, - child: Image.asset(R.ASSETS_ICONS_ICON_MAIN_MESSAGE_PNG, - height: 40.w, width: 40.w), - )), -======= 16.wb, Text( appProvider.location?['city'] == null @@ -168,18 +133,17 @@ class _HomePageState extends State style: TextStyle( fontSize: 28.sp, color: Color(0xff999999), ->>>>>>> b09ea45bd7aafc589e5c65d5846bf3243066ee5d ), textAlign: TextAlign.center, ), Spacer(), - GestureDetector( - onTap: () { - Get.to(() => BeeSearch()); - }, - child: - Image.asset(Assets.home.icSearch.path, height: 48.w, width: 48.w), - ), + // GestureDetector( + // onTap: () { + // Get.to(() => BeeSearch()); + // }, + // child: + // Image.asset(Assets.home.icSearch.path, height: 48.w, width: 48.w), + // ), 20.wb, Badge( elevation: 0,