|
|
@@ -3,7 +3,7 @@ import React, { Component } from 'react';
|
|
|
|
|
|
import NavBars from '../common/NavBar'
|
|
|
import Lists from './List'
|
|
|
-import Buttons from './Button'
|
|
|
+import Buttons from '../common/Button'
|
|
|
import IconList from './IconList'
|
|
|
|
|
|
|
|
|
@@ -71,7 +71,7 @@ class HomePage extends Component{
|
|
|
<div className="dateWrap"><span className="month"> {this.state.month} </span> / {this.state.year}</div>
|
|
|
<Lists bills={this.state.bills} year={this.state.year} month={this.state.month}/>
|
|
|
<div className="buttonWrap">
|
|
|
- <Buttons changePage={this.props.changePage}/>
|
|
|
+ <Buttons changePage={this.props.changePage} toPage='bill' buttonText='+ 记一笔'/>
|
|
|
</div>
|
|
|
<IconList bills={this.state.bills} week={{weekTop,weekBottom}}/>
|
|
|
</div>
|