|
|
@@ -4,6 +4,8 @@ import NavBars from '../common/NavBar'
|
|
|
import Head from '../common/Head'
|
|
|
import Lists from '../common/List'
|
|
|
|
|
|
+import {successToast} from '../common/Toast'
|
|
|
+
|
|
|
|
|
|
class UserPage extends Component{
|
|
|
constructor(props){
|
|
|
@@ -19,18 +21,18 @@ class UserPage extends Component{
|
|
|
toOrder(){
|
|
|
console.log('toOrder')
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
render(){
|
|
|
return(
|
|
|
<div>
|
|
|
<NavBars navBarText="我的"/>
|
|
|
<Head />
|
|
|
- <div className="lists">
|
|
|
- <Lists text="我的预约" icon="https://wly-1254337200.cos.ap-guangzhou.myqcloud.com/order.svg" callback={this.toOrder}/>
|
|
|
+ <div className="lists" style={{marginTop:"20px",border:"1px solid transparent"}}>
|
|
|
+ <Lists text="我的预约" icon="https://wly-1254337200.cos.ap-guangzhou.myqcloud.com/order.svg" callback={()=>{successToast('敬请期待',1)}}/>
|
|
|
<div style={{height:"30px"}}></div>
|
|
|
- <Lists text="我的客服" callback={this.toOrder}/>
|
|
|
+ <Lists text="我的客服" callback={()=>{successToast('敬请期待',1)}}/>
|
|
|
<div style={{height:"10px"}}></div>
|
|
|
- <Lists text="意见反馈" callback={this.toOrder}/>
|
|
|
+ <Lists text="意见反馈" callback={()=>{successToast('敬请期待',1)}}/>
|
|
|
</div>
|
|
|
</div>
|
|
|
)
|