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
173ec442
Commit
173ec442
authored
Jul 06, 2020
by
朱翠翠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
b4a3aedf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
PlansCompareFeedItemView.dart
...Model/page/PlansCompareFeed/PlansCompareFeedItemView.dart
+7
-1
PlansCompareFeedPage.dart
...ClueModel/page/PlansCompareFeed/PlansCompareFeedPage.dart
+13
-2
No files found.
lib/ClueModel/page/PlansCompareFeed/PlansCompareFeedItemView.dart
View file @
173ec442
...
...
@@ -27,7 +27,13 @@ class _PlansCompareFeedItemViewState
@override
Widget
buildItem
(
BuildContext
context
)
{
return
Container
(
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
),
child:
getItem
());
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
),
child:
Column
(
children:
<
Widget
>[
getItem
(),
Divider
(
height:
0.5
,
color:
Color
(
0xFF979797
))
],
));
}
getItem
()
{
...
...
lib/ClueModel/page/PlansCompareFeed/PlansCompareFeedPage.dart
View file @
173ec442
...
...
@@ -98,13 +98,24 @@ class _PlansCompareFeedState extends BaseState<PlansCompareFeedPage>
behavior:
HitTestBehavior
.
opaque
,
onTap:
()
=>
onClickCompare
(),
child:
Container
(
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
,
top:
7.5
,
bottom:
7.5
),
color:
Colors
.
white
,
child:
Column
(
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
Divider
(
height:
0.5
,
color:
Color
(
0xFF979797
)),
Container
(
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
,
top:
7.5
,
bottom:
7.5
),
width:
double
.
maxFinite
,
height:
40
,
decoration:
BoxDecoration
(
color:
_compareColor
,
borderRadius:
BorderRadius
.
circular
(
20
)),
color:
_compareColor
,
borderRadius:
BorderRadius
.
circular
(
20
)),
alignment:
Alignment
.
center
,
child:
baseText
(
"对比"
,
14
,
Colors
.
white
,
bold:
true
),
)
],
),
))
]);
}
...
...
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