|
|
|
@ -16,6 +16,7 @@ import 'package:huixiang/retrofit/data/user_entity.dart';
|
|
|
|
|
import 'package:huixiang/retrofit/data/user_info.dart'; |
|
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
|
import 'package:huixiang/utils/flutter_utils.dart'; |
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
|
import 'package:huixiang/utils/min.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/classic_header.dart'; |
|
|
|
|
import 'package:huixiang/view_widget/custom_image.dart'; |
|
|
|
@ -154,7 +155,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
color: Colors.black, |
|
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Expanded( |
|
|
|
@ -170,7 +171,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
), |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -186,7 +187,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
textAlign: TextAlign.justify, |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -218,7 +219,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
"- ${storeInfo.openEndTime.substring(0, storeInfo.openEndTime.lastIndexOf(":"))}"), |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -294,7 +295,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
S.of(context).zanwuyouhuiquankelingqu, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Color(0xFFA0A0A0), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -323,7 +324,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
S.of(context).muqianzanwuxingdianhuodong, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Color(0xFFA0A0A0), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -352,7 +353,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
color: isEnable() ? Colors.white : Color(0xFFA0A0A0), |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -410,7 +411,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
S.of(context).huiyuanyue, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -421,7 +422,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
"¥${(storeInfo != null && storeInfo.memberSource != null) ? storeInfo.memberSource.balance : ""}", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -441,7 +442,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
S.of(context).huiyuanjifen, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16.sp, |
|
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -454,7 +455,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
: "", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
color: Colors.white, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -469,7 +470,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
S.of(context).gongxinichengweibendianhuiyuan, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
color: Color(0xFFEDC98E), |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
@ -495,7 +496,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
color: Color(0xCFFFFFFF), |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
@ -572,7 +573,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 22.sp, |
|
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
TextSpan( |
|
|
|
@ -592,7 +593,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 36.sp, |
|
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
])), |
|
|
|
@ -631,7 +632,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Color(0xFF727272), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -657,7 +658,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Color(0xFFFF7A1A), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -826,7 +827,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
: "", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Color(0xFF000000), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -840,7 +841,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
: "", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
color: Color(0xFF727272), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
@ -870,7 +871,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
|
|
|
|
|
? activitys[position].startTime.split(" ")[0] |
|
|
|
|
: "", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
fontSize: 12.sp, |
|
|
|
|
color: Color(0xD9FFFFFF), |
|
|
|
|
), |
|
|
|
|