mcy_new #1
|
|
@ -83,24 +83,26 @@ class _PersonnelDataOverviewState extends State<PersonnelDataOverview> {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Container(
|
||||
width: 94.r,
|
||||
width: 100.r,
|
||||
height: 40.h,
|
||||
alignment: Alignment.center,
|
||||
color: const Color.fromRGBO(230, 230, 230, 1),
|
||||
margin: EdgeInsets.only(bottom: 1.h, right: 1.w),
|
||||
padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 8.w),
|
||||
// padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 8.w),
|
||||
child: quickText(entrie.key, color: const Color.fromRGBO(24, 35, 77, 1), size: 12.sp, maxLines: 2),
|
||||
),
|
||||
...entrie.value.map((e) {
|
||||
bool isTransparentChineseNew = isTransparentChinese && (e?.length ?? 0) == 0;
|
||||
return Container(
|
||||
width: 100.r,
|
||||
height: 40.h,
|
||||
alignment: Alignment.center,
|
||||
margin: EdgeInsets.only(bottom: 1.h, right: 1.w),
|
||||
padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 8.w),
|
||||
// padding: EdgeInsets.symmetric(vertical: 10.h, horizontal: 8.w),
|
||||
color: const Color.fromRGBO(245, 245, 245, 1),
|
||||
child: isTransparentChineseNew
|
||||
? quickText('透明', color: Colors.transparent, size: 12.sp)
|
||||
: RegExp(r'^\d+$').hasMatch(e) || e.contains('%')
|
||||
: RegExp(r'^\d+$').hasMatch(e) || e.contains(' %')
|
||||
? Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
|
|
|
|||
|
|
@ -271,7 +271,8 @@ Widget $easyRefresh({
|
|||
emptyWidget: data.isEmpty ? const MyEmptyWidget() : null,
|
||||
controller: controller,
|
||||
header: MaterialHeader(),
|
||||
footer: MaterialFooter(),
|
||||
// footer: MaterialFooter(),
|
||||
footer: TaurusFooter(),
|
||||
child: completed && isPadFlag
|
||||
? GridView(
|
||||
padding: EdgeInsets.only(
|
||||
|
|
|
|||
Loading…
Reference in New Issue