Compare commits

..

No commits in common. "e95bf53b7a0da8dddeee0fa9b8b39d500f5c9fa7" and "b217b9859854bdebce7e38c7ff630418ca340c46" have entirely different histories.

2 changed files with 163 additions and 173 deletions

View File

@ -66,7 +66,6 @@ class _MyInfoState extends State<MyInfo> with AutomaticKeepAliveClientMixin {
fontSize: 13.sp,
);
return OrientationBuilder(builder: (BuildContext context, Orientation orientation) {
return AnnotatedRegion(
value: const SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
@ -111,15 +110,9 @@ class _MyInfoState extends State<MyInfo> with AutomaticKeepAliveClientMixin {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
height: 10.r,
),
Image.asset(
'assets/images/default_user_dead.png',
),
SizedBox(
height: 10.r,
),
SizedBox(height: 10.r,),
Image.asset('assets/images/default_user_dead.png',),
SizedBox(height: 10.r,),
InkWell(
onTap: () {
/*if (tokenState == '' || userState.id == '') {
@ -173,10 +166,7 @@ class _MyInfoState extends State<MyInfo> with AutomaticKeepAliveClientMixin {
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('所在学校', style: personalInfoTitleStly),
Text(userInfo.value?.schoolName ?? '', style: personalInfoValStly)
],
children: [Text('所在学校', style: personalInfoTitleStly), Text(userInfo.value?.schoolName ?? '', style: personalInfoValStly)],
),
/* Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
@ -292,6 +282,5 @@ class _MyInfoState extends State<MyInfo> with AutomaticKeepAliveClientMixin {
],
),
);
});
}
}

View File

@ -47,6 +47,7 @@ class _HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin
),
child: OrientationBuilder(
builder: (BuildContext context, Orientation orientation) {
print('1111111111111');
return EasyRefresh(
firstRefresh: false,
taskIndependence: true,