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

@ -168,7 +168,9 @@ class _PropertyPageState extends State<PropertyPage>
),
Spacer(),
Text(
userProvider.myHouses.first.communityName,
userProvider.myHouses.isEmpty
? ''
: userProvider.myHouses.first.communityName,
style: TextStyle(
fontSize: 28.sp,
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/widget/bee_divider.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/material.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),
child: Row(
children: [
CircleAvatar(
child: Image.network(
UserTool.userProvider.userInfoModel?.imgUrls.first.url ?? ''),
),
// CircleAvatar(
// child: Image.network(
// UserTool.userProvider.userInfoModel?.imgUrls.first.url ?? ''),
// ),
24.w.widthBox,
'陈东强'.text.size(28.sp).color(Colors.black).make(),
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