PCqiandao
杨树林 5 years ago
parent 0de8a8ec96
commit ec1361cae9

@ -0,0 +1,33 @@
import React,{ Component } from "react";
import '../../css/signincdi.css';
//在线学习
class Teaccomponent extends Component{
//教师正在签到
constructor(props){
super(props);
this.state={
}
}
componentDidMount() {
}
componentDidUpdate = (prevProps) => {
}
render(){
return(
<React.Fragment>
</React.Fragment>
)
}
}
export default Teaccomponent;

@ -1,7 +1,8 @@
import React,{ Component } from "react"; import React,{ Component } from "react";
import '../css/signincdi.css'; import '../../css/signincdi.css';
//在线学习 //在线学习
class Teaccomponent extends Component{ class Teaccomponent extends Component{
//教师正在签到
constructor(props){ constructor(props){
super(props); super(props);

@ -19,7 +19,6 @@ class Signinmain extends Component{
} }
componentDidUpdate = (prevProps) => { componentDidUpdate = (prevProps) => {
console.log("componentDidUpdate");
} }

@ -2,6 +2,7 @@ import React,{ Component } from "react";
import '../css/signincdi.css'; import '../css/signincdi.css';
import { Tabs } from 'antd'; import { Tabs } from 'antd';
import Teaccomponent from '../component/teachercomponent/Teaccomponent'; import Teaccomponent from '../component/teachercomponent/Teaccomponent';
import Histeacomponent from '../component/teachercomponent/Histeacomponent';
const { TabPane } = Tabs; const { TabPane } = Tabs;
//在线学习 //在线学习
class Students_signin extends Component{ class Students_signin extends Component{
@ -18,7 +19,6 @@ class Students_signin extends Component{
} }
componentDidUpdate = (prevProps) => { componentDidUpdate = (prevProps) => {
console.log("componentDidUpdate");
} }
@ -45,6 +45,7 @@ class Students_signin extends Component{
</TabPane> </TabPane>
<TabPane tab="历史签到" key="2"> <TabPane tab="历史签到" key="2">
<p className="mt20 mysligtes">共3个签到正在进行</p> <p className="mt20 mysligtes">共3个签到正在进行</p>
<Histeacomponent {...this.state} {...this.props}></Histeacomponent>
</TabPane> </TabPane>
<TabPane tab="签到统计" key="3"> <TabPane tab="签到统计" key="3">
Content of Tab Pane 3 Content of Tab Pane 3

Loading…
Cancel
Save