|
@@ -123,7 +123,7 @@ class OrderCenterPage extends Component {
|
|
|
<NavBars navBarText="我的订单" changePage={this.props.changePage} page="user"/>
|
|
<NavBars navBarText="我的订单" changePage={this.props.changePage} page="user"/>
|
|
|
<div style={{marginTop:"45px"}}><TabBarTop tabChange={this.tabChange} tabs={this.state.tabs}/></div>
|
|
<div style={{marginTop:"45px"}}><TabBarTop tabChange={this.tabChange} tabs={this.state.tabs}/></div>
|
|
|
<div className="orderList">
|
|
<div className="orderList">
|
|
|
- {orderList.length===0?
|
|
|
|
|
|
|
+ {orderList.length===0 ?
|
|
|
<div style={{marginTop:'200px',padding:'1px',position:'relative',zIndex:'10',display:'flex',justifyContent:'center'}}>
|
|
<div style={{marginTop:'200px',padding:'1px',position:'relative',zIndex:'10',display:'flex',justifyContent:'center'}}>
|
|
|
<div>订单为空<span onClick={()=>this.props.changePage('index')} style={{color:'#108ee9'}}>去购物</span></div>
|
|
<div>订单为空<span onClick={()=>this.props.changePage('index')} style={{color:'#108ee9'}}>去购物</span></div>
|
|
|
</div>
|
|
</div>
|
|
@@ -147,3 +147,6 @@ export default props=>{
|
|
|
</PageContext.Consumer>
|
|
</PageContext.Consumer>
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|