Commit d77ee87c authored by 杜欣's avatar 杜欣

样式修改

parent ed947605
......@@ -77,8 +77,11 @@ class _MessagePageState extends BasePage<MessagePage> {
ScreenUtil.instance = ScreenUtil(width: 375, height: 667)..init(context);
return Scaffold(
appBar: AppBar(
leading: baseText(
"消息", ScreenUtil.instance.setSp(20.0), ALColors.Color323232),
leading: Container(
margin: EdgeInsets.only(left: ScreenUtil.instance.setWidth(16), top: ScreenUtil.instance.setHeight(16)),
child: messageTitle('消息'),
),
elevation: 0,
),
body: SmartRefresher(
enablePullDown: false,
......
......@@ -27,6 +27,7 @@ Widget messageTop(imgUrl, title, content, count) {
margin: EdgeInsets.only(
left: ScreenUtil.instance.setWidth(4)),
width: double.infinity,
height: ScreenUtil.instance.setHeight(50),
child: Row(
children: <Widget>[
Hero(
......@@ -60,7 +61,7 @@ Widget messageTop(imgUrl, title, content, count) {
getNum(count),
Positioned(
right: ScreenUtil.instance.setWidth(14),
top: ScreenUtil.instance.setHeight(20),
top: ScreenUtil.instance.setHeight(18),
child: Hero(
tag: "arrow_right",
child: SvgPicture.asset(
......@@ -76,7 +77,7 @@ Widget getNum([int count]) {
if (count > 0) {
return Positioned(
right: ScreenUtil.instance.setWidth(30),
top: ScreenUtil.instance.setHeight(20),
top: ScreenUtil.instance.setHeight(18),
child: Container(
padding: EdgeInsets.only(
top: ScreenUtil.instance.setHeight(2),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment