no message

This commit is contained in:
1147192855@qq.com 2024-06-25 17:52:37 +08:00
parent 9792eda546
commit bcaf5c77b7
2 changed files with 176 additions and 166 deletions

View File

@ -66,6 +66,7 @@ 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,
@ -110,9 +111,15 @@ 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 == '') {
@ -166,7 +173,10 @@ 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,
@ -282,5 +292,6 @@ class _MyInfoState extends State<MyInfo> with AutomaticKeepAliveClientMixin {
],
),
);
});
}
}

View File

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