From 546a2507000503572cbe53b7208dbbcdd6feb6d4 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Mon, 23 Nov 2020 09:36:20 +0800 Subject: [PATCH] 1.3.15+208 --- .../pick_view/live_goods_card.dart | 45 ++++++++++--------- pubspec.yaml | 2 +- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/lib/pages/live/live_stream/pick_view/live_goods_card.dart b/lib/pages/live/live_stream/pick_view/live_goods_card.dart index 877816b..370d448 100644 --- a/lib/pages/live/live_stream/pick_view/live_goods_card.dart +++ b/lib/pages/live/live_stream/pick_view/live_goods_card.dart @@ -85,31 +85,34 @@ class _LiveGoodsCardState extends State { // color: Colors.black54, fontWeight: FontWeight.w300), // ), Spacer(), - Row( - children: [ - InkWell( - child: Row( + AppConfig.getShowCommission() + ? Row( children: [ - FadeInImage.assetNetwork( - placeholder: R.ASSETS_PLACEHOLDER_NEW_1X1_A_PNG, - image: Api.getImgUrl(widget.model.brandImg), - width: rSize(13), - height: rSize(13), - ), - rWBox(4), - Text( - widget.model.brandName, - style: TextStyle( - color: Color(0xffc70404), - fontSize: ScreenAdapterUtils.setSp(12), + InkWell( + child: Row( + children: [ + FadeInImage.assetNetwork( + placeholder: + R.ASSETS_PLACEHOLDER_NEW_1X1_A_PNG, + image: Api.getImgUrl(widget.model.brandImg), + width: rSize(13), + height: rSize(13), + ), + rWBox(4), + Text( + widget.model.brandName, + style: TextStyle( + color: Color(0xffc70404), + fontSize: ScreenAdapterUtils.setSp(12), + ), + ), + ], ), ), + Spacer(), ], - ), - ), - Spacer(), - ], - ), + ) + : SizedBox(), Text.rich( TextSpan( children: [ diff --git a/pubspec.yaml b/pubspec.yaml index 8f23eb9..d373ada 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: recook description: Recook Market App. publish_to: "none" -version: 1.3.14+207 +version: 1.3.15+208 # sdk min version to 2.2.2 # to support ... feature