Commit f86da3ee authored by 朱璇's avatar 朱璇

Merge branch 'zx/gmFlutter' into 'test'

UI走查

See merge request !67
parents 6ef55888 f3499dc0
...@@ -479,6 +479,7 @@ class LevelOneItem extends StatelessWidget { ...@@ -479,6 +479,7 @@ class LevelOneItem extends StatelessWidget {
} }
Widget DiaryItem(BuildContext context) { Widget DiaryItem(BuildContext context) {
double diaryImageWidth = (MediaQuery.of(context).size.width - 9 - 40) / 2;
if (cards.diary == null && !inProduction) { if (cards.diary == null && !inProduction) {
throw new Exception(); throw new Exception();
} }
...@@ -534,7 +535,7 @@ class LevelOneItem extends StatelessWidget { ...@@ -534,7 +535,7 @@ class LevelOneItem extends StatelessWidget {
) )
: Container( : Container(
margin: EdgeInsets.only(top: 12), margin: EdgeInsets.only(top: 12),
height: 163, height: diaryImageWidth,
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
......
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