Commit 1f47a0dd authored by 朱翠翠's avatar 朱翠翠

Merge branch 'test' of http://git.wanmeizhensuo.com/linshengyu/gm_flutter into zcc/flutter

parents 3ca56a4b b8a9aaee
...@@ -52,8 +52,8 @@ class _PopView implements ICenterPicker { ...@@ -52,8 +52,8 @@ class _PopView implements ICenterPicker {
child: Container( child: Container(
width: contentWidth, width: contentWidth,
height: _model.popViewLive.data.second.title.length > 13 height: _model.popViewLive.data.second.title.length > 13
? 367.5 ? 377.5
: 310.5, : 325.5,
child: Stack( child: Stack(
alignment: AlignmentDirectional.topCenter, alignment: AlignmentDirectional.topCenter,
children: <Widget>[ children: <Widget>[
......
...@@ -588,7 +588,7 @@ class LevelOneItem extends StatelessWidget { ...@@ -588,7 +588,7 @@ class LevelOneItem extends StatelessWidget {
], ],
)), )),
Container( Container(
margin: EdgeInsets.only(top: 12.5, bottom: 12), margin: EdgeInsets.only(top: 7.5, bottom: 4),
child: Text( child: Text(
cards.diary.content, cards.diary.content,
textScaleFactor: 1.0, textScaleFactor: 1.0,
...@@ -605,7 +605,7 @@ class LevelOneItem extends StatelessWidget { ...@@ -605,7 +605,7 @@ class LevelOneItem extends StatelessWidget {
), ),
baseText("项目${cards.diary.title}", 13, Color(0xff999999)), baseText("项目${cards.diary.title}", 13, Color(0xff999999)),
Container( Container(
margin: EdgeInsets.only(top: 12, bottom: 16), margin: EdgeInsets.only(top: 9, bottom: 16),
height: 14, height: 14,
child: Row( child: Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
......
...@@ -246,7 +246,9 @@ class LevelTwoState extends BaseState<LevelTwoPage> ...@@ -246,7 +246,9 @@ class LevelTwoState extends BaseState<LevelTwoPage>
), ),
]; ];
}, },
body: TabBarView(controller: tabController, children: list)); body: Container(
color: Color(0xffF7F6FA),
child: TabBarView(controller: tabController, children: list)));
} }
List<Widget> getTabs() { List<Widget> getTabs() {
......
...@@ -65,7 +65,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin { ...@@ -65,7 +65,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
@override @override
void initState() { void initState() {
if (RouterCenterImpl().findMainRouter().isWithNative() && if (RouterCenterImpl().findMainRouter().isWithNative() &&
CacheManager.getInstance().get(MEMORY_CACHE).get(BASE_URL).empty()) { CacheManager.getInstance().get(MEMORY_CACHE).get(BASE_URL) == null) {
func = (str) { func = (str) {
if (str == "init") { if (str == "init") {
_model.init(needCache: true); _model.init(needCache: true);
...@@ -447,7 +447,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin { ...@@ -447,7 +447,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
// Expanded( // Expanded(
// child: // child:
AspectRatio( AspectRatio(
aspectRatio: 335/180, aspectRatio: 335 / 180,
child: StreamBuilder<List<Ranks>>( child: StreamBuilder<List<Ranks>>(
stream: _model.picLive.stream, stream: _model.picLive.stream,
initialData: _model.picLive.data ?? null, initialData: _model.picLive.data ?? null,
...@@ -484,7 +484,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin { ...@@ -484,7 +484,7 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
// Expanded( // Expanded(
// child: // child:
AspectRatio( AspectRatio(
aspectRatio: 335/180, aspectRatio: 335 / 180,
child: StreamBuilder<List<Ranks>>( child: StreamBuilder<List<Ranks>>(
stream: _model.picLive.stream, stream: _model.picLive.stream,
initialData: _model.picLive.data ?? null, initialData: _model.picLive.data ?? null,
......
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