|
|
|
@ -25,7 +25,7 @@ class _SignInWidget extends State<SignInWidget> {
|
|
|
|
|
Widget build(BuildContext context) { |
|
|
|
|
return Container( |
|
|
|
|
width: 222.w, |
|
|
|
|
height: 275.h * AppUtils.textScale(context), |
|
|
|
|
height:320.h * AppUtils.textScale(context), |
|
|
|
|
child: Stack( |
|
|
|
|
children: [ |
|
|
|
|
Positioned( |
|
|
|
@ -40,13 +40,18 @@ class _SignInWidget extends State<SignInWidget> {
|
|
|
|
|
color: Colors.white, |
|
|
|
|
borderRadius: BorderRadius.circular(8.w), |
|
|
|
|
), |
|
|
|
|
padding: EdgeInsets.only(top: 45.h), |
|
|
|
|
padding: EdgeInsets.only(top:20.h), |
|
|
|
|
child: Container( |
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 10.h), |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/icon_sign_success.png", |
|
|
|
|
width: 80, |
|
|
|
|
height: 80, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
S.of(context).qiandaowancheng, |
|
|
|
|
style: TextStyle( |
|
|
|
@ -63,14 +68,36 @@ class _SignInWidget extends State<SignInWidget> {
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
S.of(context).jiajifen(widget.integral), |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/icon_gold_coin.png", |
|
|
|
|
width: 16, |
|
|
|
|
height: 16, |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
width: 4.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
S.of(context).jiajifen(widget.integral), |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFFEE9905), |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
// Text( |
|
|
|
|
// S.of(context).jiajifen(widget.integral), |
|
|
|
|
// style: TextStyle( |
|
|
|
|
// color: Color(0xFFFF7A1A), |
|
|
|
|
// fontSize: 14.sp, |
|
|
|
|
// fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
RoundButton( |
|
|
|
|
text: S.of(context).queren, |
|
|
|
|
textColor: Colors.white, |
|
|
|
@ -89,17 +116,17 @@ class _SignInWidget extends State<SignInWidget> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Positioned( |
|
|
|
|
top: 0, |
|
|
|
|
child: Container( |
|
|
|
|
child: Image.asset( |
|
|
|
|
"assets/image/icon_sign_ok.png", |
|
|
|
|
fit: BoxFit.contain, |
|
|
|
|
width: 223.w, |
|
|
|
|
height: 110.h * AppUtils.textScale(context), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
// Positioned( |
|
|
|
|
// top: 0, |
|
|
|
|
// child: Container( |
|
|
|
|
// child: Image.asset( |
|
|
|
|
// "assets/image/icon_sign_ok.png", |
|
|
|
|
// fit: BoxFit.contain, |
|
|
|
|
// width: 223.w, |
|
|
|
|
// height: 110.h * AppUtils.textScale(context), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|