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
1794906e
Commit
1794906e
authored
Jul 07, 2020
by
朱璇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of git.wanmeizhensuo.com:linshengyu/gm_flutter into zx/gmFlutter
parents
df2f2550
e66cc63b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
ProjectDetailsItemView.dart
...ClueModel/page/ProjectDetails/ProjectDetailsItemView.dart
+16
-1
LevelOnePage.dart
lib/ClueModel/page/levelOne/LevelOnePage.dart
+1
-6
No files found.
lib/ClueModel/page/ProjectDetails/ProjectDetailsItemView.dart
View file @
1794906e
...
...
@@ -6,7 +6,6 @@
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:gm_flutter/ClueModel/server/entity/ProjectDetailsItem.dart'
;
import
'package:gm_flutter/commonModel/base/BaseComponent.dart'
;
class
ProjectDetailsItemView
extends
StatelessWidget
{
Groups
listData
;
...
...
@@ -65,4 +64,20 @@ class ProjectDetailsItemView extends StatelessWidget {
),
);
}
baseText
(
String
text
,
double
fontSize
,
Color
color
,
{
bool
bold
=
false
})
{
return
Text
(
text
,
textScaleFactor:
1.0
,
style:
TextStyle
(
decoration:
TextDecoration
.
none
,
fontSize:
fontSize
,
color:
color
,
fontStyle:
FontStyle
.
normal
,
fontWeight:
bold
?
FontWeight
.
w500
:
FontWeight
.
w400
),
textAlign:
TextAlign
.
left
,
maxLines:
2
,
overflow:
TextOverflow
.
ellipsis
,
);
}
}
lib/ClueModel/page/levelOne/LevelOnePage.dart
View file @
1794906e
...
...
@@ -361,14 +361,9 @@ class LevelOneState extends BaseState<LevelOnePage>
),
GestureDetector
(
onTap:
()
{
//TODO
Map
<
String
,
dynamic
>
map
=
{};
map
[
"page_name"
]
=
"plan_home"
;
map
[
"referrer_link"
]
=
[];
RouterCenterImpl
()
.
findMainRouter
()
.
buriedEvent
(
"on_click_navbar_search"
,
map
);
.
jumpPage
(
context
,
""
,
{},
false
);
},
behavior:
HitTestBehavior
.
opaque
,
child:
baseText
(
"了解更多"
,
12
,
Color
(
0xff3FB5AF
)),
...
...
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