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
c82a5d29
Commit
c82a5d29
authored
Jul 14, 2020
by
杜欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ui走查
parent
b819e33d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
13 deletions
+15
-13
PlanCompareDetailPage.dart
...ueModel/page/PlanCompareDetail/PlanCompareDetailPage.dart
+1
-1
PlansCompareFeedPage.dart
...ClueModel/page/PlansCompareFeed/PlansCompareFeedPage.dart
+1
-1
ProjectDetailsPage.dart
lib/ClueModel/page/ProjectDetails/ProjectDetailsPage.dart
+1
-1
LevelOnePage.dart
lib/ClueModel/page/levelOne/LevelOnePage.dart
+2
-2
LevelTwoPage.dart
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
+2
-2
TopPage.dart
lib/ClueModel/page/top/TopPage.dart
+2
-2
BaseComponent.dart
lib/commonModel/base/BaseComponent.dart
+6
-4
No files found.
lib/ClueModel/page/PlanCompareDetail/PlanCompareDetailPage.dart
View file @
c82a5d29
...
...
@@ -53,7 +53,7 @@ class PlanCompareDetailPageState extends BaseState<PlanCompareDetailPage> {
screenWidth
=
MediaQuery
.
of
(
context
).
size
.
width
;
return
Scaffold
(
appBar:
baseAppBar
(
title
:
"对比详情"
,
title
Widget:
baseText
(
"对比详情"
,
18
,
Color
(
0xff333333
),
bold:
true
)
,
centerTitle:
true
,
backClick:
()
{
if
(
RouterCenterImpl
().
findMainRouter
().
isWithNative
())
{
...
...
lib/ClueModel/page/PlansCompareFeed/PlansCompareFeedPage.dart
View file @
c82a5d29
...
...
@@ -54,7 +54,7 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage>
return
Scaffold
(
backgroundColor:
Colors
.
white
,
appBar:
baseAppBar
(
title
:
"方案对比"
,
title
Widget:
baseText
(
"方案对比"
,
18
,
Color
(
0xff333333
),
bold:
true
)
,
centerTitle:
true
,
backClick:
()
{
if
(
RouterCenterImpl
().
findMainRouter
().
isWithNative
())
{
...
...
lib/ClueModel/page/ProjectDetails/ProjectDetailsPage.dart
View file @
c82a5d29
...
...
@@ -47,7 +47,7 @@ class _ProjectDetailsState extends BaseState<ProjectDetailsPage> {
Widget
buildItem
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
baseAppBar
(
title
:
"项目说明"
,
title
Widget:
baseText
(
"项目说明"
,
18
,
Color
(
0xff333333
),
bold:
true
)
,
centerTitle:
true
,
backClick:
()
{
if
(
RouterCenterImpl
().
findMainRouter
().
isWithNative
())
{
...
...
lib/ClueModel/page/levelOne/LevelOnePage.dart
View file @
c82a5d29
...
...
@@ -183,14 +183,14 @@ class LevelOneState extends BaseState<LevelOnePage>
child:
newHome
(),
)),
baseSliverTitle
(
"
${widget.title}
"
,
MediaQuery
.
of
(
context
).
size
.
width
,
_model
.
textLive
),
_model
.
textLive
,
context
),
baseSliverBack
(()
{
if
(
RouterCenterImpl
().
findMainRouter
().
isWithNative
())
{
FlutterBoost
.
singleton
.
closeCurrent
();
}
else
{
Navigator
.
of
(
context
).
pop
();
}
}),
}
,
context
),
],
);
}
...
...
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
View file @
c82a5d29
...
...
@@ -174,14 +174,14 @@ class LevelTwoState extends BaseState<LevelTwoPage>
child:
newHome
(),
)),
baseSliverTitle
(
"
${_model.name}
"
,
MediaQuery
.
of
(
context
).
size
.
width
,
_model
.
textLive
),
_model
.
textLive
,
context
),
baseSliverBack
(()
{
if
(
RouterCenterImpl
().
findMainRouter
().
isWithNative
())
{
FlutterBoost
.
singleton
.
closeCurrent
();
}
else
{
Navigator
.
of
(
context
).
pop
();
}
}),
}
,
context
),
],
);
}
...
...
lib/ClueModel/page/top/TopPage.dart
View file @
c82a5d29
...
...
@@ -148,9 +148,9 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
}
else
{
Navigator
.
of
(
context
).
pop
();
}
}),
}
,
context
),
baseSliverTitle
(
"
${widget.title}
"
,
MediaQuery
.
of
(
context
).
size
.
width
,
_model
.
textLive
)
_model
.
textLive
,
context
)
],
);
}
...
...
lib/commonModel/base/BaseComponent.dart
View file @
c82a5d29
...
...
@@ -513,9 +513,10 @@ Widget baseSliverAppBar(String url,
);
}
Widget
baseSliverBack
(
VoidCallback
tap
)
{
Widget
baseSliverBack
(
VoidCallback
tap
,
context
)
{
final
double
topPadding
=
MediaQuery
.
of
(
context
).
padding
.
top
;
return
Positioned
(
top:
45
,
top:
topPadding
+
12
,
left:
7
,
child:
GestureDetector
(
behavior:
HitTestBehavior
.
opaque
,
...
...
@@ -536,9 +537,10 @@ Widget baseSliverBack(VoidCallback tap) {
);
}
Widget
baseSliverTitle
(
String
text
,
double
width
,
LiveData
liveData
)
{
Widget
baseSliverTitle
(
String
text
,
double
width
,
LiveData
liveData
,
context
)
{
final
double
topPadding
=
MediaQuery
.
of
(
context
).
padding
.
top
;
return
Positioned
(
top:
46
,
top:
topPadding
+
13
,
child:
StreamBuilder
(
stream:
liveData
.
stream
,
initialData:
liveData
.
data
??
0.0
,
...
...
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