Commit a3801e6c by Zhang Xin

fix

parent 4c35b702
......@@ -33,7 +33,6 @@ const refreshImg = (data)=>{
const getRefreshImg = (errorId,type)=>{
console.log(errorId,type)
return(dispatch)=>{
// fetch(domain + '/web/flush_image.action',{
// credentials : 'include',
......
......@@ -40,12 +40,8 @@ class PageContainer extends React.Component {
lastPage : '',
page : null,
popupInfo : defaultPopupInfo,
pageStyle : {
// 'backgroundColor' : '#ffffff'
},
lastPageStyle:{
},
pageStyle : {},
lastPageStyle:{},
};
this.getPages = this.getPages.bind(this);
this.showPopup = this.showPopup.bind(this);
......@@ -53,6 +49,12 @@ class PageContainer extends React.Component {
this.showQrCode = this.showQrCode.bind(this);
this.saveLastPage = this.saveLastPage.bind(this);
this.goBack = this.goBack.bind(this);
this.maxCountBackTime = 300;
this.count = 1000;
this.countbackTimer = null;
}
componentWillMount() {
let {dispatch} = this.props;
......@@ -72,6 +74,10 @@ class PageContainer extends React.Component {
componentWillUnmount(){
}
countBack(){
}
hidePopup(){
this.setState({
popupInfo : defaultPopupInfo
......@@ -165,10 +171,14 @@ class PageContainer extends React.Component {
return pages;
}
handleTouch(){
}
render() {
let {state} = this.props;
return (
<div className={"pageContainer "} style={this.state.pageStyle}>
<div className={"pageContainer "} style={this.state.pageStyle} onTouch="">
<PopupComponent popupInfo={this.state.popupInfo} />
{this.getPages()}
......
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