提交 9eb8f8a5 authored 作者: 何守志's avatar 何守志

heshouzhi:welcomePage

上级 770b60a4
html, body, :global(#root) { html, body, :global(#root) {
height: 100%; height: 100%;
padding: 0;
margin: 0;
} }
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { connect } from 'dva'; import { connect } from 'dva';
import logo from '../assets/logo.gif';
class MiddleSelectPage extends React.Component{ class MiddleSelectPage extends React.Component{
componentDidMount() { componentDidMount() {
const { dispatch } = this.props; const { dispatch } = this.props;
console.info(this.props); console.info(this.props);
dispatch({ type: 'middleSelect/checkOpenID',payload: {}}); dispatch({ type: 'middleSelect/checkOpenID',payload: {}});
} }
render(){
render(){
const myImg = src => <img src={src} alt="" style={{width:"100px", height:"100px"}} />;
return ( return (
<div>加载中</div> <div style={{paddingTop:"100px",textAlign:"center"}}>
{myImg(logo)}
<h3>欢迎进入上海征地房屋补偿公众号</h3>
</div>
); );
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论