import React, {Component} from 'react';
import {TabBar} from 'antd-mobile';
import {Icon} from 'antd';
import './App.css';
import My from './page/home/My';
import Display from './page/display/Display';
import Manage from "./page/manage/Manage";
class App extends Component {
constructor(props) {
super(props);
this.state = {
selectedTab: 'appointment',
fullScreen: true,
userID: 'handsome'
};
}
render() {
let {userID} = this.state;
return (
}
selectedIcon={}
selected={this.state.selectedTab === 'appointment'}
onPress={() => {
this.setState({
selectedTab: 'appointment',
});
}}
data-seed="logId"
>
}
selectedIcon={}
title="我的"
key="my"
selected={this.state.selectedTab === 'my'}
onPress={() => {
this.setState({
selectedTab: 'my',
});
}}
>
}
selectedIcon={}
title="管理"
key="manage"
selected={this.state.selectedTab === 'manage'}
onPress={() => {
this.setState({
selectedTab: 'manage',
});
}}
>
);
}
}
export default App;