Commit d0b76bd5 authored by 杜欣's avatar 杜欣

ui update

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