|
|
@ -4,6 +4,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/rank.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/rank.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/user_info.dart'; |
|
|
|
import 'package:huixiang/retrofit/data/user_info.dart'; |
|
|
|
import 'package:huixiang/utils/flutter_utils.dart'; |
|
|
|
import 'package:huixiang/utils/flutter_utils.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
import 'package:huixiang/view_widget/login_tips_dialog.dart'; |
|
|
|
import 'package:huixiang/view_widget/login_tips_dialog.dart'; |
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
|
|
|
|
|
|
|
@ -162,7 +163,7 @@ class MineVipView extends StatelessWidget { |
|
|
|
topLeft, |
|
|
|
topLeft, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: Colors.white, |
|
|
|
color: Colors.white, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -173,7 +174,7 @@ class MineVipView extends StatelessWidget { |
|
|
|
levelText, |
|
|
|
levelText, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: textColor, |
|
|
|
color: textColor, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
fontSize: 23.sp, |
|
|
|
fontSize: 23.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -215,7 +216,7 @@ class MineVipView extends StatelessWidget { |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: textColor, |
|
|
|
color: textColor, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
fontSize: 14.sp, |
|
|
|
fontSize: 14.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -228,7 +229,7 @@ class MineVipView extends StatelessWidget { |
|
|
|
text: "$rank", |
|
|
|
text: "$rank", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 26.sp, |
|
|
|
fontSize: 26.sp, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
color: textColor, |
|
|
|
color: textColor, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -237,7 +238,7 @@ class MineVipView extends StatelessWidget { |
|
|
|
text: rankMax > 0 ? "/$rankMax" : "/0", |
|
|
|
text: rankMax > 0 ? "/$rankMax" : "/0", |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 14.sp, |
|
|
|
fontSize: 14.sp, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
color: textColor, |
|
|
|
color: textColor, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
@ -268,7 +269,7 @@ class MineVipView extends StatelessWidget { |
|
|
|
: "$createTime"), |
|
|
|
: "$createTime"), |
|
|
|
style: TextStyle( |
|
|
|
style: TextStyle( |
|
|
|
color: textColor, |
|
|
|
color: textColor, |
|
|
|
fontWeight: FontWeight.w400, |
|
|
|
fontWeight: MyFontWeight.regular, |
|
|
|
fontSize: 12.sp, |
|
|
|
fontSize: 12.sp, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|