Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
gm_flutter
Commits
1f47a0dd
Commit
1f47a0dd
authored
Jul 13, 2020
by
朱翠翠
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://git.wanmeizhensuo.com/linshengyu/gm_flutter
into zcc/flutter
parents
3ca56a4b
b8a9aaee
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
59 deletions
+61
-59
DiscussLowPricePopView.dart
...lueModel/page/DiscussLowPrice/DiscussLowPricePopView.dart
+2
-2
LevelOneItem.dart
lib/ClueModel/page/levelOne/LevelOneItem.dart
+2
-2
LevelTwoPage.dart
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
+3
-1
PlanPage.dart
lib/ClueModel/page/plan/PlanPage.dart
+54
-54
No files found.
lib/ClueModel/page/DiscussLowPrice/DiscussLowPricePopView.dart
View file @
1f47a0dd
...
@@ -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
?
3
6
7.5
?
3
7
7.5
:
3
10
.5
,
:
3
25
.5
,
child:
Stack
(
child:
Stack
(
alignment:
AlignmentDirectional
.
topCenter
,
alignment:
AlignmentDirectional
.
topCenter
,
children:
<
Widget
>[
children:
<
Widget
>[
...
...
lib/ClueModel/page/levelOne/LevelOneItem.dart
View file @
1f47a0dd
...
@@ -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
,
...
...
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
View file @
1f47a0dd
...
@@ -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
()
{
...
...
lib/ClueModel/page/plan/PlanPage.dart
View file @
1f47a0dd
...
@@ -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
);
...
@@ -446,70 +446,70 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
...
@@ -446,70 +446,70 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
children:
<
Widget
>[
children:
<
Widget
>[
// 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
,
builder:
(
c
,
data
)
{
builder:
(
c
,
data
)
{
return
ClipRRect
(
return
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
3
),
borderRadius:
BorderRadius
.
circular
(
3
),
child:
CachedNetworkImage
(
child:
CachedNetworkImage
(
imageUrl:
imageUrl:
data
.
data
==
null
?
""
:
data
.
data
[
0
].
icon
??
""
,
data
.
data
==
null
?
""
:
data
.
data
[
0
].
icon
??
""
,
fit:
BoxFit
.
cover
,
fit:
BoxFit
.
cover
,
)).
gestureDetector
(()
{
)).
gestureDetector
(()
{
Map
<
String
,
dynamic
>
map
=
{
Map
<
String
,
dynamic
>
map
=
{
"rank_type"
:
"0"
,
"rank_type"
:
"0"
,
"id"
:
"
${data.data[0].id}
"
,
"id"
:
"
${data.data[0].id}
"
,
"title"
:
"
${data.data[0].name}
"
,
"title"
:
"
${data.data[0].name}
"
,
"business_id"
:
"
${data.data[0].id}
"
,
"business_id"
:
"
${data.data[0].id}
"
,
"referrer_tab_name"
:
""
"referrer_tab_name"
:
""
};
};
RouterCenterImpl
()
RouterCenterImpl
()
.
findMainRouter
()
.
findMainRouter
()
.
jumpPage
(
context
,
"favor_plan"
,
map
,
false
);
.
jumpPage
(
context
,
"favor_plan"
,
map
,
false
);
});
});
},
},
),
),
),
),
// ),
// ),
Expanded
(
Expanded
(
child:
Container
(),
child:
Container
(),
),
),
// Container(
// Container(
// width: 10,
// width: 10,
// ),
// ),
// 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
,
builder:
(
c
,
data
)
{
builder:
(
c
,
data
)
{
return
ClipRRect
(
return
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
3
),
borderRadius:
BorderRadius
.
circular
(
3
),
child:
CachedNetworkImage
(
child:
CachedNetworkImage
(
imageUrl:
imageUrl:
data
.
data
==
null
?
""
:
data
.
data
[
1
].
icon
??
""
,
data
.
data
==
null
?
""
:
data
.
data
[
1
].
icon
??
""
,
fit:
BoxFit
.
cover
,
fit:
BoxFit
.
cover
,
)).
gestureDetector
(()
{
)).
gestureDetector
(()
{
Map
<
String
,
dynamic
>
map
=
{
Map
<
String
,
dynamic
>
map
=
{
"rank_type"
:
"1"
,
"rank_type"
:
"1"
,
"id"
:
"
${data.data[1].id}
"
,
"id"
:
"
${data.data[1].id}
"
,
"title"
:
"
${data.data[1].name}
"
,
"title"
:
"
${data.data[1].name}
"
,
"business_id"
:
"
${data.data[1].id}
"
,
"business_id"
:
"
${data.data[1].id}
"
,
"referrer_tab_name"
:
""
"referrer_tab_name"
:
""
};
};
RouterCenterImpl
()
RouterCenterImpl
()
.
findMainRouter
()
.
findMainRouter
()
.
jumpPage
(
context
,
"hot_plan"
,
map
,
false
);
.
jumpPage
(
context
,
"hot_plan"
,
map
,
false
);
});
});
},
},
),
),
// ),
// ),
)
)
],
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment