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