From 7c95854af6d807834019f239180fc375d800db19 Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Mon, 21 Feb 2022 18:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/store/shopping/shopping_home/bargain_details.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/store/shopping/shopping_home/bargain_details.dart b/lib/store/shopping/shopping_home/bargain_details.dart index d64f28e5..51a248d7 100644 --- a/lib/store/shopping/shopping_home/bargain_details.dart +++ b/lib/store/shopping/shopping_home/bargain_details.dart @@ -338,7 +338,7 @@ class _BargainDetails extends State { color: Color(0xFFF5F5F5), ), Container( - width: 100.w, + width:double.tryParse(activityActRecordDetails?.actProduct?.productPrice ?? ""), height: 8.h, decoration: BoxDecoration( gradient: LinearGradient( @@ -355,7 +355,7 @@ class _BargainDetails extends State { children: [ Expanded( child: Text( - "原价¥284.00", + "原价¥${activityActRecordDetails?.actProduct?.productPrice ?? ""}", style: TextStyle( fontSize: 12.sp, fontWeight: MyFontWeight.regular, @@ -375,7 +375,7 @@ class _BargainDetails extends State { ), ), TextSpan( - text: "284.00", + text: activityActRecordDetails?.actProduct?.promotionPrice ?? "", style: TextStyle( fontSize: 14.sp, fontWeight: MyFontWeight.semi_bold,