|
|
@ -29,9 +29,17 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
TextStyle _textStyle =
|
|
|
|
TextStyle _textStyle =
|
|
|
|
TextStyle(color: AppStyle.minorTextColor, fontSize: 28.sp);
|
|
|
|
TextStyle(color: AppStyle.minorTextColor, fontSize: 28.sp);
|
|
|
|
return Container(
|
|
|
|
return GestureDetector(
|
|
|
|
|
|
|
|
onTap: () async {
|
|
|
|
|
|
|
|
await Get.to(ItemsOutdoorDetailsPage(id: widget.model.id));
|
|
|
|
|
|
|
|
if (widget.callRefresh != null) {
|
|
|
|
|
|
|
|
widget.callRefresh();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
color: Color(0xFFFFFFFF),
|
|
|
|
color: Color(0xFFFFFFFF),
|
|
|
|
margin: widget.homeDisplay ? EdgeInsets.zero : EdgeInsets.only(top: 16.w),
|
|
|
|
margin:
|
|
|
|
|
|
|
|
widget.homeDisplay ? EdgeInsets.zero : EdgeInsets.only(top: 16.w),
|
|
|
|
padding: EdgeInsets.only(left: 24.w, right: 24.w),
|
|
|
|
padding: EdgeInsets.only(left: 24.w, right: 24.w),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
@ -223,7 +231,10 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
|
|
|
|
gradient: LinearGradient(
|
|
|
|
gradient: LinearGradient(
|
|
|
|
begin: Alignment.topLeft,
|
|
|
|
begin: Alignment.topLeft,
|
|
|
|
end: Alignment.bottomRight,
|
|
|
|
end: Alignment.bottomRight,
|
|
|
|
colors: [AppStyle.primaryColor, AppStyle.minorColor])),
|
|
|
|
colors: [
|
|
|
|
|
|
|
|
AppStyle.primaryColor,
|
|
|
|
|
|
|
|
AppStyle.minorColor
|
|
|
|
|
|
|
|
])),
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
'查看详情',
|
|
|
|
'查看详情',
|
|
|
|
style: AppStyle().primaryStyle,
|
|
|
|
style: AppStyle().primaryStyle,
|
|
|
@ -233,6 +244,7 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|