pull/1/head
张萌 3 years ago
parent bc82e93227
commit 1acc472d69

@ -168,7 +168,9 @@ class _PropertyPageState extends State<PropertyPage>
), ),
Spacer(), Spacer(),
Text( Text(
userProvider.myHouses.first.communityName, userProvider.myHouses.isEmpty
? ''
: userProvider.myHouses.first.communityName,
style: TextStyle( style: TextStyle(
fontSize: 28.sp, fontSize: 28.sp,
color: Colors.white.withOpacity(0.85), color: Colors.white.withOpacity(0.85),

@ -3,7 +3,6 @@ import 'package:aku_new_community/gen/assets.gen.dart';
import 'package:aku_new_community/pages/services/old_age/add_equipment_page.dart'; import 'package:aku_new_community/pages/services/old_age/add_equipment_page.dart';
import 'package:aku_new_community/widget/bee_divider.dart'; import 'package:aku_new_community/widget/bee_divider.dart';
import 'package:aku_new_community/widget/bee_scaffold.dart'; import 'package:aku_new_community/widget/bee_scaffold.dart';
import 'package:aku_new_community/widget/others/user_tool.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
@ -53,10 +52,10 @@ class _EquipmentListPageState extends State<EquipmentListPage> {
padding: EdgeInsets.only(left: 24.w, bottom: 24.w, right: 24.w), padding: EdgeInsets.only(left: 24.w, bottom: 24.w, right: 24.w),
child: Row( child: Row(
children: [ children: [
CircleAvatar( // CircleAvatar(
child: Image.network( // child: Image.network(
UserTool.userProvider.userInfoModel?.imgUrls.first.url ?? ''), // UserTool.userProvider.userInfoModel?.imgUrls.first.url ?? ''),
), // ),
24.w.widthBox, 24.w.widthBox,
'陈东强'.text.size(28.sp).color(Colors.black).make(), '陈东强'.text.size(28.sp).color(Colors.black).make(),
Spacer(), Spacer(),

@ -178,4 +178,17 @@ class _AddHousePageState extends State<AddHousePage> {
)), )),
); );
} }
Widget _propertyRight() {
return Container(
width: 686.w,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(16.w),
),
child: Column(
children: [],
),
);
}
} }

Loading…
Cancel
Save