样式修改
This commit is contained in:
parent
fa9e9912d5
commit
4dfab0f4c3
|
|
@ -43,7 +43,7 @@ class _JobFavoriteState extends State<JobFavorite> with CommonMixin {
|
|||
JobReportJoinClass? classData;
|
||||
late String loginName;
|
||||
final int pageSize = 100;
|
||||
String className = '-1';
|
||||
String className = '全部';
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
|
|
@ -376,6 +376,7 @@ Widget $classSelection(List<JobReportJoinClass>? involveClasses, JobReportJoinCl
|
|||
)),
|
||||
child: DropdownButton(
|
||||
value: classData?.uniqueId ?? '-1',
|
||||
|
||||
style: TextStyle(color: Color.fromRGBO(89, 89, 89, 1), fontSize: 12.sp),
|
||||
underline: Container(),
|
||||
// isExpanded:true,
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ class _QuickDataCheckPageState extends State<QuickDataCheckPage>
|
|||
style: TextStyle(fontSize: 14.sp, color: Colors.white),
|
||||
)),
|
||||
)),
|
||||
SizedBox(width: 24.r,),
|
||||
],
|
||||
),
|
||||
SizedBox(height: 10.r),
|
||||
|
|
|
|||
|
|
@ -34,27 +34,29 @@ class _QuickStudentDataTableState extends State<QuickStudentDataTable> {
|
|||
assert(index >= 0);
|
||||
StudentDetails item = widget.bodyList[index];
|
||||
int num = 0;
|
||||
int total = 0;
|
||||
item.kgDetails.forEach((element) {
|
||||
if (element.state == 0) {
|
||||
num = num + 1;
|
||||
}
|
||||
total = total + 1;
|
||||
});
|
||||
item.zgDetails.forEach((element) {
|
||||
if (element.state == 0) {
|
||||
num = num + 1;
|
||||
}
|
||||
total = total + 1;
|
||||
});
|
||||
return DataRow2.byIndex(
|
||||
index: index,
|
||||
color: color != null
|
||||
? num == 0
|
||||
? MaterialStateProperty.all(color)
|
||||
: MaterialStateProperty.all(Color(0xFFFFD79C))
|
||||
? num == total
|
||||
? MaterialStateProperty.all(Color(0xFFFFD79C))
|
||||
: MaterialStateProperty.all(color)
|
||||
: null,
|
||||
cells: [
|
||||
DataCell(InkWell(
|
||||
onTap: () {
|
||||
|
||||
RouterManager.router.navigateTo(
|
||||
context,
|
||||
RouterManager.quickCheckPersonalPath +
|
||||
|
|
|
|||
Loading…
Reference in New Issue