|
|
@@ -16,12 +16,9 @@ import 'package:flutter/material.dart';
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
|
|
import 'package:get/get.dart';
|
|
|
-
|
|
|
import '../../data/bean/agenda.dart';
|
|
|
import '../../router/app_pages.dart';
|
|
|
-import '../agenda/detail/view.dart';
|
|
|
import '../agenda/task_item_view.dart';
|
|
|
-import '../talk/view.dart';
|
|
|
import 'controller.dart';
|
|
|
|
|
|
class HomePage extends BasePage<HomePageController> {
|
|
|
@@ -388,7 +385,7 @@ class HomePage extends BasePage<HomePageController> {
|
|
|
Agenda item = controller.agendaList[index];
|
|
|
return GestureDetector(
|
|
|
onTap: () {
|
|
|
- AgendaDetailPage.start(item);
|
|
|
+ controller.onAgendaItemClick(item);
|
|
|
},
|
|
|
child: taskItemView(
|
|
|
item,
|