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
baaa89b7
Commit
baaa89b7
authored
Jul 07, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zx/gmFlutter' into 'test'
Zx/gm flutter See merge request
!17
parents
2563bf92
9a451ecc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
DiscussLowPricePopView.dart
...lueModel/page/DiscussLowPrice/DiscussLowPricePopView.dart
+4
-12
TestPage.dart
lib/MainRouter/page/test/TestPage.dart
+1
-1
No files found.
lib/ClueModel/page/DiscussLowPrice/DiscussLowPricePopView.dart
View file @
baaa89b7
...
...
@@ -42,16 +42,6 @@ class _PopView implements ICenterPicker {
if
(
data
.
data
.
first
==
LOADING
)
{
return
loadingItem
();
}
// if(data.data.first==EMPTY||data.data.first==FAIL){
// return Container(
// decoration: BoxDecoration(
// borderRadius: BorderRadius.circular(7),
// color: Colors.white,
// ),
// width: contentWidth,
// height: 308.5,
// );
// }
if
(
data
.
data
.
second
==
null
||
data
.
data
.
first
==
FAIL
)
{
return
errorItem
(
contentWidth
,
308.5
,
()
{});
}
...
...
@@ -171,10 +161,12 @@ class _PopView implements ICenterPicker {
// ),
child:
Image
.
asset
(
"assets/discuss_loe_price_auth.png"
,
fit:
BoxFit
.
cover
,
),
).
gestureDetector
(()
{
// 一键授权
_model
.
givePhoneAuth
(
111
,
()
{
_model
.
givePhoneAuth
(
_model
.
popViewLive
.
data
.
second
.
leadPhoneRequestId
,
()
{
dismissCallback
();
});
}),
...
...
@@ -193,7 +185,7 @@ class _PopView implements ICenterPicker {
@override
void
initState
(
VoidCallback
dismissCall
,
BuildContext
context
)
{
this
.
dismissCallback
=
dismissCall
;
_model
.
fetchPopviewData
(
this
.
planId
,
this
.
hospitalId
,
this
.
doctorId
,
()
{
_model
.
fetchPopviewData
(
this
.
planId
,
this
.
hospitalId
,
this
.
doctorId
,
()
{
dismissCallback
();
});
}
...
...
lib/MainRouter/page/test/TestPage.dart
View file @
baaa89b7
...
...
@@ -78,7 +78,7 @@ class TestState extends BaseState<TestPage> {
@override
Widget
buildItem
(
BuildContext
context
)
{
CacheManager
.
getInstance
().
get
(
MEMORY_CACHE
).
save
(
COOKIE
,
"_g
tid=3123e178b91a11eaa2d87e40d376ac134112; sessionid=pq9wf8equ4h26ia3yspzmquqn2rjs6mx; _gm_token=4091a81593419225
"
);
"_g
m_token=1da6071594101423; csrftoken=rUrkkYYMOVZfIIQnU2IH09QIGmsfe8tE; sessionid=uz7f70uap76r6og48znci5l2hbr9vm5c; _gtid=5af9a5deba8511ea8d4082a085c393c93393
"
);
return
Scaffold
(
appBar:
baseAppBar
(
title:
"测试页面"
,
...
...
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