|
|
|
@ -29,9 +29,17 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
TextStyle _textStyle =
|
|
|
|
|
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),
|
|
|
|
|
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),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
@ -223,7 +231,10 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
|
|
|
|
|
gradient: LinearGradient(
|
|
|
|
|
begin: Alignment.topLeft,
|
|
|
|
|
end: Alignment.bottomRight,
|
|
|
|
|
colors: [AppStyle.primaryColor, AppStyle.minorColor])),
|
|
|
|
|
colors: [
|
|
|
|
|
AppStyle.primaryColor,
|
|
|
|
|
AppStyle.minorColor
|
|
|
|
|
])),
|
|
|
|
|
child: Text(
|
|
|
|
|
'查看详情',
|
|
|
|
|
style: AppStyle().primaryStyle,
|
|
|
|
@ -233,6 +244,7 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|