Compare commits
No commits in common. "a8d5be898e5575f2d9d177071568c17702671c5b" and "2f2395bfe20e8e38e871c072355cb1e77fe7e9f0" have entirely different histories.
a8d5be898e
...
2f2395bfe2
|
|
@ -22,17 +22,13 @@ part 'annotate_list.g.dart';
|
||||||
class AnnotateList extends StatefulWidget{
|
class AnnotateList extends StatefulWidget{
|
||||||
final int tabIndex;
|
final int tabIndex;
|
||||||
final int assessType;
|
final int assessType;
|
||||||
|
const AnnotateList({Key? key,required this.tabIndex,required this.assessType}) : super(key: key);
|
||||||
const AnnotateList(
|
|
||||||
{Key? key, required this.tabIndex, required this.assessType})
|
|
||||||
: super(key: key);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<AnnotateList> createState() => _AnnotateListState();
|
State<AnnotateList> createState() => _AnnotateListState();
|
||||||
}
|
}
|
||||||
|
|
||||||
class _AnnotateListState extends State<AnnotateList>
|
class _AnnotateListState extends State<AnnotateList> with RequestToolMixin, SingleTickerProviderStateMixin{
|
||||||
with RequestToolMixin, SingleTickerProviderStateMixin {
|
|
||||||
late RxString customTimeStr = '自定义'.obs;
|
late RxString customTimeStr = '自定义'.obs;
|
||||||
int active = 1;
|
int active = 1;
|
||||||
late RxList<Items> unAnnotateList = RxList();
|
late RxList<Items> unAnnotateList = RxList();
|
||||||
|
|
@ -51,8 +47,6 @@ class _AnnotateListState extends State<AnnotateList>
|
||||||
WorkStudentParams params2 = WorkStudentParams(
|
WorkStudentParams params2 = WorkStudentParams(
|
||||||
assessType: 0,
|
assessType: 0,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
startDate: Utils.getWeekStartDate().toString().substring(0, 10),
|
|
||||||
endDate: Utils.getWeekEndDate().toString().substring(0, 10),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
@ -106,6 +100,7 @@ class _AnnotateListState extends State<AnnotateList>
|
||||||
}else{
|
}else{
|
||||||
getAnnotateList();
|
getAnnotateList();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> getCollect(item) async {
|
Future<void> getCollect(item) async {
|
||||||
|
|
@ -133,36 +128,24 @@ class _AnnotateListState extends State<AnnotateList>
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
if(widget.tabIndex == 1)
|
if(widget.tabIndex == 1)
|
||||||
Obx(() {
|
JobConditionFilter(
|
||||||
return JobConditionFilter(
|
|
||||||
customTimeStr: customTimeStr.value,
|
customTimeStr: customTimeStr.value,
|
||||||
controller: tabController2,
|
controller: tabController2,
|
||||||
hasAll: true,
|
hasAll: true,
|
||||||
jobType: 1,
|
jobType: 1,
|
||||||
customTime: tabController2.index != 2 ||
|
customTime: tabController2.index != 3 || (params2.startDate == null && params2.endDate == null)
|
||||||
(params2.startDate == null && params2.endDate == null)
|
|
||||||
? null
|
? null
|
||||||
: PickerDateRange(
|
: PickerDateRange(
|
||||||
params2.startDate == null ? null : DateTime.parse(
|
params2.startDate == null ? null : DateTime.parse(params2.startDate!),
|
||||||
params2.startDate!),
|
params2.endDate == null ? null : DateTime.parse(params2.endDate!),
|
||||||
params2.endDate == null ? null : DateTime.parse(
|
|
||||||
params2.endDate!),
|
|
||||||
),
|
),
|
||||||
onTimeFilter: (String? startTime, String? endTime) {
|
onTimeFilter: (String? startTime, String? endTime) {
|
||||||
if (startTime == null && endTime == null &&
|
if (startTime == null && endTime == null && tabController2.index == 3) {
|
||||||
tabController2.index == 2) {
|
|
||||||
tabController2.animateTo(0);
|
tabController2.animateTo(0);
|
||||||
params2.endDate =
|
}
|
||||||
Utils.getWeekEndDate().toString().substring(0, 10);
|
|
||||||
params2.startDate =
|
|
||||||
Utils.getWeekStartDate().toString().substring(0, 10);
|
|
||||||
customTimeStr.value = '自定义';
|
|
||||||
} else {
|
|
||||||
params2.endDate = endTime;
|
params2.endDate = endTime;
|
||||||
params2.startDate = startTime;
|
params2.startDate = startTime;
|
||||||
}
|
|
||||||
page = 1;
|
page = 1;
|
||||||
EasyLoading.show(status: 'loading...');
|
|
||||||
if(widget.tabIndex == 0){
|
if(widget.tabIndex == 0){
|
||||||
getUnAnnotateList();
|
getUnAnnotateList();
|
||||||
}else{
|
}else{
|
||||||
|
|
@ -172,23 +155,17 @@ class _AnnotateListState extends State<AnnotateList>
|
||||||
},
|
},
|
||||||
refreshTime: (value) {
|
refreshTime: (value) {
|
||||||
if (value != null && value.startDate != null) {
|
if (value != null && value.startDate != null) {
|
||||||
customTimeStr.value =
|
customTimeStr.value = value.startDate?.toString().substring(0, 10) ?? '';
|
||||||
value.startDate?.toString().substring(0, 10) ?? '';
|
|
||||||
|
|
||||||
if (value.endDate != null) {
|
if (value.endDate != null) {
|
||||||
if (!Utils.isPad() &&
|
if (!Utils.isPad() && value.startDate!.year == value.endDate!.year) {
|
||||||
value.startDate!.year == value.endDate!.year) {
|
|
||||||
customTimeStr.value =
|
customTimeStr.value =
|
||||||
'${value.startDate.toString().substring(5, 10)}~${value
|
'${value.startDate.toString().substring(5, 10)}~${value.endDate.toString().substring(5, 10)}';
|
||||||
.endDate.toString().substring(5, 10)}';
|
|
||||||
} else {
|
} else {
|
||||||
customTimeStr.value =
|
customTimeStr.value = '${customTimeStr.value}~${value.endDate?.toString().substring(0, 10)}';
|
||||||
'${customTimeStr.value}~${value.endDate?.toString()
|
|
||||||
.substring(0, 10)}';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}),
|
}),
|
||||||
Expanded(child: IndexedStack(
|
Expanded(child: IndexedStack(
|
||||||
index: widget.tabIndex,
|
index: widget.tabIndex,
|
||||||
|
|
@ -222,10 +199,8 @@ class _AnnotateListState extends State<AnnotateList>
|
||||||
@swidget
|
@swidget
|
||||||
Widget $easyRefresh({
|
Widget $easyRefresh({
|
||||||
required EasyRefreshController controller,
|
required EasyRefreshController controller,
|
||||||
required Future<
|
required Future<void> Function(EasyRefreshController controller, int tab) onRefresh,
|
||||||
void> Function(EasyRefreshController controller, int tab) onRefresh,
|
required Future<void> Function(EasyRefreshController controller, int tab) onLoad,
|
||||||
required Future<
|
|
||||||
void> Function(EasyRefreshController controller, int tab) onLoad,
|
|
||||||
required List<Items> data,
|
required List<Items> data,
|
||||||
required int tab,
|
required int tab,
|
||||||
required int type,
|
required int type,
|
||||||
|
|
@ -245,8 +220,7 @@ Widget $easyRefresh({
|
||||||
footer: TaurusFooter(),
|
footer: TaurusFooter(),
|
||||||
child: completed && isPadFlag
|
child: completed && isPadFlag
|
||||||
? GridView(
|
? GridView(
|
||||||
padding: EdgeInsets.only(
|
padding: EdgeInsets.only(top: 11.h, bottom: 10.h, left: 12.w, right: 12.w),
|
||||||
top: 11.h, bottom: 10.h, left: 12.w, right: 12.w),
|
|
||||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||||
crossAxisCount: 2, //横轴三个子widget
|
crossAxisCount: 2, //横轴三个子widget
|
||||||
mainAxisSpacing: 10.h,
|
mainAxisSpacing: 10.h,
|
||||||
|
|
@ -256,16 +230,11 @@ Widget $easyRefresh({
|
||||||
children: List.generate(data.length, (index) {
|
children: List.generate(data.length, (index) {
|
||||||
Items item = data[index];
|
Items item = data[index];
|
||||||
String subjectName = EnumUtils.formatSubject(item.subject);
|
String subjectName = EnumUtils.formatSubject(item.subject);
|
||||||
return $reviewedItem(jobTaskItem: item,
|
return $reviewedItem(jobTaskItem: item, type: type, subjectName: subjectName, collectFun: collectFun,tabIndex:tab - 1);
|
||||||
type: type,
|
|
||||||
subjectName: subjectName,
|
|
||||||
collectFun: collectFun,
|
|
||||||
tabIndex: tab - 1);
|
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
: ListView.builder(
|
: ListView.builder(
|
||||||
padding: EdgeInsets.only(
|
padding: EdgeInsets.only(top: 11.h, bottom: 10.h, left: 12.w, right: 12.w),
|
||||||
top: 11.h, bottom: 10.h, left: 12.w, right: 12.w),
|
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
Items item = data[index];
|
Items item = data[index];
|
||||||
return TaskListItem(
|
return TaskListItem(
|
||||||
|
|
@ -297,17 +266,10 @@ Widget $reviewedItem({
|
||||||
return InkWell(
|
return InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Get.toNamed(Routes.annotateClassPage,
|
Get.toNamed(Routes.annotateClassPage,
|
||||||
arguments: {
|
arguments: {'id': jobTaskItem.id, 'name': jobTaskItem.name, 'grade': jobTaskItem.grade,'subject':jobTaskItem.subject, 'completed': true,'tabIndex':tabIndex});
|
||||||
'id': jobTaskItem.id,
|
|
||||||
'name': jobTaskItem.name,
|
|
||||||
'grade': jobTaskItem.grade,
|
|
||||||
'subject': jobTaskItem.subject,
|
|
||||||
'completed': true,
|
|
||||||
'tabIndex': tabIndex
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: EdgeInsets.only(top: 10.h),
|
padding: EdgeInsets.only(right: 5.w),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(6.r),
|
borderRadius: BorderRadius.circular(6.r),
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
|
|
@ -324,9 +286,7 @@ Widget $reviewedItem({
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
// 顶部任务名称
|
// 顶部任务名称
|
||||||
Padding(
|
Row(
|
||||||
padding: padEdg,
|
|
||||||
child: Row(
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
|
||||||
children: [
|
children: [
|
||||||
|
|
@ -336,36 +296,30 @@ Widget $reviewedItem({
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
padding: EdgeInsets.only(left: 2.w),
|
padding: EdgeInsets.only(left: 2.w),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: type == 1 ? const Color(0xFF4CC793) : const Color
|
color: type == 1 ? const Color(0xFFB2DA93) : const Color(0xFFEF8714),
|
||||||
.fromRGBO(255, 175, 56, 1),
|
|
||||||
borderRadius: BorderRadius.only(
|
borderRadius: BorderRadius.only(
|
||||||
topLeft: Radius.circular(14.r),
|
topLeft: Radius.circular(6.r),
|
||||||
topRight: Radius.circular(3.r),
|
topRight: Radius.circular(0.r),
|
||||||
bottomLeft: Radius.circular(4.r),
|
bottomLeft: Radius.circular(0.r),
|
||||||
bottomRight: Radius.circular(4.r),
|
bottomRight: Radius.circular(12.r),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
margin: EdgeInsets.only(top: 3.h, right: 4.w),
|
margin: EdgeInsets.only(top:0.h,right: 4.w),
|
||||||
child: quickText(type == 1 ? '作业' : '考试', color: Colors.white,
|
child: quickText(type == 1 ? '作业' : '考试', color: Colors.white, size: 10.sp),
|
||||||
size: 10.sp),
|
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: quickText(jobTaskItem.name, size: 14.sp,
|
child: quickText(jobTaskItem.name, size: 14.sp, color: const Color.fromRGBO(70, 70, 70, 1), maxLines: 2),
|
||||||
color: const Color.fromRGBO(70, 70, 70, 1),
|
|
||||||
maxLines: 2),
|
|
||||||
),
|
),
|
||||||
if (jobTaskItem.isFixed!)
|
if (jobTaskItem.isFixed!)
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(top: 3.r),
|
padding: EdgeInsets.only(top: 3.r),
|
||||||
child: Text(
|
child: Text(
|
||||||
'已订正',
|
'已订正',
|
||||||
style: TextStyle(
|
style: TextStyle(fontSize: 10.sp, color: const Color(0xFFF16262)),
|
||||||
fontSize: 10.sp, color: const Color(0xFFF16262)),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
|
|
||||||
Padding(
|
Padding(
|
||||||
padding: padEdg,
|
padding: padEdg,
|
||||||
|
|
@ -373,31 +327,26 @@ Widget $reviewedItem({
|
||||||
crossAxisAlignment: CrossAxisAlignment.end,
|
crossAxisAlignment: CrossAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
quickText(
|
quickText(
|
||||||
DateTime.parse(jobTaskItem.publishTime).toString().substring(
|
DateTime.parse(jobTaskItem.publishTime).toString().substring(0, 10),
|
||||||
0, 10),
|
|
||||||
color: const Color.fromRGBO(97, 97, 97, 1),
|
color: const Color.fromRGBO(97, 97, 97, 1),
|
||||||
size: 10.sp,
|
size: 10.sp,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
),
|
),
|
||||||
quickText(' / ', color: const Color.fromRGBO(76, 199, 147, 1),
|
quickText(' / ', color: const Color(0xFF8C68FF), size: 10.sp, fontWeight: FontWeight.w500),
|
||||||
size: 10.sp,
|
|
||||||
fontWeight: FontWeight.w500),
|
|
||||||
quickText(
|
quickText(
|
||||||
'参与班级:',
|
'参与班级:',
|
||||||
color: const Color.fromRGBO(76, 199, 147, 1),
|
color: const Color(0xFF8C68FF),
|
||||||
size: 9.sp,
|
size: 9.sp,
|
||||||
),
|
),
|
||||||
quickText(
|
quickText(
|
||||||
'${jobTaskItem.classCount}',
|
'${jobTaskItem.classCount}',
|
||||||
color: const Color.fromRGBO(76, 199, 147, 1),
|
color: const Color(0xFF8C68FF),
|
||||||
size: 10.sp,
|
size: 10.sp,
|
||||||
),
|
),
|
||||||
quickText(' / ', color: const Color.fromRGBO(116, 145, 253, 1),
|
quickText(' / ', color: const Color(0xFF8C68FF), size: 10.sp, fontWeight: FontWeight.w500),
|
||||||
size: 10.sp,
|
|
||||||
fontWeight: FontWeight.w500),
|
|
||||||
quickText(
|
quickText(
|
||||||
'科目:$subjectName',
|
'科目:$subjectName',
|
||||||
color: const Color.fromRGBO(116, 145, 253, 1),
|
color: const Color(0xFF8C68FF),
|
||||||
size: 9.sp,
|
size: 9.sp,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
@ -414,8 +363,7 @@ Widget $reviewedItem({
|
||||||
Container(
|
Container(
|
||||||
padding: EdgeInsets.symmetric(vertical: 6.h),
|
padding: EdgeInsets.symmetric(vertical: 6.h),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.only(bottomLeft: Radius.circular(6.r),
|
borderRadius: BorderRadius.only(bottomLeft: Radius.circular(6.r), bottomRight: Radius.circular(6.r)),
|
||||||
bottomRight: Radius.circular(6.r)),
|
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
boxShadow: const [
|
boxShadow: const [
|
||||||
BoxShadow(
|
BoxShadow(
|
||||||
|
|
@ -427,7 +375,7 @@ Widget $reviewedItem({
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
child: Row(children: [
|
child: Row(children: [
|
||||||
if (!jobTaskItem.isFixed!)
|
/*if (!jobTaskItem.isFixed!)
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 1,
|
flex: 1,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
|
|
@ -441,31 +389,23 @@ Widget $reviewedItem({
|
||||||
child: Container(
|
child: Container(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
border: Border(right: BorderSide(
|
border: Border(right: BorderSide(width: 1.r, color: const Color(0xFFDCDCDC))),
|
||||||
width: 1.r, color: const Color(0xFFDCDCDC))),
|
|
||||||
),
|
|
||||||
child: quickText(
|
|
||||||
'收集订正', color: const Color(0xFF4CC793), size: 11.sp),
|
|
||||||
),
|
),
|
||||||
|
child: quickText('收集订正', color: const Color(0xFF8C68FF), size: 11.sp),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),*/
|
||||||
Expanded(
|
Expanded(
|
||||||
flex: 1,
|
flex: 1,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
behavior: HitTestBehavior.opaque,
|
behavior: HitTestBehavior.opaque,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Get.toNamed(Routes.jobReportPage,
|
Get.toNamed(Routes.jobReportPage,
|
||||||
arguments: {
|
arguments: {'title': jobTaskItem.name, 'homeworkId': jobTaskItem.id, 'grade': jobTaskItem.grade});
|
||||||
'title': jobTaskItem.name,
|
|
||||||
'homeworkId': jobTaskItem.id,
|
|
||||||
'grade': jobTaskItem.grade
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: quickText(
|
child: quickText('查看报告', color: const Color.fromRGBO(118, 118, 118, 1), size: 11.sp),
|
||||||
'查看报告', color: const Color.fromRGBO(118, 118, 118, 1),
|
|
||||||
size: 11.sp),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -70,14 +70,14 @@ class _JobConditionFilterState extends State<JobConditionFilter> {
|
||||||
customTimeStr: widget.customTimeStr,
|
customTimeStr: widget.customTimeStr,
|
||||||
hasAll: widget.hasAll,
|
hasAll: widget.hasAll,
|
||||||
onTap: (int val) async {
|
onTap: (int val) async {
|
||||||
if (val == 3 && widget.hasAll == true) {
|
if (val == 0 && widget.hasAll == true) {
|
||||||
widget.onTimeFilter(null, null);
|
widget.onTimeFilter(null, null);
|
||||||
} else if ((val == 0 && widget.hasAll == true) || (val == 0 && widget.hasAll == false)) {
|
} else if ((val == 1 && widget.hasAll == true) || (val == 0 && widget.hasAll == false)) {
|
||||||
widget.onTimeFilter(
|
widget.onTimeFilter(
|
||||||
Utils.getWeekStartDate().toString().substring(0, 10),
|
Utils.getWeekStartDate().toString().substring(0, 10),
|
||||||
Utils.getWeekEndDate().toString().substring(0, 10),
|
Utils.getWeekEndDate().toString().substring(0, 10),
|
||||||
);
|
);
|
||||||
} else if ((val == 1 && widget.hasAll == true) || (val == 1 && widget.hasAll == false)) {
|
} else if ((val == 2 && widget.hasAll == true) || (val == 1 && widget.hasAll == false)) {
|
||||||
widget.onTimeFilter(
|
widget.onTimeFilter(
|
||||||
getMonthStartDate().toString().substring(0, 10),
|
getMonthStartDate().toString().substring(0, 10),
|
||||||
getMonthEndDate().toString().substring(0, 10),
|
getMonthEndDate().toString().substring(0, 10),
|
||||||
|
|
|
||||||
|
|
@ -33,10 +33,10 @@ class _PersonalDetailTopBarState extends State<PersonalDetailTopBar> {
|
||||||
labelStyle: TextStyle(
|
labelStyle: TextStyle(
|
||||||
fontSize: 12.sp,
|
fontSize: 12.sp,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
color: const Color(0xFF4CC793),
|
color: const Color(0xFF8C68FF),
|
||||||
),
|
),
|
||||||
isScrollable: true,
|
isScrollable: true,
|
||||||
labelColor: const Color(0xFF4CC793),
|
labelColor:const Color(0xFF8C68FF),
|
||||||
unselectedLabelColor: const Color(0xFF505E6E),
|
unselectedLabelColor: const Color(0xFF505E6E),
|
||||||
padding: EdgeInsets.symmetric(horizontal: 14.r),
|
padding: EdgeInsets.symmetric(horizontal: 14.r),
|
||||||
// indicatorSize: TabBarIndicatorSize.label, // 设置指示器高度和标签一样高
|
// indicatorSize: TabBarIndicatorSize.label, // 设置指示器高度和标签一样高
|
||||||
|
|
@ -44,15 +44,15 @@ class _PersonalDetailTopBarState extends State<PersonalDetailTopBar> {
|
||||||
indicator: UnderlineTabIndicator(
|
indicator: UnderlineTabIndicator(
|
||||||
borderSide: BorderSide(
|
borderSide: BorderSide(
|
||||||
width: 2.r,
|
width: 2.r,
|
||||||
color:const Color(0xFF4CC793)
|
color:const Color(0xFF8C68FF)
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
tabs: <Widget>[
|
tabs: <Widget>[
|
||||||
|
if(widget.hasAll == true)
|
||||||
|
const Tab(text: '全部'),
|
||||||
const Tab(text: '近一周'),
|
const Tab(text: '近一周'),
|
||||||
const Tab(text: '近一月'),
|
const Tab(text: '近一月'),
|
||||||
Tab(text: widget.customTimeStr),
|
Tab(text: widget.customTimeStr),
|
||||||
if(widget.hasAll == true)
|
|
||||||
const Tab(text: '全部'),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue