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,