Commit 16589587 authored by 林生雨's avatar 林生雨

w

parent c848772d
...@@ -538,6 +538,8 @@ class LevelOneItem extends StatelessWidget { ...@@ -538,6 +538,8 @@ class LevelOneItem extends StatelessWidget {
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
child: AspectRatio(
aspectRatio: 1,
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(4), borderRadius: BorderRadius.circular(4),
...@@ -560,11 +562,13 @@ class LevelOneItem extends StatelessWidget { ...@@ -560,11 +562,13 @@ class LevelOneItem extends StatelessWidget {
cards.diary.images[0].desc, 11, Colors.white), cards.diary.images[0].desc, 11, Colors.white),
), ),
), ),
), )),
Container( Container(
width: 9, width: 9,
), ),
Expanded( Expanded(
child: AspectRatio(
aspectRatio: 1,
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(4), borderRadius: BorderRadius.circular(4),
...@@ -587,7 +591,7 @@ class LevelOneItem extends StatelessWidget { ...@@ -587,7 +591,7 @@ class LevelOneItem extends StatelessWidget {
cards.diary.images[1].desc, 11, Colors.white), cards.diary.images[1].desc, 11, Colors.white),
), ),
), ),
) ))
], ],
)), )),
cards.diary.content != null && cards.diary.content.isNotEmpty cards.diary.content != null && cards.diary.content.isNotEmpty
......
...@@ -283,7 +283,7 @@ class LevelOneState extends BaseState<LevelOnePage> ...@@ -283,7 +283,7 @@ class LevelOneState extends BaseState<LevelOnePage>
return Container( return Container(
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
height: 54, height: 54,
margin: EdgeInsets.only(top: 4, bottom: 12), margin: EdgeInsets.only(top: 2, bottom: 12),
child: Stack( child: Stack(
children: <Widget>[ children: <Widget>[
Positioned( Positioned(
......
...@@ -474,8 +474,8 @@ class NestedScrollViewRefreshIndicatorState ...@@ -474,8 +474,8 @@ class NestedScrollViewRefreshIndicatorState
child: AnimatedBuilder( child: AnimatedBuilder(
animation: _positionController, animation: _positionController,
builder: (BuildContext context, Widget child) { builder: (BuildContext context, Widget child) {
return SizedBox( return Container(
height: 80, height: 120,
// child: ClipRRect( // child: ClipRRect(
// borderRadius: // borderRadius:
// BorderRadius.only(bottomRight: Radius.circular(40)), // BorderRadius.only(bottomRight: Radius.circular(40)),
...@@ -483,7 +483,7 @@ class NestedScrollViewRefreshIndicatorState ...@@ -483,7 +483,7 @@ class NestedScrollViewRefreshIndicatorState
// repeat: true, reverse: false, fit: BoxFit.cover), // repeat: true, reverse: false, fit: BoxFit.cover),
// ), // ),
child: ImagesAnimation( child: ImagesAnimation(
h: 80, h: 120,
durationSeconds: 1500, durationSeconds: 1500,
entry: ImagesAnimationEntry( entry: ImagesAnimationEntry(
1, 16, "assets/ptr_header_loading")) 1, 16, "assets/ptr_header_loading"))
......
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