|
|
|
@ -157,7 +157,7 @@ class _WelfarePage extends State<WelfarePage> {
|
|
|
|
|
appBar: MyAppBar( |
|
|
|
|
background: Colors.transparent, |
|
|
|
|
leadingColor: Colors.white, |
|
|
|
|
title: "福利中心", |
|
|
|
|
title: S.of(context).fulizhongxin, |
|
|
|
|
titleColor: Colors.white, |
|
|
|
|
titleSize: 18.sp, |
|
|
|
|
brightness: Brightness.dark, |
|
|
|
@ -520,7 +520,7 @@ class _WelfarePage extends State<WelfarePage> {
|
|
|
|
|
textBaseline: TextBaseline.alphabetic, |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
"¥", |
|
|
|
|
cop.limitAmount != "0.00"?"¥":"", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
@ -531,9 +531,9 @@ class _WelfarePage extends State<WelfarePage> {
|
|
|
|
|
height: 4.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
coupon != null |
|
|
|
|
cop.limitAmount != "0.00"?(coupon != null |
|
|
|
|
? "${AppUtils.calculateDouble(double.tryParse(cop.limitAmount) ?? 0)}" |
|
|
|
|
: "", |
|
|
|
|
: "") :"", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 24.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
@ -555,10 +555,10 @@ class _WelfarePage extends State<WelfarePage> {
|
|
|
|
|
textBaseline: TextBaseline.alphabetic, |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
coupon != null |
|
|
|
|
cop.discountPercent != 0 ? (coupon != null |
|
|
|
|
? "${(cop.discountPercent / 10.0 >= 10) ? 10 : cop.discountPercent / 10.0}" ?? |
|
|
|
|
"0" |
|
|
|
|
: "", |
|
|
|
|
: ""):"", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 30.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
@ -569,7 +569,7 @@ class _WelfarePage extends State<WelfarePage> {
|
|
|
|
|
height: 4.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
"折", |
|
|
|
|
cop.discountPercent != 0 ? "折" :"", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|