w-R 3 years ago
parent
commit
7c95854af6
  1. 6
      lib/store/shopping/shopping_home/bargain_details.dart

6
lib/store/shopping/shopping_home/bargain_details.dart

@ -338,7 +338,7 @@ class _BargainDetails extends State<BargainDetails> {
color: Color(0xFFF5F5F5), color: Color(0xFFF5F5F5),
), ),
Container( Container(
width: 100.w, width:double.tryParse(activityActRecordDetails?.actProduct?.productPrice ?? ""),
height: 8.h, height: 8.h,
decoration: BoxDecoration( decoration: BoxDecoration(
gradient: LinearGradient( gradient: LinearGradient(
@ -355,7 +355,7 @@ class _BargainDetails extends State<BargainDetails> {
children: [ children: [
Expanded( Expanded(
child: Text( child: Text(
"原价¥284.00", "原价¥${activityActRecordDetails?.actProduct?.productPrice ?? ""}",
style: TextStyle( style: TextStyle(
fontSize: 12.sp, fontSize: 12.sp,
fontWeight: MyFontWeight.regular, fontWeight: MyFontWeight.regular,
@ -375,7 +375,7 @@ class _BargainDetails extends State<BargainDetails> {
), ),
), ),
TextSpan( TextSpan(
text: "284.00", text: activityActRecordDetails?.actProduct?.promotionPrice ?? "",
style: TextStyle( style: TextStyle(
fontSize: 14.sp, fontSize: 14.sp,
fontWeight: MyFontWeight.semi_bold, fontWeight: MyFontWeight.semi_bold,

Loading…
Cancel
Save