|
|
|
@ -130,7 +130,8 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
|
|
|
|
|
elevation: 0, |
|
|
|
|
title: Text( |
|
|
|
|
S.of(context).mingxi, |
|
|
|
|
style: TextStyle(color: Colors.white), |
|
|
|
|
style: |
|
|
|
|
TextStyle(fontWeight: FontWeight.w500, color: Colors.white), |
|
|
|
|
), |
|
|
|
|
centerTitle: false, |
|
|
|
|
leading: GestureDetector( |
|
|
|
@ -153,7 +154,7 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
|
|
|
|
|
flexibleSpace: FlexibleSpaceBar( |
|
|
|
|
background: Container( |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
margin: EdgeInsets.only(top: 56), |
|
|
|
|
margin: EdgeInsets.only(top: 56.h), |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
@ -162,13 +163,15 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
|
|
|
|
|
userInfo != null ? userInfo.points : "0", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.white, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontSize: 48), |
|
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
|
fontSize: 48.sp), |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
S.of(context).wodejifenzhi, |
|
|
|
|
style: |
|
|
|
|
TextStyle(color: Color(0xFFF2F2F2), fontSize: 12), |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFFF2F2F2), |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: FontWeight.w400), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
@ -184,9 +187,9 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
|
|
|
|
|
indicatorSize: TabBarIndicatorSize.label, |
|
|
|
|
labelColor: Colors.white, |
|
|
|
|
labelStyle: |
|
|
|
|
TextStyle(fontSize: 16, fontWeight: FontWeight.bold), |
|
|
|
|
TextStyle(fontSize: 16.sp, fontWeight: FontWeight.w500), |
|
|
|
|
unselectedLabelStyle: |
|
|
|
|
TextStyle(fontSize: 16, fontWeight: FontWeight.bold), |
|
|
|
|
TextStyle(fontSize: 16.sp, fontWeight: FontWeight.w500), |
|
|
|
|
indicatorColor: Colors.white, |
|
|
|
|
unselectedLabelColor: Color(0xFFE6E6E6), |
|
|
|
|
), |
|
|
|
@ -233,14 +236,14 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
|
|
|
|
|
Image.asset( |
|
|
|
|
"assets/image/icon_intergral_sign.png", |
|
|
|
|
width: 36.w, |
|
|
|
|
height: 34, |
|
|
|
|
height: 34.h, |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
width: 15, |
|
|
|
|
), |
|
|
|
|
Expanded( |
|
|
|
|
child: Container( |
|
|
|
|
height: 34, |
|
|
|
|
height: 34.h, |
|
|
|
|
alignment: Alignment.centerLeft, |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround, |
|
|
|
@ -250,22 +253,28 @@ class _IntegralDetailedPage extends State<IntegralDetailedPage>
|
|
|
|
|
userBill[position].name ?? "", |
|
|
|
|
// S.of(context).qiandao, |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.black, fontSize: 12), |
|
|
|
|
color: Colors.black, |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: FontWeight.w400), |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
userBill[position].createTime ?? "", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF727272), fontSize: 10), |
|
|
|
|
color: Color(0xFF727272), |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
fontWeight: FontWeight.w400), |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
)), |
|
|
|
|
Container( |
|
|
|
|
margin: EdgeInsets.only(top: 2), |
|
|
|
|
margin: EdgeInsets.only(top: 2.h), |
|
|
|
|
child: Text( |
|
|
|
|
"${tabController.index == 0 ? "+" : "-"}${double.tryParse(userBill[position].number ?? "0").toInt().toString()}", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF727272), fontSize: 12), |
|
|
|
|
color: Color(0xFF727272), |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: FontWeight.w400), |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|