PCqiandao
parent
8f2dec86d0
commit
cd4abc4481
@ -0,0 +1,52 @@
|
|||||||
|
import React,{ Component } from "react";
|
||||||
|
import '../css/signincdi.css';
|
||||||
|
import Detailss from '../component/Detailss';
|
||||||
|
//在线学习
|
||||||
|
class Signindetails extends Component{
|
||||||
|
constructor(props){
|
||||||
|
super(props);
|
||||||
|
|
||||||
|
this.state={
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
componentDidMount() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
componentDidUpdate = (prevProps) => {
|
||||||
|
console.log("componentDidUpdate");
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
callback=(key)=> {
|
||||||
|
console.log(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
render(){
|
||||||
|
return(
|
||||||
|
<React.Fragment>
|
||||||
|
<div className="ws100s" style={{
|
||||||
|
position: "relative",
|
||||||
|
}}>
|
||||||
|
<div className="ws100s xaxisreverseorder" style={{
|
||||||
|
position: "absolute",
|
||||||
|
top: "-29px",
|
||||||
|
}}>
|
||||||
|
<p className="sortinxdirection xiaoshou" onClick={()=>this.props.qiandaoxiangq(false)}>
|
||||||
|
<i className="iconfont icon-zuojiantou posiivsiconmyss mr5"></i>
|
||||||
|
<p className="fh mr20"> 返回</p>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<Detailss {...this.props} {...this.state}></Detailss>
|
||||||
|
</div>
|
||||||
|
</React.Fragment>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default Signindetails;
|
@ -1,53 +0,0 @@
|
|||||||
import React,{ Component } from "react";
|
|
||||||
import '../css/signincdi.css';
|
|
||||||
import { Tabs } from 'antd';
|
|
||||||
const { TabPane } = Tabs;
|
|
||||||
//在线学习
|
|
||||||
class Teachers_signin extends Component{
|
|
||||||
constructor(props){
|
|
||||||
super(props);
|
|
||||||
|
|
||||||
this.state={
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
componentDidMount() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
componentDidUpdate = (prevProps) => {
|
|
||||||
console.log("componentDidUpdate");
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
callback=(key)=> {
|
|
||||||
console.log(key);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
render(){
|
|
||||||
return(
|
|
||||||
<React.Fragment>
|
|
||||||
<div className="">
|
|
||||||
<div className="clearfix yslmaxheigthk" >
|
|
||||||
<div className="ws100s">
|
|
||||||
<Tabs defaultActiveKey="1" onChange={this.callback}>
|
|
||||||
<TabPane tab="正在签到" key="1">
|
|
||||||
Content of Tab Pane 1
|
|
||||||
</TabPane>
|
|
||||||
<TabPane tab="历史签到" key="2">
|
|
||||||
Content of Tab Pane 2
|
|
||||||
</TabPane>
|
|
||||||
</Tabs>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</React.Fragment>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export default Teachers_signin;
|
|
Loading…
Reference in new issue