Commit 8cc52eb5 by xuzhenghua

我的订单

parent 2a6cb5f4
......@@ -83,13 +83,12 @@ class MyOrders extends Component {
render() {
return (
<div className='myorders-box'>
<HeaderBar title='我的订单' arrow={true} cart={false}></HeaderBar>
<Loading isLoading={this.state.isLoading}>
{
this.state.data && this.state.data.length > 0 ?
this.state.data && JSON.stringify(this.state.data) !== '[{}]'?
<InfiniteScroll
pageStart={0}
hasMore={true}
......@@ -121,8 +120,8 @@ class MyOrders extends Component {
)
return (
<div className="order-wrap" key={index}>
<OrderList
info={Info}
<OrderList
info={Info}
src={item.image_name}
isSign={item.is_aist}
id={item.course_id}
......
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