diff --git a/lib/pages/favorites_page/favorites_page.dart b/lib/pages/favorites_page/favorites_page.dart index 19ff195..d7364a7 100644 --- a/lib/pages/favorites_page/favorites_page.dart +++ b/lib/pages/favorites_page/favorites_page.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; import 'package:tab_indicator_styler/tab_indicator_styler.dart'; import 'package:zhiying_base_widget/pages/favorites_page/bloc/favorites_bloc.dart'; import 'package:zhiying_base_widget/pages/favorites_page/bloc/favorites_repository.dart'; @@ -14,6 +15,9 @@ import 'package:zhiying_comm/util/router_util.dart'; import 'model/favorites_style_model.dart'; import 'notifier/favorites_page_notifier.dart'; +/// +/// 收藏夹 +/// class FavoritesPage extends StatelessWidget { @override Widget build(BuildContext context) { @@ -220,6 +224,7 @@ class _FavoritesPageContainerState extends State<_FavoritesPageContainer> with T Widget _buildAppBarWidget(FavoritesStyleModel model) { return AppBar( backgroundColor: HexColor.fromHex(model?.appBarBgColor ?? '#FFFFFF'), + brightness: Brightness.light, leading: IconButton( icon: Icon( Icons.arrow_back_ios, diff --git a/lib/pages/message_notice_page/message_notice_page.dart b/lib/pages/message_notice_page/message_notice_page.dart index 7a1d242..b007d2e 100644 --- a/lib/pages/message_notice_page/message_notice_page.dart +++ b/lib/pages/message_notice_page/message_notice_page.dart @@ -228,7 +228,7 @@ class __MessageNoticePageContainerState extends State<_MessageNoticePageContaine child: Column( children: [ Container( - height: 30, + // height: 30, width: double.infinity, child: Row( children: [ @@ -527,6 +527,7 @@ class __MessageNoticePageContainerState extends State<_MessageNoticePageContaine /// APPBar Widget _buildAppBarWidget(MessageNoticeStyleModel styleModel) { return AppBar( + brightness: Brightness.light, leading: IconButton( icon: Icon( Icons.arrow_back_ios, diff --git a/lib/pages/team_details_page/team_details_page.dart b/lib/pages/team_details_page/team_details_page.dart index 75aec76..20a8d8c 100644 --- a/lib/pages/team_details_page/team_details_page.dart +++ b/lib/pages/team_details_page/team_details_page.dart @@ -94,6 +94,7 @@ class _TeamDetailsPageState extends State<_TeamDetailsPage> { /// 头部Bar SliverAppBar( // expandedHeight: 200.0, + brightness: Brightness.light, leading: IconButton( icon: Icon( Icons.arrow_back_ios, diff --git a/lib/widgets/goods_details/detail_img/goods_details_img.dart b/lib/widgets/goods_details/detail_img/goods_details_img.dart index b597396..6a3cff3 100644 --- a/lib/widgets/goods_details/detail_img/goods_details_img.dart +++ b/lib/widgets/goods_details/detail_img/goods_details_img.dart @@ -84,14 +84,19 @@ class _GoodsDetailsImgWidgetContainerState extends State 0) { + return Column( + children: model.image_detail_list.map((item) { + return CachedNetworkImage( + imageUrl: item ?? '', + fit: BoxFit.fitWidth, + ); + }).toList(), + ); + }else{ + return Container(); + } } /// 标题Widget diff --git a/lib/widgets/team/appbar/team_app_bar_widget.dart b/lib/widgets/team/appbar/team_app_bar_widget.dart index aaa5cee..e1e39c4 100644 --- a/lib/widgets/team/appbar/team_app_bar_widget.dart +++ b/lib/widgets/team/appbar/team_app_bar_widget.dart @@ -13,6 +13,7 @@ class TeamAppBarWidget extends StatelessWidget { return SliverAppBar( // expandedHeight: 200.0, + brightness: Brightness.light, leading: IconButton( icon: Icon( Icons.arrow_back_ios, diff --git a/lib/widgets/team/recommend/team_recommend_widget.dart b/lib/widgets/team/recommend/team_recommend_widget.dart index 1fe2dac..65d6a4a 100644 --- a/lib/widgets/team/recommend/team_recommend_widget.dart +++ b/lib/widgets/team/recommend/team_recommend_widget.dart @@ -251,12 +251,15 @@ class __TeamRecommendWidgetState extends State<_TeamRecommendWidgetContainer> { /// 头像widget Widget _getAvatarWidget(TeamDataModel dataModel) { - return Container( - width: 55, - // height: 55, - // color: Colors.red, - child: CachedNetworkImage( - imageUrl: dataModel?.referrerAvatar ?? '', + return ClipRRect( + borderRadius: BorderRadius.circular(55/2), + child: Container( + width: 55, + // height: 55, + // color: Colors.red, + child: CachedNetworkImage( + imageUrl: dataModel?.referrerAvatar ?? '', + ), ), ); }