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
d802cace
Commit
d802cace
authored
Jul 12, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
w
parent
a2cfe2d0
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
99 additions
and
75 deletions
+99
-75
LevelOneItem.dart
lib/ClueModel/page/levelOne/LevelOneItem.dart
+6
-7
LevelOnePage.dart
lib/ClueModel/page/levelOne/LevelOnePage.dart
+4
-14
LevelTwoPage.dart
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
+5
-1
FilterView.dart
lib/ClueModel/page/plan/FilterView.dart
+16
-0
PlanBar.dart
lib/ClueModel/page/plan/PlanBar.dart
+10
-6
PlanItem.dart
lib/ClueModel/page/plan/PlanItem.dart
+33
-33
PlanPage.dart
lib/ClueModel/page/plan/PlanPage.dart
+3
-3
ProjectView.dart
lib/ClueModel/page/plan/ProjectView.dart
+1
-1
SortView.dart
lib/ClueModel/page/plan/SortView.dart
+1
-1
TopPage.dart
lib/ClueModel/page/top/TopPage.dart
+8
-3
LevelOneFeedList.dart
lib/ClueModel/server/entity/LevelOneFeedList.dart
+6
-0
BaseComponent.dart
lib/commonModel/base/BaseComponent.dart
+6
-6
No files found.
lib/ClueModel/page/levelOne/LevelOneItem.dart
View file @
d802cace
...
@@ -80,7 +80,7 @@ class LevelOneItem extends StatelessWidget {
...
@@ -80,7 +80,7 @@ class LevelOneItem extends StatelessWidget {
};
};
RouterCenterImpl
()
RouterCenterImpl
()
.
findMainRouter
()
.
findMainRouter
()
.
jumpPage
(
context
,
cards
.
doctor
.
messageU
rl
,
map
,
true
);
.
jumpPage
(
context
,
cards
.
doctor
.
gm_u
rl
,
map
,
true
);
},
},
child:
Container
(
child:
Container
(
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
),
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
),
...
@@ -107,7 +107,7 @@ class LevelOneItem extends StatelessWidget {
...
@@ -107,7 +107,7 @@ class LevelOneItem extends StatelessWidget {
),
),
Positioned
(
Positioned
(
left:
57
,
left:
57
,
top:
1
8
,
top:
1
7
,
child:
Row
(
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
crossAxisAlignment:
CrossAxisAlignment
.
baseline
,
crossAxisAlignment:
CrossAxisAlignment
.
baseline
,
...
@@ -117,8 +117,7 @@ class LevelOneItem extends StatelessWidget {
...
@@ -117,8 +117,7 @@ class LevelOneItem extends StatelessWidget {
bold:
true
),
bold:
true
),
Container
(
Container
(
margin:
EdgeInsets
.
only
(
left:
4
),
margin:
EdgeInsets
.
only
(
left:
4
),
child:
baseText
(
cards
.
doctor
.
title
,
13
,
Color
(
0xff999999
),
child:
baseText
(
cards
.
doctor
.
title
,
13
,
Color
(
0xff999999
)),
bold:
true
),
)
)
],
],
),
),
...
@@ -181,7 +180,7 @@ class LevelOneItem extends StatelessWidget {
...
@@ -181,7 +180,7 @@ class LevelOneItem extends StatelessWidget {
Positioned
(
Positioned
(
left:
0
,
left:
0
,
bottom:
0
,
bottom:
0
,
child:
Container
(
child:
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
-
30
,
width:
MediaQuery
.
of
(
context
).
size
.
width
-
30
,
height:
0.5
,
height:
0.5
,
color:
Color
(
0xffE5E5E5
),
color:
Color
(
0xffE5E5E5
),
...
@@ -210,7 +209,7 @@ class LevelOneItem extends StatelessWidget {
...
@@ -210,7 +209,7 @@ class LevelOneItem extends StatelessWidget {
};
};
RouterCenterImpl
()
RouterCenterImpl
()
.
findMainRouter
()
.
findMainRouter
()
.
jumpPage
(
context
,
cards
.
hospital
.
messageU
rl
,
map
,
true
);
.
jumpPage
(
context
,
cards
.
hospital
.
gm_u
rl
,
map
,
true
);
},
},
child:
Container
(
child:
Container
(
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
),
margin:
EdgeInsets
.
only
(
left:
15
,
right:
15
),
...
@@ -233,7 +232,7 @@ class LevelOneItem extends StatelessWidget {
...
@@ -233,7 +232,7 @@ class LevelOneItem extends StatelessWidget {
),
),
Positioned
(
Positioned
(
left:
57
,
left:
57
,
top:
1
7.
5
,
top:
15
,
child:
Container
(
child:
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
-
30
-
57
,
width:
MediaQuery
.
of
(
context
).
size
.
width
-
30
-
57
,
child:
baseText
(
cards
.
hospital
.
name
,
15
,
Color
(
0xff333333
),
child:
baseText
(
cards
.
hospital
.
name
,
15
,
Color
(
0xff333333
),
...
...
lib/ClueModel/page/levelOne/LevelOnePage.dart
View file @
d802cace
...
@@ -278,7 +278,7 @@ class LevelOneState extends BaseState<LevelOnePage>
...
@@ -278,7 +278,7 @@ class LevelOneState extends BaseState<LevelOnePage>
return
Container
(
return
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
,
width:
MediaQuery
.
of
(
context
).
size
.
width
,
height:
54
,
height:
54
,
margin:
EdgeInsets
.
only
(
top:
1
8
,
bottom:
12
),
margin:
EdgeInsets
.
only
(
top:
1
4
,
bottom:
12
),
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
Positioned
(
...
@@ -288,7 +288,7 @@ class LevelOneState extends BaseState<LevelOnePage>
...
@@ -288,7 +288,7 @@ class LevelOneState extends BaseState<LevelOnePage>
bold:
true
),
bold:
true
),
),
),
Positioned
(
Positioned
(
bottom:
8
,
bottom:
6
,
left:
15
,
left:
15
,
child:
Container
(
child:
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
-
30
-
100
,
width:
MediaQuery
.
of
(
context
).
size
.
width
-
30
-
100
,
...
@@ -358,18 +358,8 @@ class LevelOneState extends BaseState<LevelOnePage>
...
@@ -358,18 +358,8 @@ class LevelOneState extends BaseState<LevelOnePage>
children:
<
Widget
>[
children:
<
Widget
>[
Container
(
Container
(
margin:
EdgeInsets
.
only
(
left:
2
,
right:
2
),
margin:
EdgeInsets
.
only
(
left:
2
,
right:
2
),
child:
Text
(
child:
baseText
(
element
.
attrValue
,
14
,
Color
(
0xff282828
),
element
.
attrValue
,
bold:
true
),
textScaleFactor:
1.0
,
maxLines:
1
,
overflow:
TextOverflow
.
ellipsis
,
style:
TextStyle
(
decoration:
TextDecoration
.
none
,
fontSize:
14
,
color:
Color
(
0xff282828
),
fontStyle:
FontStyle
.
normal
,
fontWeight:
FontWeight
.
w400
),
),
),
),
Container
(
Container
(
margin:
EdgeInsets
.
only
(
left:
2
,
right:
2
),
margin:
EdgeInsets
.
only
(
left:
2
,
right:
2
),
...
...
lib/ClueModel/page/levelTwo/LevelTwoPage.dart
View file @
d802cace
...
@@ -340,7 +340,11 @@ class LevelTwoState extends BaseState<LevelTwoPage>
...
@@ -340,7 +340,11 @@ class LevelTwoState extends BaseState<LevelTwoPage>
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
<
Widget
>[
children:
<
Widget
>[
baseText
(
element
.
attrName
,
14
,
Color
(
0xff282828
),
bold:
true
),
Container
(
margin:
EdgeInsets
.
only
(
left:
2
,
right:
2
),
child:
baseText
(
element
.
attrName
,
14
,
Color
(
0xff282828
),
bold:
true
),
),
baseText
(
element
.
attrValue
,
11
,
Color
(
0xff999999
)),
baseText
(
element
.
attrValue
,
11
,
Color
(
0xff999999
)),
],
],
),
),
...
...
lib/ClueModel/page/plan/FilterView.dart
View file @
d802cace
...
@@ -56,6 +56,22 @@ class FilterViewState extends State<FilterView> {
...
@@ -56,6 +56,22 @@ class FilterViewState extends State<FilterView> {
height:
186
,
height:
186
,
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
top:
0
,
child:
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
,
height:
1
,
decoration:
BoxDecoration
(
boxShadow:
[
BoxShadow
(
color:
Color
(
0x08000000
),
offset:
Offset
(
0.0
,
1.0
),
blurRadius:
6.0
,
spreadRadius:
0.0
),
],
),
),
),
Positioned
(
Positioned
(
top:
54.5
,
top:
54.5
,
right:
15
,
right:
15
,
...
...
lib/ClueModel/page/plan/PlanBar.dart
View file @
d802cace
...
@@ -66,17 +66,21 @@ class PlanBarView extends StatelessWidget {
...
@@ -66,17 +66,21 @@ class PlanBarView extends StatelessWidget {
},
},
child:
Container
(
child:
Container
(
alignment:
Alignment
.
center
,
alignment:
Alignment
.
center
,
height:
double
.
maxFinite
,
child:
Row
(
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
crossAxisAlignment:
CrossAxisAlignment
.
end
,
children:
<
Widget
>[
children:
<
Widget
>[
baseText
(
text
,
14
,
Container
(
index
==
showIndex
?
Color
(
0xff3FB5AF
)
:
Color
(
0xff666666
)),
height:
double
.
maxFinite
,
alignment:
Alignment
.
center
,
child:
baseText
(
text
,
14
,
index
==
showIndex
?
Color
(
0xff3FB5AF
)
:
Color
(
0xff666666
)),
)
,
Container
(
Container
(
width:
10
,
width:
10
,
height:
13
,
alignment:
Alignment
.
center
,
padding:
EdgeInsets
.
only
(
top:
3
),
height:
double
.
maxFinite
,
alignment:
Alignment
.
topCenter
,
child:
Container
(
child:
Container
(
width:
6
,
width:
6
,
height:
3.5
,
height:
3.5
,
...
...
lib/ClueModel/page/plan/PlanItem.dart
View file @
d802cace
...
@@ -56,7 +56,7 @@ class PlanItem extends StatelessWidget {
...
@@ -56,7 +56,7 @@ class PlanItem extends StatelessWidget {
showOprea
=
showOprea
.
length
>
4
?
showOprea
.
substring
(
0
,
4
)
:
showOprea
;
showOprea
=
showOprea
.
length
>
4
?
showOprea
.
substring
(
0
,
4
)
:
showOprea
;
}
}
return
Container
(
return
Container
(
margin:
EdgeInsets
.
only
(
top:
10
,
left:
10
,
right:
10
),
margin:
EdgeInsets
.
only
(
top:
4
,
left:
10
,
right:
10
),
child:
Card
(
child:
Card
(
elevation:
3.0
,
elevation:
3.0
,
child:
Container
(
child:
Container
(
...
@@ -82,13 +82,13 @@ class PlanItem extends StatelessWidget {
...
@@ -82,13 +82,13 @@ class PlanItem extends StatelessWidget {
),
),
Positioned
(
Positioned
(
left:
92
,
left:
92
,
top:
1
4
,
top:
1
0
,
child:
Row
(
child:
Row
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
mainAxisSize:
MainAxisSize
.
min
,
mainAxisSize:
MainAxisSize
.
min
,
children:
<
Widget
>[
children:
<
Widget
>[
Container
(
Container
(
constraints:
BoxConstraints
(
maxWidth:
1
2
6
),
constraints:
BoxConstraints
(
maxWidth:
1
1
6
),
child:
baseText
(
plans
.
name
,
14
,
Color
(
0xff282828
),
child:
baseText
(
plans
.
name
,
14
,
Color
(
0xff282828
),
bold:
true
),
bold:
true
),
),
),
...
@@ -107,16 +107,15 @@ class PlanItem extends StatelessWidget {
...
@@ -107,16 +107,15 @@ class PlanItem extends StatelessWidget {
borderRadius:
BorderRadius
.
circular
(
2
),
borderRadius:
BorderRadius
.
circular
(
2
),
color:
Color
(
0xffF0F9F7
)),
color:
Color
(
0xffF0F9F7
)),
alignment:
Alignment
.
center
,
alignment:
Alignment
.
center
,
child:
baseText
(
showOprea
,
11
,
child:
Color
(
0xff3FB5AF
),
baseText
(
showOprea
,
11
,
Color
(
0xff3FB5AF
)),
bold:
true
),
),
),
)
)
],
],
),
),
),
),
Positioned
(
Positioned
(
top:
1
5
,
top:
1
2
,
right:
10
,
right:
10
,
child:
Row
(
child:
Row
(
textBaseline:
TextBaseline
.
alphabetic
,
textBaseline:
TextBaseline
.
alphabetic
,
...
@@ -132,34 +131,35 @@ class PlanItem extends StatelessWidget {
...
@@ -132,34 +131,35 @@ class PlanItem extends StatelessWidget {
],
],
),
),
),
),
Positioned
(
bottom:
16
,
right:
10
,
child:
baseText
(
"销量
${plans.salesCount}
"
,
11
,
Color
(
0xff282828
)),
),
Positioned
(
Positioned
(
left:
91
,
left:
91
,
bottom:
14
,
bottom:
8
,
child:
Row
(
child:
Container
(
textBaseline:
TextBaseline
.
alphabetic
,
width:
MediaQuery
.
of
(
context
).
size
.
width
-
30
-
91
-
10
,
crossAxisAlignment:
CrossAxisAlignment
.
baseline
,
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
textBaseline:
TextBaseline
.
alphabetic
,
children:
<
Widget
>[
crossAxisAlignment:
CrossAxisAlignment
.
baseline
,
price
==
"暂无报价"
mainAxisSize:
MainAxisSize
.
min
,
?
Container
(
children:
<
Widget
>[
width:
0
,
price
==
"暂无报价"
height:
0
,
?
Container
(
)
width:
0
,
:
baseText
(
"¥"
,
12
,
Color
(
0xffFF5963
)),
height:
0
,
baseText
(
)
price
,
:
baseText
(
"¥"
,
12
,
Color
(
0xffFF5963
)),
price
==
"暂无报价"
?
13
:
15
,
baseText
(
price
==
"暂无报价"
price
,
?
Color
(
0xff999999
)
price
==
"暂无报价"
?
13
:
15
,
:
Color
(
0xffFF5963
),
price
==
"暂无报价"
bold:
price
!=
"暂无报价"
)
?
Color
(
0xff999999
)
],
:
Color
(
0xffFF5963
),
bold:
price
!=
"暂无报价"
),
Expanded
(
child:
Container
(),
),
baseText
(
"销量
${plans.salesCount}
"
,
11
,
Color
(
0xff282828
))
],
),
),
),
),
),
Positioned
(
Positioned
(
...
...
lib/ClueModel/page/plan/PlanPage.dart
View file @
d802cace
...
@@ -497,10 +497,10 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
...
@@ -497,10 +497,10 @@ class PlanState extends BaseState<PlanPage> with TickerProviderStateMixin {
decoration:
BoxDecoration
(
decoration:
BoxDecoration
(
boxShadow:
[
boxShadow:
[
BoxShadow
(
BoxShadow
(
color:
Color
s
.
black12
,
color:
Color
(
0x08000000
)
,
offset:
Offset
(
0.0
,
2.0
),
offset:
Offset
(
0.0
,
2.0
),
blurRadius:
0.5
,
blurRadius:
12
,
spreadRadius:
0
.5
)
spreadRadius:
0
)
],
],
color:
Colors
.
white
,
color:
Colors
.
white
,
),
),
...
...
lib/ClueModel/page/plan/ProjectView.dart
View file @
d802cace
...
@@ -102,7 +102,7 @@ class ProjectViewState extends State<ProjectView> {
...
@@ -102,7 +102,7 @@ class ProjectViewState extends State<ProjectView> {
child:
ListView
.
builder
(
child:
ListView
.
builder
(
itemBuilder:
(
c
,
index
)
{
itemBuilder:
(
c
,
index
)
{
return
Container
(
return
Container
(
margin:
EdgeInsets
.
only
(
left:
20
,
top:
1
8
,
bottom:
18
),
margin:
EdgeInsets
.
only
(
left:
20
,
top:
1
5
,
bottom:
18
),
child:
baseText
(
widget
.
datas
[
selectIndex
].
subtags
[
index
].
name
,
child:
baseText
(
widget
.
datas
[
selectIndex
].
subtags
[
index
].
name
,
14
,
Color
(
0xff464646
)),
14
,
Color
(
0xff464646
)),
).
gestureDetector
(()
{
).
gestureDetector
(()
{
...
...
lib/ClueModel/page/plan/SortView.dart
View file @
d802cace
...
@@ -31,7 +31,7 @@ class SortView extends StatelessWidget {
...
@@ -31,7 +31,7 @@ class SortView extends StatelessWidget {
child:
Stack
(
child:
Stack
(
children:
<
Widget
>[
children:
<
Widget
>[
Positioned
(
Positioned
(
top:
1
6
,
top:
1
3
,
child:
baseText
(
child:
baseText
(
datas
[
index
].
name
,
datas
[
index
].
name
,
13
,
13
,
...
...
lib/ClueModel/page/top/TopPage.dart
View file @
d802cace
...
@@ -83,7 +83,9 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
...
@@ -83,7 +83,9 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
@override
@override
Widget
buildItem
(
BuildContext
context
)
{
Widget
buildItem
(
BuildContext
context
)
{
return
Scaffold
(
return
Scaffold
(
body:
baseStateView
(
body:
SafeArea
(
top:
false
,
child:
baseStateView
(
MediaQuery
.
of
(
context
).
size
.
width
,
MediaQuery
.
of
(
context
).
size
.
width
,
MediaQuery
.
of
(
context
).
size
.
height
,
MediaQuery
.
of
(
context
).
size
.
height
,
_model
.
stateLive
,
_model
.
stateLive
,
...
@@ -104,7 +106,7 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
...
@@ -104,7 +106,7 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
},
},
paddingTop:
paddingTop:
MediaQueryData
.
fromWindow
(
window
).
padding
.
top
+
kToolbarHeight
),
MediaQueryData
.
fromWindow
(
window
).
padding
.
top
+
kToolbarHeight
),
);
)
)
;
}
}
Widget
homeWarp
()
{
Widget
homeWarp
()
{
...
@@ -138,7 +140,10 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
...
@@ -138,7 +140,10 @@ class TopPageState extends BaseState<TopPage> with TickerProviderStateMixin {
}
}
return
false
;
return
false
;
},
},
child:
home
(),
child:
Container
(
color:
Color
(
0xffF7F6FA
),
child:
home
(),
),
),
),
),
),
baseSliverBack
(()
{
baseSliverBack
(()
{
...
...
lib/ClueModel/server/entity/LevelOneFeedList.dart
View file @
d802cace
...
@@ -211,6 +211,7 @@ class Hospital {
...
@@ -211,6 +211,7 @@ class Hospital {
String
consultType
;
String
consultType
;
String
messageUrl
;
String
messageUrl
;
bool
isCheck
=
false
;
bool
isCheck
=
false
;
String
gm_url
;
Hospital
(
Hospital
(
{
this
.
portrait
,
{
this
.
portrait
,
...
@@ -229,6 +230,7 @@ class Hospital {
...
@@ -229,6 +230,7 @@ class Hospital {
name
=
json
[
'name'
];
name
=
json
[
'name'
];
minPrice
=
json
[
'min_price'
];
minPrice
=
json
[
'min_price'
];
maxPrice
=
json
[
'max_price'
];
maxPrice
=
json
[
'max_price'
];
gm_url
=
json
[
'gm_url'
];
star
=
json
[
'star'
];
star
=
json
[
'star'
];
address
=
json
[
'address'
];
address
=
json
[
'address'
];
consultType
=
json
[
'consult_type'
];
consultType
=
json
[
'consult_type'
];
...
@@ -244,6 +246,7 @@ class Hospital {
...
@@ -244,6 +246,7 @@ class Hospital {
data
[
'min_price'
]
=
this
.
minPrice
;
data
[
'min_price'
]
=
this
.
minPrice
;
data
[
'max_price'
]
=
this
.
maxPrice
;
data
[
'max_price'
]
=
this
.
maxPrice
;
data
[
'star'
]
=
this
.
star
;
data
[
'star'
]
=
this
.
star
;
data
[
'gm_url'
]
=
this
.
gm_url
;
data
[
'address'
]
=
this
.
address
;
data
[
'address'
]
=
this
.
address
;
data
[
'consult_type'
]
=
this
.
consultType
;
data
[
'consult_type'
]
=
this
.
consultType
;
data
[
'message_url'
]
=
this
.
messageUrl
;
data
[
'message_url'
]
=
this
.
messageUrl
;
...
@@ -261,6 +264,7 @@ class Doctor {
...
@@ -261,6 +264,7 @@ class Doctor {
String
title
;
String
title
;
String
consultType
;
String
consultType
;
String
messageUrl
;
String
messageUrl
;
String
gm_url
;
Doctor
(
Doctor
(
{
this
.
portrait
,
{
this
.
portrait
,
...
@@ -278,6 +282,7 @@ class Doctor {
...
@@ -278,6 +282,7 @@ class Doctor {
minPrice
=
json
[
'min_price'
];
minPrice
=
json
[
'min_price'
];
maxPrice
=
json
[
'max_price'
];
maxPrice
=
json
[
'max_price'
];
doctor_id
=
json
[
'doctor_id'
];
doctor_id
=
json
[
'doctor_id'
];
gm_url
=
json
[
'gm_url'
];
star
=
json
[
'star'
];
star
=
json
[
'star'
];
title
=
json
[
'title'
];
title
=
json
[
'title'
];
consultType
=
json
[
'consult_type'
];
consultType
=
json
[
'consult_type'
];
...
@@ -290,6 +295,7 @@ class Doctor {
...
@@ -290,6 +295,7 @@ class Doctor {
data
[
'name'
]
=
this
.
name
;
data
[
'name'
]
=
this
.
name
;
data
[
'doctor_id'
]
=
this
.
doctor_id
;
data
[
'doctor_id'
]
=
this
.
doctor_id
;
data
[
'min_price'
]
=
this
.
minPrice
;
data
[
'min_price'
]
=
this
.
minPrice
;
data
[
'gm_url'
]
=
this
.
gm_url
;
data
[
'max_price'
]
=
this
.
maxPrice
;
data
[
'max_price'
]
=
this
.
maxPrice
;
data
[
'star'
]
=
this
.
star
;
data
[
'star'
]
=
this
.
star
;
data
[
'title'
]
=
this
.
title
;
data
[
'title'
]
=
this
.
title
;
...
...
lib/commonModel/base/BaseComponent.dart
View file @
d802cace
...
@@ -319,7 +319,7 @@ Widget baseRefreshView(RefreshController refreshController,
...
@@ -319,7 +319,7 @@ Widget baseRefreshView(RefreshController refreshController,
// body = baseText("加载失败", 12, Color(0xff545454));
// body = baseText("加载失败", 12, Color(0xff545454));
// } else
// } else
if
(
mode
==
LoadStatus
.
noMore
)
{
if
(
mode
==
LoadStatus
.
noMore
)
{
body
=
baseText
(
"
没有更多数据了
"
,
12
,
Color
(
0xff545454
));
body
=
baseText
(
"
我们是有底线的
"
,
12
,
Color
(
0xff545454
));
}
}
// else {
// else {
// body = Container();
// body = Container();
...
@@ -433,10 +433,10 @@ Widget baseTabBar(
...
@@ -433,10 +433,10 @@ Widget baseTabBar(
color:
Colors
.
white
,
color:
Colors
.
white
,
boxShadow:
[
boxShadow:
[
BoxShadow
(
BoxShadow
(
color:
Color
s
.
black12
,
color:
Color
(
0x08000000
)
,
offset:
Offset
(
0.0
,
2.0
),
offset:
Offset
(
0.0
,
2.0
),
blurRadius:
0.5
,
blurRadius:
12
,
spreadRadius:
0
.5
)
spreadRadius:
0
)
],
],
),
),
child:
TabBar
(
child:
TabBar
(
...
@@ -447,9 +447,9 @@ Widget baseTabBar(
...
@@ -447,9 +447,9 @@ Widget baseTabBar(
unselectedLabelColor:
color
??
Color
(
0xffB5B5B5
),
unselectedLabelColor:
color
??
Color
(
0xffB5B5B5
),
labelColor:
color
??
Color
(
0xff282828
),
labelColor:
color
??
Color
(
0xff282828
),
labelStyle:
labelStyle:
TextStyle
(
fontSize:
fontSize
??
16
,
fontWeight:
FontWeight
.
w
5
00
),
TextStyle
(
fontSize:
fontSize
??
16
,
fontWeight:
FontWeight
.
w
6
00
),
unselectedLabelStyle:
unselectedLabelStyle:
TextStyle
(
fontSize:
fontSize
??
16
,
fontWeight:
FontWeight
.
w
5
00
),
TextStyle
(
fontSize:
fontSize
??
16
,
fontWeight:
FontWeight
.
w
6
00
),
labelPadding:
EdgeInsets
.
only
(),
labelPadding:
EdgeInsets
.
only
(),
indicator:
baseIndicator
??
BaseIndicator
(),
indicator:
baseIndicator
??
BaseIndicator
(),
tabs:
list
,
tabs:
list
,
...
...
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