Browse Source

更改

master
w-R 3 years ago
parent
commit
e65cfa00dc
  1. 8
      lib/integral_store/integral_store_details_page.dart
  2. 13
      lib/view_widget/mine_vip_view.dart

8
lib/integral_store/integral_store_details_page.dart

@ -86,7 +86,7 @@ class _IntegralStoreDetailsPage extends State {
child: Text( child: Text(
S.of(context).duihuanguize, S.of(context).duihuanguize,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: MyFontWeight.semi_bold,
fontSize: 16.sp, fontSize: 16.sp,
color: Color(0xFFFF7A1A), color: Color(0xFFFF7A1A),
), ),
@ -152,7 +152,7 @@ class _IntegralStoreDetailsPage extends State {
style: TextStyle( style: TextStyle(
fontSize: 16.sp, fontSize: 16.sp,
color: Color(0xFFFFFFFF), color: Color(0xFFFFFFFF),
fontWeight: FontWeight.bold, fontWeight: MyFontWeight.semi_bold,
), ),
), ),
), ),
@ -213,7 +213,7 @@ class _IntegralStoreDetailsPage extends State {
goods == null ? "" : goods.name, goods == null ? "" : goods.name,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: MyFontWeight.semi_bold,
fontSize: 18.sp, fontSize: 18.sp,
color: Color(0xFF353535), color: Color(0xFF353535),
), ),
@ -253,7 +253,7 @@ class _IntegralStoreDetailsPage extends State {
Text( Text(
goods == null ? "" : S.of(context).jifen_(goods.price), goods == null ? "" : S.of(context).jifen_(goods.price),
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: MyFontWeight.semi_bold,
fontSize: 16.sp, fontSize: 16.sp,
color: Color(0xFF32A060), color: Color(0xFF32A060),
), ),

13
lib/view_widget/mine_vip_view.dart

@ -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,
), ),
), ),

Loading…
Cancel
Save