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
ea447e22
Commit
ea447e22
authored
Jul 06, 2020
by
朱翠翠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI
parent
9072b5c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
29 deletions
+33
-29
PlansCompareFeedItemView.dart
...Model/page/PlansCompareFeed/PlansCompareFeedItemView.dart
+33
-29
No files found.
lib/ClueModel/page/PlansCompareFeed/PlansCompareFeedItemView.dart
View file @
ea447e22
...
...
@@ -33,7 +33,7 @@ class _PlansCompareFeedItemViewState
}
getItem
()
{
if
(
widget
.
plan
.
planType
==
2
)
{
if
(
widget
.
plan
.
planType
==
1
)
{
return
getFirstLevelItem
();
}
else
{
return
getSecondLevelItem
();
...
...
@@ -64,29 +64,33 @@ class _PlansCompareFeedItemViewState
),
),
),
Container
(
height:
50
,
Expanded
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Container
(
margin:
EdgeInsets
.
only
(
top:
2
,
bottom:
5
),
margin:
EdgeInsets
.
only
(
top:
2
,
bottom:
8
),
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
<
Widget
>[
baseText
(
widget
.
plan
.
name
,
14
,
Color
(
0xFF282828
),
bold:
true
),
baseText
(
" 好评率 "
,
11
,
Color
(
0xFF282828
)),
baseText
(
widget
.
plan
.
positiveRate
,
14
,
Color
(
0xFFFF5963
),
bold:
true
),
Row
(
children:
<
Widget
>[
baseText
(
"好评率 "
,
11
,
Color
(
0xFF282828
)),
baseText
(
widget
.
plan
.
positiveRate
,
14
,
Color
(
0xFFFF5963
),
bold:
true
)
]),
],
),
),
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
<
Widget
>[
baseText
(
'¥
${widget.plan.minPrice}
-
${widget.plan.maxPrice}
'
,
13
,
Color
(
0xFFFF5963
)),
baseText
(
" 销量
${widget.plan.salesCount}
"
,
11
,
Color
(
0xFF282828
))
baseText
(
"销量
${widget.plan.salesCount}
"
,
11
,
Color
(
0xFF282828
))
],
)
],
...
...
@@ -110,26 +114,26 @@ class _PlansCompareFeedItemViewState
onPressed:
()
=>
onClickCheckBox
(
_icon
),
),
),
Column
(
c
rossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Container
(
margin:
EdgeInsets
.
only
(
top:
13.0
,
bottom:
12
),
child:
baseText
(
widget
.
plan
.
name
,
14
,
Color
(
0xFF282828
),
bold:
true
),
),
Row
(
children:
<
Widget
>[
baseText
(
'¥
${widget.plan.minPrice}
-
${widget.plan.maxPrice}
'
,
13
,
Color
(
0xFFFF5963
)),
Container
(
width:
160
,
alignment:
Alignment
.
centerRight
,
child:
baseText
(
"指导价:¥
${widget.plan.guidePrice}
"
,
11
,
Color
(
0xFF282828
)))
,
]
,
)
,
]
,
Expanded
(
c
hild:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
Container
(
margin:
EdgeInsets
.
only
(
top:
13.0
,
bottom:
12
),
child:
baseText
(
widget
.
plan
.
name
,
14
,
Color
(
0xFF282828
),
bold:
true
),
),
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
<
Widget
>[
baseText
(
'¥
${widget.plan.minPrice}
-
${widget.plan.maxPrice}
'
,
13
,
Color
(
0xFFFF5963
))
,
baseText
(
"指导价:¥
${widget.plan.guidePrice}
"
,
11
,
Color
(
0xFF282828
))
,
]
,
)
,
]
,
)
,
)
],
),
...
...
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