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
1052acf1
Commit
1052acf1
authored
Jul 11, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
w
parent
197b47af
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
12 deletions
+23
-12
LevelOneItem.dart
lib/ClueModel/page/levelOne/LevelOneItem.dart
+1
-1
LevelOneModel.dart
lib/ClueModel/page/levelOne/LevelOneModel.dart
+3
-1
PlanItem.dart
lib/ClueModel/page/plan/PlanItem.dart
+19
-10
No files found.
lib/ClueModel/page/levelOne/LevelOneItem.dart
View file @
1052acf1
...
@@ -96,7 +96,7 @@ class LevelOneItem extends StatelessWidget {
...
@@ -96,7 +96,7 @@ class LevelOneItem extends StatelessWidget {
top:
18
,
top:
18
,
child:
Row
(
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
crossAxisAlignment:
CrossAxisAlignment
.
end
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
<
Widget
>[
children:
<
Widget
>[
baseText
(
cards
.
doctor
.
name
,
15
,
Color
(
0xff333333
),
baseText
(
cards
.
doctor
.
name
,
15
,
Color
(
0xff333333
),
bold:
true
),
bold:
true
),
...
...
lib/ClueModel/page/levelOne/LevelOneModel.dart
View file @
1052acf1
...
@@ -59,5 +59,7 @@ class LevelOneModel extends BaseModel {
...
@@ -59,5 +59,7 @@ class LevelOneModel extends BaseModel {
textLive
.
dispost
();
textLive
.
dispost
();
}
}
void
selectTab
(
int
index
)
{}
void
selectTab
(
int
index
)
{
}
}
}
lib/ClueModel/page/plan/PlanItem.dart
View file @
1052acf1
...
@@ -78,18 +78,28 @@ class PlanItem extends StatelessWidget {
...
@@ -78,18 +78,28 @@ class PlanItem extends StatelessWidget {
crossAxisAlignment:
CrossAxisAlignment
.
center
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
children:
<
Widget
>[
baseText
(
plans
.
name
,
14
,
Color
(
0xff282828
),
bold:
true
),
Container
(
Container
(
constraints:
BoxConstraints
(
maxWidth:
110
),
child:
baseText
(
plans
.
name
,
14
,
Color
(
0xff282828
),
bold:
true
),
),
plans
.
operation_type
.
empty
()
?
Container
(
width:
0
,
height:
0
,
)
:
Container
(
constraints:
BoxConstraints
(
maxWidth:
60
),
margin:
EdgeInsets
.
only
(
left:
4
),
margin:
EdgeInsets
.
only
(
left:
4
),
child:
Container
(
child:
Container
(
width:
28
,
padding:
EdgeInsets
.
only
(
height:
15
,
top:
2
,
bottom:
2
,
left:
3
,
right:
3
)
,
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
2
),
borderRadius:
BorderRadius
.
circular
(
2
),
color:
Color
(
0xffF0F9F7
)),
color:
Color
(
0xffF0F9F7
)),
alignment:
Alignment
.
center
,
alignment:
Alignment
.
center
,
child:
baseText
(
child:
baseText
(
"
${plans.operation_type}
"
,
11
,
"
${plans.operation_type}
"
,
11
,
Color
(
0xff3FB5AF
),
Color
(
0xff3FB5AF
),
bold:
true
),
bold:
true
),
),
),
)
)
...
@@ -97,19 +107,18 @@ class PlanItem extends StatelessWidget {
...
@@ -97,19 +107,18 @@ class PlanItem extends StatelessWidget {
),
),
),
),
Positioned
(
Positioned
(
top:
1
4
,
top:
1
5
,
right:
10
,
right:
10
,
child:
Row
(
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
// crossAxisAlignment: CrossAxisAlignment.end,
// crossAxisAlignment: CrossAxisAlignment.end,
verticalDirection:
VerticalDirection
.
down
,
verticalDirection:
VerticalDirection
.
down
,
children:
<
Widget
>[
children:
<
Widget
>[
baseText
(
"好评率"
,
11
,
Color
(
0xff282828
)),
baseText
(
"好评率"
,
11
,
Color
(
0xff282828
)),
Container
(
Container
(
width:
4
,
width:
4
,
),
),
baseText
(
"
${rate}
"
,
14
,
Color
(
0xffFF5963
)),
baseText
(
"
${rate}
"
,
14
,
Color
(
0xffFF5963
)
,
bold:
true
),
baseText
(
"%"
,
10
,
Color
(
0xffFF5963
)),
baseText
(
"%"
,
10
,
Color
(
0xffFF5963
)),
],
],
),
),
...
@@ -117,8 +126,8 @@ class PlanItem extends StatelessWidget {
...
@@ -117,8 +126,8 @@ class PlanItem extends StatelessWidget {
Positioned
(
Positioned
(
bottom:
14
,
bottom:
14
,
right:
10
,
right:
10
,
child:
baseText
(
"销量
${plans.salesCount}
"
,
child:
11
,
Color
(
0xff282828
)),
baseText
(
"销量
${plans.salesCount}
"
,
11
,
Color
(
0xff282828
)),
),
),
Positioned
(
Positioned
(
left:
91
,
left:
91
,
...
...
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