|
|
@ -1,6 +1,7 @@ |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/coupon.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/coupon.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
import 'package:huixiang/view_widget/separator.dart'; |
|
|
|
import 'package:huixiang/view_widget/separator.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
|
|
|
|
|
|
|
@ -76,7 +77,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).shangjiaquan, |
|
|
|
S.of(context).shangjiaquan, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 10.sp, |
|
|
|
fontSize: 10.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -90,7 +91,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 16.sp, |
|
|
|
fontSize: 16.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff353535), |
|
|
|
color: Color(0xff353535), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -222,7 +223,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
"¥", |
|
|
|
"¥", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 22.sp, |
|
|
|
fontSize: 22.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -237,7 +238,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
: "", |
|
|
|
: "", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 40.sp, |
|
|
|
fontSize: 40.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -252,7 +253,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
: ""), |
|
|
|
: ""), |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -271,7 +272,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).duihuanquan, |
|
|
|
S.of(context).duihuanquan, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 25.sp, |
|
|
|
fontSize: 25.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -282,7 +283,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).xianxiashiyong, |
|
|
|
S.of(context).xianxiashiyong, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -306,7 +307,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
: "", |
|
|
|
: "", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 40.sp, |
|
|
|
fontSize: 40.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -317,7 +318,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
"折", |
|
|
|
"折", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 20.sp, |
|
|
|
fontSize: 20.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -328,7 +329,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).quanchangtongyong, |
|
|
|
S.of(context).quanchangtongyong, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -356,7 +357,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).lingqu, |
|
|
|
S.of(context).lingqu, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -376,7 +377,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).yilingqu, |
|
|
|
S.of(context).yilingqu, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -403,7 +404,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
: S.of(context).qushiyong, |
|
|
|
: S.of(context).qushiyong, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -425,7 +426,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).yishiyong, |
|
|
|
S.of(context).yishiyong, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -446,7 +447,7 @@ class NewCouponWidget extends StatelessWidget { |
|
|
|
S.of(context).yishixiao, |
|
|
|
S.of(context).yishixiao, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|