Commit d77ee87c authored by 杜欣's avatar 杜欣

样式修改

parent ed947605
...@@ -77,8 +77,11 @@ class _MessagePageState extends BasePage<MessagePage> { ...@@ -77,8 +77,11 @@ class _MessagePageState extends BasePage<MessagePage> {
ScreenUtil.instance = ScreenUtil(width: 375, height: 667)..init(context); ScreenUtil.instance = ScreenUtil(width: 375, height: 667)..init(context);
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
leading: baseText( leading: Container(
"消息", ScreenUtil.instance.setSp(20.0), ALColors.Color323232), margin: EdgeInsets.only(left: ScreenUtil.instance.setWidth(16), top: ScreenUtil.instance.setHeight(16)),
child: messageTitle('消息'),
),
elevation: 0,
), ),
body: SmartRefresher( body: SmartRefresher(
enablePullDown: false, enablePullDown: false,
......
...@@ -27,6 +27,7 @@ Widget messageTop(imgUrl, title, content, count) { ...@@ -27,6 +27,7 @@ Widget messageTop(imgUrl, title, content, count) {
margin: EdgeInsets.only( margin: EdgeInsets.only(
left: ScreenUtil.instance.setWidth(4)), left: ScreenUtil.instance.setWidth(4)),
width: double.infinity, width: double.infinity,
height: ScreenUtil.instance.setHeight(50),
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Hero( Hero(
...@@ -60,7 +61,7 @@ Widget messageTop(imgUrl, title, content, count) { ...@@ -60,7 +61,7 @@ Widget messageTop(imgUrl, title, content, count) {
getNum(count), getNum(count),
Positioned( Positioned(
right: ScreenUtil.instance.setWidth(14), right: ScreenUtil.instance.setWidth(14),
top: ScreenUtil.instance.setHeight(20), top: ScreenUtil.instance.setHeight(18),
child: Hero( child: Hero(
tag: "arrow_right", tag: "arrow_right",
child: SvgPicture.asset( child: SvgPicture.asset(
...@@ -76,7 +77,7 @@ Widget getNum([int count]) { ...@@ -76,7 +77,7 @@ Widget getNum([int count]) {
if (count > 0) { if (count > 0) {
return Positioned( return Positioned(
right: ScreenUtil.instance.setWidth(30), right: ScreenUtil.instance.setWidth(30),
top: ScreenUtil.instance.setHeight(20), top: ScreenUtil.instance.setHeight(18),
child: Container( child: Container(
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: ScreenUtil.instance.setHeight(2), 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