|
|
@@ -2,6 +2,8 @@ import React, { Component } from 'react'
|
|
|
|
|
|
|
|
|
import NavBars from '../common/NavBar'
|
|
|
+import Head from '../common/Head'
|
|
|
+import Lists from '../common/List'
|
|
|
|
|
|
export default class My extends Component {
|
|
|
constructor(props){
|
|
|
@@ -9,15 +11,47 @@ export default class My extends Component {
|
|
|
this.state={
|
|
|
navBarText:'我的'
|
|
|
}
|
|
|
+ this.myAccount=this.myAccount.bind(this)
|
|
|
+ this.myAssets=this.myAssets.bind(this)
|
|
|
+ this.contactServer=this.contactServer.bind(this)
|
|
|
+ this.feedback=this.feedback.bind(this)
|
|
|
}
|
|
|
componentWillMount(){
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ myAccount(){
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ myAssets(){
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ contactServer(){
|
|
|
+
|
|
|
+ }
|
|
|
+ feedback(){
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
render() {
|
|
|
return (
|
|
|
<div>
|
|
|
<NavBars navBarText={this.state.navBarText} changePage={this.props.changePage}/>
|
|
|
- my
|
|
|
+ <div className="myWrap">
|
|
|
+ <Head name="王刘永" icon="https://wx.qlogo.cn/mmopen/vi_32/WVmxTicpGCIAM13MBzSQTbqicMaWJNVpDqKHO9aC3SAdrSACCBcwOhIFSOeUY99iay8xlEkibhK0TaHElgtoBF1gzg/132"/>
|
|
|
+ <Lists callback={this.myAccount} text="我的账户" icon="https://wly-1254337200.cos.ap-guangzhou.myqcloud.com/bill.svg"/>
|
|
|
+ <Lists callback={this.myAssets} text="资产管理" icon="https://wly-1254337200.cos.ap-guangzhou.myqcloud.com/assets.svg"/>
|
|
|
+ <div className="extra">
|
|
|
+ <Lists callback={this.contactServer} text="联系客服"/>
|
|
|
+ <Lists callback={this.feedback} text="意见反馈"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
)
|
|
|
}
|