楼主字体对齐

pull/1/head
张萌 3 years ago
parent cbfba39946
commit 1045988529

@ -141,6 +141,7 @@ class _EventDetailPageState extends State<EventDetailPage> {
body: EasyRefresh.custom(
controller: _refreshController,
header: MaterialHeader(),
footer: MaterialFooter(),
firstRefresh: true,
onRefresh: () async {
BaseModel model = await NetUtil().get(
@ -493,6 +494,7 @@ class _EventDetailPageState extends State<EventDetailPage> {
style: TextStyle(
color: Colors.white,
fontSize: 24.sp,
height: 1.2,
fontWeight: FontWeight.bold),
),
)),
@ -567,7 +569,6 @@ class _EventDetailPageState extends State<EventDetailPage> {
color: kPrimaryColor,
minWidth: 120.w,
height: 55.w,
onPressed: () async {
var res = await NetUtil()
.post(SAASAPI.community.commentInsert, params: params);
@ -594,7 +595,6 @@ class _EventDetailPageState extends State<EventDetailPage> {
),
)
],
)
);
));
}
}

@ -132,7 +132,7 @@ class _ChatCardState extends State<ChatCard> {
: kPrimaryColor,
),
5.wb,
'${widget.model.likes}'
'${_likeNum}'
.text
.size(24.sp)
.color(Color(0xFF999999))
@ -282,9 +282,15 @@ class _ChatCardState extends State<ChatCard> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
32.hb,
if (!widget.model.content!.isEmptyOrNull)
widget.model.content!.text.size(32.sp).black.make(),
32.hb,
Offstage(
offstage: widget.model.content.isEmptyOrNull,
child: Column(
children: [
widget.model.content!.text.size(32.sp).black.make(),
32.hb,
],
),
),
_renderImage(),
widget.model.topicTags.isEmpty
? SizedBox()

Loading…
Cancel
Save