|
|
@ -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/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/manager/advice/advice_page.dart';
|
|
|
|
import 'package:aku_new_community/ui/market/search/good_detail_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/headers.dart';
|
|
|
|
import 'package:aku_new_community/utils/login_util.dart';
|
|
|
|
import 'package:aku_new_community/utils/login_util.dart';
|
|
|
|
import 'package:aku_new_community/widget/beeImageNetwork.dart';
|
|
|
|
import 'package:aku_new_community/widget/beeImageNetwork.dart';
|
|
|
@ -117,40 +116,6 @@ class _HomePageState extends State<HomePage>
|
|
|
|
width: 48.w,
|
|
|
|
width: 48.w,
|
|
|
|
height: 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,
|
|
|
|
16.wb,
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
|
appProvider.location?['city'] == null
|
|
|
|
appProvider.location?['city'] == null
|
|
|
@ -168,18 +133,17 @@ class _HomePageState extends State<HomePage>
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: 28.sp,
|
|
|
|
fontSize: 28.sp,
|
|
|
|
color: Color(0xff999999),
|
|
|
|
color: Color(0xff999999),
|
|
|
|
>>>>>>> b09ea45bd7aafc589e5c65d5846bf3243066ee5d
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Spacer(),
|
|
|
|
Spacer(),
|
|
|
|
GestureDetector(
|
|
|
|
// GestureDetector(
|
|
|
|
onTap: () {
|
|
|
|
// onTap: () {
|
|
|
|
Get.to(() => BeeSearch());
|
|
|
|
// Get.to(() => BeeSearch());
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
child:
|
|
|
|
// child:
|
|
|
|
Image.asset(Assets.home.icSearch.path, height: 48.w, width: 48.w),
|
|
|
|
// Image.asset(Assets.home.icSearch.path, height: 48.w, width: 48.w),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
20.wb,
|
|
|
|
20.wb,
|
|
|
|
Badge(
|
|
|
|
Badge(
|
|
|
|
elevation: 0,
|
|
|
|
elevation: 0,
|
|
|
|