Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BasicApp
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
施贇杰
BasicApp
Commits
db9a2334
Commit
db9a2334
authored
Jul 25, 2019
by
shiyunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保险产品示例
parent
e725e587
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
PolicyResultPage.js
src/pages/insurePage/PolicyResultPage.js
+10
-10
No files found.
src/pages/insurePage/PolicyResultPage.js
View file @
db9a2334
...
@@ -48,7 +48,6 @@ type State = {
...
@@ -48,7 +48,6 @@ type State = {
class
ResultPage
extends
Component
{
class
ResultPage
extends
Component
{
state
:
State
state
:
State
componentWillMount
()
{
componentWillMount
()
{
...
@@ -60,13 +59,13 @@ class ResultPage extends Component {
...
@@ -60,13 +59,13 @@ class ResultPage extends Component {
}
}
onBackPressed
=
()
=>
{
onBackPressed
=
()
=>
{
this
.
popToHome
()
this
.
popToHome
();
return
true
;
return
true
;
}
}
popToHome
=
()
=>
{
popToHome
=
()
=>
{
const
{
popTo
}
=
this
.
props
;
const
{
popTo
}
=
this
.
props
;
popTo
(
'TabPage'
)
popTo
(
'TabPage'
)
;
}
}
render
()
{
render
()
{
...
@@ -109,17 +108,18 @@ this.popToHome()
...
@@ -109,17 +108,18 @@ this.popToHome()
height
:
94
,
height
:
94
,
backgroundColor
:
'#F9FAFB'
,
backgroundColor
:
'#F9FAFB'
,
marginHorizontal
:
15
,
marginHorizontal
:
15
,
justifyContent
:
'center'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
paddingHorizontal
:
70
,
paddingHorizontal
:
70
,
}}
>
}}
>
<
Text
<
Text
style
=
{{
style
=
{{
textAlign
:
'center'
,
textAlign
:
'center'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
color
:
'#666'
,
color
:
'#666'
,
fontSize
:
14
,
fontSize
:
14
,
lineHeight
:
19
,
lineHeight
:
19
,
}}
}}
>
>
...
...
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