|
|
|
@ -27,43 +27,41 @@ class NoDataView extends StatelessWidget {
|
|
|
|
|
return Container( |
|
|
|
|
margin: margin, |
|
|
|
|
alignment: Alignment.center, |
|
|
|
|
child: Expanded( |
|
|
|
|
child: Column( |
|
|
|
|
children: [ |
|
|
|
|
Image( |
|
|
|
|
image: AssetImage(src), |
|
|
|
|
width: iconWidth, |
|
|
|
|
height: iconHeight, |
|
|
|
|
child: Column( |
|
|
|
|
children: [ |
|
|
|
|
Image( |
|
|
|
|
image: AssetImage(src), |
|
|
|
|
width: iconWidth, |
|
|
|
|
height: iconHeight, |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 35.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
text, |
|
|
|
|
textAlign: TextAlign.center, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: fontSize, |
|
|
|
|
height: 1.5, |
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 35.h, |
|
|
|
|
), |
|
|
|
|
Text( |
|
|
|
|
text, |
|
|
|
|
textAlign: TextAlign.center, |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: fontSize, |
|
|
|
|
height: 1.5, |
|
|
|
|
color: Color(0xFF353535), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 10.h, |
|
|
|
|
), |
|
|
|
|
if (isShowBtn) |
|
|
|
|
Container( |
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 16.w), |
|
|
|
|
child: RoundButton( |
|
|
|
|
text: S.of(context).fanhuishouye, |
|
|
|
|
textColor: Colors.white, |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
padding: EdgeInsets.all(12.w), |
|
|
|
|
backgroup: Color(0xFF32A060), |
|
|
|
|
radius: 4, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
height: 10.h, |
|
|
|
|
), |
|
|
|
|
if (isShowBtn) |
|
|
|
|
Container( |
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 16.w), |
|
|
|
|
child: RoundButton( |
|
|
|
|
text: S.of(context).fanhuishouye, |
|
|
|
|
textColor: Colors.white, |
|
|
|
|
fontSize: 14.sp, |
|
|
|
|
padding: EdgeInsets.all(12.w), |
|
|
|
|
backgroup: Color(0xFF32A060), |
|
|
|
|
radius: 4, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|