|
|
@ -6,6 +6,7 @@ import 'package:huixiang/retrofit/data/base_data.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/order_info.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/order_info.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/vip_card.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/vip_card.dart'; |
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
import 'package:huixiang/retrofit/retrofit_api.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
import 'package:huixiang/utils/location.dart'; |
|
|
|
import 'package:huixiang/utils/location.dart'; |
|
|
|
import 'package:huixiang/utils/painter_bg.dart'; |
|
|
|
import 'package:huixiang/utils/painter_bg.dart'; |
|
|
|
import 'package:huixiang/view_widget/custom_image.dart'; |
|
|
|
import 'package:huixiang/view_widget/custom_image.dart'; |
|
|
@ -238,7 +239,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
text: S.of(context).huiyuanka, |
|
|
|
text: S.of(context).huiyuanka, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -273,7 +274,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
"¥ ${vipCard != null ? vipCard.balance : ""}", |
|
|
|
"¥ ${vipCard != null ? vipCard.balance : ""}", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 24.sp, |
|
|
|
fontSize: 24.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -321,7 +322,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
text: "0", |
|
|
|
text: "0", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 24.sp, |
|
|
|
fontSize: 24.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Colors.black, |
|
|
|
color: Colors.black, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -425,7 +426,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
S.of(context).chakan, |
|
|
|
S.of(context).chakan, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w500, |
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
color: Color(0xff32A060), |
|
|
|
color: Color(0xff32A060), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -446,7 +447,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
"${S.of(context).dizhi}: ", |
|
|
|
"${S.of(context).dizhi}: ", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xff353535), |
|
|
|
color: Color(0xff353535), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -456,7 +457,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xff353535), |
|
|
|
color: Color(0xff353535), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -480,7 +481,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
: "${store.openStartTime.substring(0, store.openStartTime.lastIndexOf(":"))} - ${store.openEndTime.substring(0, store.openEndTime.lastIndexOf(":"))}"), |
|
|
|
: "${store.openStartTime.substring(0, store.openStartTime.lastIndexOf(":"))} - ${store.openEndTime.substring(0, store.openEndTime.lastIndexOf(":"))}"), |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xff353535), |
|
|
|
color: Color(0xff353535), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -494,7 +495,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
.mi(((store.distance ?? 0) * 100).toInt() / 100.0), |
|
|
|
.mi(((store.distance ?? 0) * 100).toInt() / 100.0), |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xff868686), |
|
|
|
color: Color(0xff868686), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -552,6 +553,7 @@ class _VipDetailPage extends State<VipDetailPage> { |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 10.sp, |
|
|
|
fontSize: 10.sp, |
|
|
|
|
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: Color(0xFF353535), |
|
|
|
color: Color(0xFF353535), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|