Commit db9a2334 authored by shiyunjie's avatar shiyunjie

保险产品示例

parent e725e587
...@@ -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,18 +108,19 @@ this.popToHome() ...@@ -109,18 +108,19 @@ 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,
}} }}
> >
您的保单已经发送到邮箱: 您的保单已经发送到邮箱:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment