diff --git a/lib/ui/home/home_page.dart b/lib/ui/home/home_page.dart index 9a2ff13..a84fc95 100644 --- a/lib/ui/home/home_page.dart +++ b/lib/ui/home/home_page.dart @@ -95,13 +95,13 @@ class _HomePageState extends State with WidgetsBindingObserver{ )); } - bool _getPermissions() { - if(sms && plone){ - return true; - }else{ - return false; - } - } + // bool _getPermissions() { + // if(sms && plone){ + // return true; + // }else{ + // return false; + // } + // } _warning() { return Offstage(offstage: (sms && plone) ,child: GestureDetector( diff --git a/lib/ui/loading.dart b/lib/ui/loading.dart index acb5ad6..aa06b38 100644 --- a/lib/ui/loading.dart +++ b/lib/ui/loading.dart @@ -29,10 +29,16 @@ class _LoadingState extends State { //启动图片 return Scaffold( backgroundColor: Colors.white, - body:Padding(padding: EdgeInsets.only(left: 148.w,top:1318.w ),child: Image.asset( - Assets.images.Start.path,width:434.sp,height:148.sp , fit: BoxFit.fill),) - ,); + body:Stack( + children: [ + Positioned( + bottom: 158.w, + left: 143.w, + child: Image.asset( + Assets.images.Start.path,width:434.sp,height:148.sp , fit: BoxFit.fill),), + ], + )); - } -} \ No newline at end of file + }} + diff --git a/lib/ui/user/content_details_page.dart b/lib/ui/user/content_details_page.dart index a9f6738..aaf5f82 100644 --- a/lib/ui/user/content_details_page.dart +++ b/lib/ui/user/content_details_page.dart @@ -44,7 +44,7 @@ class _ContentDetailsPageState extends State { appBar: AppBar( elevation: 0, title: Text( - '编辑短信标签', + '编辑短信标签1', style: TextStyle( fontSize: BaseStyle.fontSize34, color: BaseStyle.color333333, diff --git a/lib/ui/widget/image_scaffold.dart b/lib/ui/widget/image_scaffold.dart index ce9312e..c864e98 100644 --- a/lib/ui/widget/image_scaffold.dart +++ b/lib/ui/widget/image_scaffold.dart @@ -82,7 +82,7 @@ class CloudScaffold extends StatelessWidget { ? AnnotatedRegion( value: systemStyle, child: Scaffold( - resizeToAvoidBottomInset: false, + resizeToAvoidBottomInset: true, endDrawer: endDrawer, backgroundColor: bodyColor, extendBodyBehindAppBar: extendBody, @@ -111,7 +111,8 @@ class CloudScaffold extends StatelessWidget { : AnnotatedRegion( value: systemStyle, child: Scaffold( - resizeToAvoidBottomInset: false, + + resizeToAvoidBottomInset:true , endDrawer: endDrawer, backgroundColor: bodyColor, extendBodyBehindAppBar: extendBody,