Browse Source

1、字号的修改

2、我的团队初始化问题
tags/0.0.9+6^0
PH2 3 years ago
parent
commit
e20c7ff82e
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      lib/widgets/home/home_goods/home_goods_item.dart
  2. +1
    -1
      lib/widgets/home/home_goods/home_goods_item_single.dart
  3. +3
    -3
      lib/widgets/team/fans_list/bloc/team_list_fans_bloc.dart

+ 1
- 1
lib/widgets/home/home_goods/home_goods_item.dart View File

@@ -118,7 +118,7 @@ class HomeGoodsItem extends StatelessWidget {
list.add(TextSpan( list.add(TextSpan(
text: goods.goodTitle, text: goods.goodTitle,
style: TextStyle( style: TextStyle(
fontSize: 15,
fontSize: 14,
color: HexColor.fromHex('#333333'), color: HexColor.fromHex('#333333'),
fontWeight: style?.listStyle?.isTitleBold=="1"? FontWeight.bold:FontWeight.w500), fontWeight: style?.listStyle?.isTitleBold=="1"? FontWeight.bold:FontWeight.w500),
)); ));


+ 1
- 1
lib/widgets/home/home_goods/home_goods_item_single.dart View File

@@ -142,7 +142,7 @@ class HomeGoodsItemSingle extends StatelessWidget {
} }
list.add(TextSpan( list.add(TextSpan(
text: goods.goodTitle, text: goods.goodTitle,
style: TextStyle(fontSize: 15, color: HexColor.fromHex('#333333'), fontWeight: style?.listStyle?.isTitleBold=="1"? FontWeight.bold:FontWeight.w500),
style: TextStyle(fontSize: 14, color: HexColor.fromHex('#333333'), fontWeight: style?.listStyle?.isTitleBold=="1"? FontWeight.bold:FontWeight.w500),
)); ));
return RichText( return RichText(
maxLines: 2, maxLines: 2,


+ 3
- 3
lib/widgets/team/fans_list/bloc/team_list_fans_bloc.dart View File

@@ -15,10 +15,10 @@ class TeamListFansBloc extends Bloc<TeamListFansEvent, TeamListFansState> {


TeamListFansRepository repository; TeamListFansRepository repository;


TeamListFansBloc(this.repository) : super(null);
TeamListFansBloc(this.repository) : super(TeamListFansInitial());


@override
TeamListFansState get initialState => TeamListFansInitial();
// @override
// TeamListFansState get initialState => TeamListFansInitial();


@override @override
Stream<TeamListFansState> mapEventToState( Stream<TeamListFansState> mapEventToState(


Loading…
Cancel
Save