Commit d0b76bd5 authored by 杜欣's avatar 杜欣

ui update

parent 41df06b8
......@@ -274,7 +274,7 @@ class TopCard extends StatelessWidget {
children: <Widget>[
Container(
height: ScreenUtil().setHeight(15),
padding: EdgeInsets.only(
margin: EdgeInsets.only(
left: ScreenUtil().setWidth(8),
top: ScreenUtil().setHeight(4)),
child: Text('你的氪金量超过了',
......@@ -311,7 +311,7 @@ class TopCard extends StatelessWidget {
children: <Widget>[
Container(
height: ScreenUtil().setHeight(15),
padding: EdgeInsets.only(
margin: EdgeInsets.only(
top: ScreenUtil().setHeight(4),
left: ScreenUtil().setWidth(8)),
child: Text('你的氪金排名为全国',
......@@ -353,8 +353,9 @@ class PictorialCard extends StatelessWidget {
PictorialCard({Key key, this.pictorialList, this.id}) : super(key: key);
Widget _gridViewItemUI(BuildContext context, item) {
return Container(
padding: EdgeInsets.only(right: 3, bottom: 3, left: 3),
return Container(
margin: EdgeInsets.only(bottom: ScreenUtil().setHeight(3)),
child: CachedNetworkImage(
imageUrl: '${item.image}',
width: ScreenUtil().setWidth(110),
......@@ -375,9 +376,12 @@ class PictorialCard extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: EdgeInsets.only(bottom: 11.0),
child: Wrap(children: list),
Container(
width: ScreenUtil().setWidth(343),
padding: EdgeInsets.only(bottom: ScreenUtil().setHeight(11.0)),
child: Wrap(
spacing: 6,
children: list),
),
Container(
width: ScreenUtil().setWidth(343),
......@@ -390,7 +394,7 @@ class PictorialCard extends StatelessWidget {
Stack(
children: <Widget>[
Container(
padding: EdgeInsets.only(right: 12),
padding: EdgeInsets.only(right: ScreenUtil().setWidth(12)),
child: Text(
'${item.guide}',
style: TextStyle(
......
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