|
|
|
@ -28,7 +28,7 @@ class NewCouponWidget extends StatelessWidget {
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
return Container( |
|
|
|
|
height: (coupon != null && coupon.isEx) ? 156.h : 145.h, |
|
|
|
|
height: (coupon != null && coupon.isEx) ? 168.h : 151.h, |
|
|
|
|
width: double.infinity, |
|
|
|
|
margin: EdgeInsets.fromLTRB(14.w, 6.h, 14.w, 6.h), |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
@ -155,7 +155,7 @@ class NewCouponWidget extends StatelessWidget {
|
|
|
|
|
Expanded( |
|
|
|
|
flex: (coupon != null && coupon.isEx) ? 56 : 42, |
|
|
|
|
child: Container( |
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 23.w, vertical: 8.h), |
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 23.w, vertical: 7.h), |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly, |
|
|
|
|
children: [ |
|
|
|
@ -197,7 +197,7 @@ class NewCouponWidget extends StatelessWidget {
|
|
|
|
|
(coupon.useStartTime == null && |
|
|
|
|
coupon.useEndTime == null) |
|
|
|
|
? S.of(context).quantian |
|
|
|
|
: "${coupon.useStartTime.replaceAll("-", ".").split(" ")[0]} - ${coupon.useEndTime.replaceAll("-", ".").split(" ")[0]}", |
|
|
|
|
: "${coupon.useStartTime} - ${coupon.useEndTime}", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|