|
|
|
@ -1219,7 +1219,8 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
|
|
|
|
|
Color(0xFF32A057), |
|
|
|
|
Color(0xFF61CE6B) |
|
|
|
|
])), |
|
|
|
|
child: Row( |
|
|
|
|
child: |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
@ -1249,6 +1250,7 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox(width: 4.w), |
|
|
|
|
Expanded(child: |
|
|
|
|
Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
@ -1347,7 +1349,170 @@ class _ShoppingGoodsDetails extends State<ShoppingGoodsDetails> {
|
|
|
|
|
), |
|
|
|
|
))) |
|
|
|
|
], |
|
|
|
|
)), |
|
|
|
|
pageType != null ? |
|
|
|
|
(pageType == "2" ? |
|
|
|
|
Row( |
|
|
|
|
children: [ |
|
|
|
|
MImage( |
|
|
|
|
activityDetails?.actProduct?.rightImg ?? "", |
|
|
|
|
width:72, |
|
|
|
|
height:30.h, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
errorSrc: "assets/image/default_1.png", |
|
|
|
|
fadeSrc: "assets/image/default_1.png", |
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width:91, |
|
|
|
|
height:50, |
|
|
|
|
color: Color(0xFFB1F6CD), |
|
|
|
|
margin: EdgeInsets.only(left: 15), |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
"距离结束", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: MyFontWeight.semi_bold, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 3), |
|
|
|
|
Row( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center, |
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center, |
|
|
|
|
children: [ |
|
|
|
|
InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
setState(() {}); |
|
|
|
|
}, |
|
|
|
|
child: Container( |
|
|
|
|
width: 13, |
|
|
|
|
height: 14, |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
borderRadius: BorderRadius.circular(1)), |
|
|
|
|
child: Text( |
|
|
|
|
"5", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.white, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Padding( |
|
|
|
|
padding: EdgeInsets.only(left: 2.w, right: 2.w), |
|
|
|
|
child: Text( |
|
|
|
|
":", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
setState(() {}); |
|
|
|
|
}, |
|
|
|
|
child: Container( |
|
|
|
|
width: 13, |
|
|
|
|
height: 14, |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
borderRadius: BorderRadius.circular(1)), |
|
|
|
|
child: Text( |
|
|
|
|
"5", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.white, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Padding( |
|
|
|
|
padding: EdgeInsets.only(left: 2.w, right: 2.w), |
|
|
|
|
child: Text( |
|
|
|
|
":", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
),InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
setState(() {}); |
|
|
|
|
}, |
|
|
|
|
child: Container( |
|
|
|
|
width: 13, |
|
|
|
|
height: 14, |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
borderRadius: BorderRadius.circular(1)), |
|
|
|
|
child: Text( |
|
|
|
|
"5", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.white, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Padding( |
|
|
|
|
padding: EdgeInsets.only(left: 2.w, right: 2.w), |
|
|
|
|
child: Text( |
|
|
|
|
":", |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
InkWell( |
|
|
|
|
onTap: () { |
|
|
|
|
setState(() {}); |
|
|
|
|
}, |
|
|
|
|
child: Container( |
|
|
|
|
width: 13, |
|
|
|
|
height: 14, |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
decoration: BoxDecoration( |
|
|
|
|
color: Color(0xFF32A060), |
|
|
|
|
borderRadius: BorderRadius.circular(1)), |
|
|
|
|
child: Text( |
|
|
|
|
"5", |
|
|
|
|
style: TextStyle( |
|
|
|
|
color: Colors.white, |
|
|
|
|
fontSize: 10.sp, |
|
|
|
|
fontWeight: MyFontWeight.medium, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
],) |
|
|
|
|
],), |
|
|
|
|
) |
|
|
|
|
],):Padding(padding:EdgeInsets.only(right:16), |
|
|
|
|
child: |
|
|
|
|
MImage( |
|
|
|
|
activityDetails?.actProduct?.rightImg ?? "", |
|
|
|
|
width:72, |
|
|
|
|
height:30.h, |
|
|
|
|
fit: BoxFit.cover, |
|
|
|
|
errorSrc: "assets/image/default_1.png", |
|
|
|
|
fadeSrc: "assets/image/default_1.png", |
|
|
|
|
),)) : Container(), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|