You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
2.4 KiB
82 lines
2.4 KiB
import 'package:flutter/material.dart'; |
|
import 'package:huixiang/generated/l10n.dart'; |
|
import 'package:huixiang/utils/font_weight.dart'; |
|
import 'package:huixiang/view_widget/my_appbar.dart'; |
|
import 'package:huixiang/view_widget/round_button.dart'; |
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
class WriteOffSuccessPage extends StatefulWidget { |
|
@override |
|
State<StatefulWidget> createState() { |
|
return _WriteOffSuccessPage(); |
|
} |
|
} |
|
|
|
class _WriteOffSuccessPage extends State<WriteOffSuccessPage> { |
|
@override |
|
Widget build(BuildContext context) { |
|
return Scaffold( |
|
appBar: MyAppBar( |
|
title: S.of(context).hexiaomaxiangqing, |
|
titleColor: Colors.black, |
|
titleSize: 18.sp, |
|
background: Color(0xFFFAFAFA), |
|
leadingColor: Colors.black, |
|
), |
|
body: Container( |
|
alignment: Alignment.center, |
|
child: Column( |
|
mainAxisAlignment: MainAxisAlignment.start, |
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
children: [ |
|
SizedBox( |
|
height: 46.h, |
|
), |
|
Image.asset( |
|
"assets/image/icon_order_success.webp", |
|
width: 76.w, |
|
height: 76.h, |
|
fit: BoxFit.contain, |
|
), |
|
SizedBox( |
|
height: 16.h, |
|
), |
|
Text( |
|
S.of(context).hexiaochenggong, |
|
style: TextStyle( |
|
color: Color(0xFF353535), |
|
fontSize: 21.sp, |
|
fontWeight: MyFontWeight.semi_bold), |
|
), |
|
SizedBox( |
|
height: 12.h, |
|
), |
|
Text( |
|
S.of(context).dangqianshangpinduihuanhexiaoma, |
|
style: TextStyle( |
|
color: Color(0xFF727272), |
|
fontSize: 12.sp, |
|
fontWeight: MyFontWeight.semi_bold, |
|
), |
|
), |
|
SizedBox( |
|
height: 40.h, |
|
), |
|
Container( |
|
margin: EdgeInsets.only(left: 20.w, right: 20.w), |
|
child: RoundButton( |
|
text: S.of(context).fanhuiduihuanlishi, |
|
textColor: Colors.white, |
|
backgroup: Color(0xFF32A060), |
|
radius: 4, |
|
fontWeight: MyFontWeight.semi_bold, |
|
fontSize: 16.sp, |
|
padding: EdgeInsets.only(top: 12.h, bottom: 12.h), |
|
), |
|
) |
|
], |
|
), |
|
), |
|
); |
|
} |
|
}
|
|
|