Browse Source

引导页,首页更改

null_safety
w-R 4 years ago
parent
commit
9d1d8c29f2
  1. 6
      lib/home/guide_page.dart
  2. 2
      lib/home/home_page.dart
  3. 2
      lib/main.dart

6
lib/home/guide_page.dart

@ -34,7 +34,7 @@ class _GuidePage extends State<GuidePage> {
color: Colors.white,
child: Center(
child: Container(
margin: EdgeInsets.only(top: 125, left: 19, right: 19),
margin: EdgeInsets.only(top: 120, left: 19, right: 19),
child: Stack(
children: [
Column(
@ -118,7 +118,7 @@ class _GuidePage extends State<GuidePage> {
color: Colors.white,
child: Center(
child: Container(
margin: EdgeInsets.only(top: 125, left: 19, right: 19),
margin: EdgeInsets.only(top: 120, left: 19, right: 19),
child: Stack(
children: [
Column(
@ -202,7 +202,7 @@ class _GuidePage extends State<GuidePage> {
color: Colors.white,
child: Center(
child: Container(
margin: EdgeInsets.only(top: 125, left: 19, right: 19),
margin: EdgeInsets.only(top: 120, left: 19, right: 19),
child: Stack(
children: [
Column(

2
lib/home/home_page.dart

@ -482,7 +482,7 @@ class _HomePage extends State<HomePage> with AutomaticKeepAliveClientMixin {
children: [
MImage(
goods.mainImgPath,
aspectRatio: 3/2,
aspectRatio: 5/3,
radius: BorderRadius.only(
topLeft: Radius.circular(4),
topRight: Radius.circular(4),

2
lib/main.dart

@ -179,9 +179,9 @@ class MyApp extends StatelessWidget {
}
Map<String, WidgetBuilder> routers = <String, WidgetBuilder>{
'/router/guide_Page': (context, {arguments}) => GuidePage(),
'/router/login_page': (context, {arguments}) => LoginPage(arguments: arguments),
'/router/main_page': (context, {arguments}) => MainPage(),
'/router/guide_Page': (context, {arguments}) => GuidePage(),
'/router/msg_page': (context, {arguments}) => MainMessagePage(),
'/router/system_msg_page': (context, {arguments}) => SystemMessagePage(),
'/router/exchange_order_details': (context, {arguments}) =>

Loading…
Cancel
Save