Merge branch 'master' of http://192.168.2.201:8099/zhangmeng/aku_community_manager
* 'master' of http://192.168.2.201:8099/zhangmeng/aku_community_manager: 图片更新 公告详情页hmxc
commit
a81a65c686
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 6.2 KiB |
@ -0,0 +1,65 @@
|
|||||||
|
|
||||||
|
import 'package:aku_community_manager/style/app_style.dart';
|
||||||
|
import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||||
|
|
||||||
|
class AnouncementDetails extends StatelessWidget {
|
||||||
|
final String title;
|
||||||
|
final String date;
|
||||||
|
final String body;
|
||||||
|
const AnouncementDetails({
|
||||||
|
Key key,
|
||||||
|
@required this.title,
|
||||||
|
@required this.date,
|
||||||
|
@required this.body,
|
||||||
|
}) : super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return AkuScaffold(
|
||||||
|
title: '活动详情',
|
||||||
|
body: Container(
|
||||||
|
color: Color(0xFFFFFFFF),
|
||||||
|
padding: EdgeInsets.only(top: 24.w, left: 33.w, right: 33.w),
|
||||||
|
width: double.infinity,
|
||||||
|
height: double.infinity,
|
||||||
|
child: Column(mainAxisAlignment: MainAxisAlignment.start,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
title,
|
||||||
|
style: AppStyle().barTitleStyle,
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 16.w,
|
||||||
|
),
|
||||||
|
Text(body,
|
||||||
|
style:
|
||||||
|
TextStyle(color: AppStyle.primaryTextColor, fontSize: 28.sp)),
|
||||||
|
SizedBox(
|
||||||
|
height: 120.w,
|
||||||
|
),
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
Spacer(),
|
||||||
|
Column(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text('深圳永成物业有限公司', style: AppStyle().primaryStyle),
|
||||||
|
SizedBox(
|
||||||
|
height: 4.w,
|
||||||
|
),
|
||||||
|
Text(date, style: AppStyle().primaryStyle),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
width: 56.w - 31.w,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue