From 869213c1e18a3c76b02728afbcb03ed7ec23f383 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Thu, 4 Feb 2021 19:35:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=9D=E9=A2=98=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../community_views/event_detail_page.dart | 18 ++++++++++++++++++ .../community_views/widgets/chat_card.dart | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 lib/ui/community/community_views/event_detail_page.dart diff --git a/lib/ui/community/community_views/event_detail_page.dart b/lib/ui/community/community_views/event_detail_page.dart new file mode 100644 index 00000000..bafc1b5e --- /dev/null +++ b/lib/ui/community/community_views/event_detail_page.dart @@ -0,0 +1,18 @@ +import 'package:akuCommunity/widget/bee_scaffold.dart'; +import 'package:flutter/material.dart'; + +class EventDetailPage extends StatefulWidget { + EventDetailPage({Key key}) : super(key: key); + + @override + _EventDetailPageState createState() => _EventDetailPageState(); +} + +class _EventDetailPageState extends State { + @override + Widget build(BuildContext context) { + return BeeScaffold( + title: '详情', + ); + } +} diff --git a/lib/ui/community/community_views/widgets/chat_card.dart b/lib/ui/community/community_views/widgets/chat_card.dart index 200f7ebe..be5c8cd2 100644 --- a/lib/ui/community/community_views/widgets/chat_card.dart +++ b/lib/ui/community/community_views/widgets/chat_card.dart @@ -2,6 +2,7 @@ import 'package:akuCommunity/base/base_style.dart'; import 'package:akuCommunity/constants/api.dart'; import 'package:akuCommunity/model/common/img_model.dart'; import 'package:akuCommunity/provider/user_provider.dart'; +import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart'; import 'package:akuCommunity/utils/bee_date_util.dart'; import 'package:akuCommunity/utils/headers.dart'; import 'package:akuCommunity/utils/network/base_model.dart'; @@ -216,7 +217,7 @@ class _ChatCardState extends State { child: MaterialButton( padding: EdgeInsets.zero, onPressed: () { - //TODO go to chat detail page. + Get.to(EventDetailPage()); }, child: Row( crossAxisAlignment: CrossAxisAlignment.start,