|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
import 'package:akuCommunity/pages/message_center_page/system_message_page/system_details_page/system_details_page.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
import 'package:flutter_icons/flutter_icons.dart';
|
|
|
|
|
import 'package:pull_to_refresh/pull_to_refresh.dart';
|
|
|
|
|
import 'package:akuCommunity/utils/screenutil.dart';
|
|
|
|
|
import 'package:akuCommunity/utils/headers.dart';
|
|
|
|
|
import 'package:akuCommunity/routers/page_routers.dart';
|
|
|
|
|
import 'package:akuCommunity/widget/common_app_bar.dart';
|
|
|
|
|
|
|
|
|
@ -35,13 +36,6 @@ class _SystemMessagePageState extends State<SystemMessagePage> {
|
|
|
|
|
super.initState();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void noteCreateRouter() {
|
|
|
|
|
// Navigator.pushNamed(
|
|
|
|
|
// context,
|
|
|
|
|
// PageName.note_create_page.toString(),
|
|
|
|
|
// );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void _onRefresh() async {
|
|
|
|
|
await Future.delayed(Duration(milliseconds: 1500));
|
|
|
|
|
|
|
|
|
@ -64,17 +58,17 @@ class _SystemMessagePageState extends State<SystemMessagePage> {
|
|
|
|
|
InkWell _inkWellLook(String type, String content) {
|
|
|
|
|
return InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.pushNamed(context, PageName.system_details_page.toString(),
|
|
|
|
|
arguments: Bundle()
|
|
|
|
|
..putMap('detailsMap', {'type': type, 'content': content}));
|
|
|
|
|
SystemDetailsPage(
|
|
|
|
|
bundle: Bundle()
|
|
|
|
|
..putMap('detailsMap', {'type': type, 'content': content}),
|
|
|
|
|
).to;
|
|
|
|
|
},
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
'查看详情',
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 28.sp, color: Color(0xff333333)),
|
|
|
|
|
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
|
|
|
|
|
),
|
|
|
|
|
Icon(AntDesign.right, size: 40.sp),
|
|
|
|
|
],
|
|
|
|
@ -89,11 +83,8 @@ class _SystemMessagePageState extends State<SystemMessagePage> {
|
|
|
|
|
left: 32.w,
|
|
|
|
|
right: 32.w,
|
|
|
|
|
),
|
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
|
top: 21.w,
|
|
|
|
|
bottom: 14.w,
|
|
|
|
|
left: 30.w,
|
|
|
|
|
right: 20.w),
|
|
|
|
|
padding:
|
|
|
|
|
EdgeInsets.only(top: 21.w, bottom: 14.w, left: 30.w, right: 20.w),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Color(0xffffffff),
|
|
|
|
|
borderRadius: BorderRadius.all(Radius.circular(4)),
|
|
|
|
@ -124,25 +115,22 @@ class _SystemMessagePageState extends State<SystemMessagePage> {
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
status,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 32.sp,
|
|
|
|
|
color: Color(0xff999999)),
|
|
|
|
|
style:
|
|
|
|
|
TextStyle(fontSize: 32.sp, color: Color(0xff999999)),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height: 5.w),
|
|
|
|
|
Text(
|
|
|
|
|
type,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 28.sp, color: Color(0xff333333)),
|
|
|
|
|
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height: 8.w),
|
|
|
|
|
Text(
|
|
|
|
|
'驳回理由:$content',
|
|
|
|
|
maxLines: 1,
|
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 28.sp, color: Color(0xff333333)),
|
|
|
|
|
style: TextStyle(fontSize: 28.sp, color: Color(0xff333333)),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|