From b6db43577ae625651f619bc45e8ecce0b4bd9c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 12 Mar 2020 20:20:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../teachercomponent/Histeacomponent.js | 6 ++-- .../teachercomponent/Signteacomponent.js | 33 +++++++++++++++++++ 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 public/react/src/modules/courses/signin/component/teachercomponent/Signteacomponent.js diff --git a/public/react/src/modules/courses/signin/component/teachercomponent/Histeacomponent.js b/public/react/src/modules/courses/signin/component/teachercomponent/Histeacomponent.js index 72b2aaea1..c5b2062f5 100644 --- a/public/react/src/modules/courses/signin/component/teachercomponent/Histeacomponent.js +++ b/public/react/src/modules/courses/signin/component/teachercomponent/Histeacomponent.js @@ -1,8 +1,8 @@ import React,{ Component } from "react"; import '../../css/signincdi.css'; //在线学习 -class Teaccomponent extends Component{ - //教师正在签到 +class Histeacomponent extends Component{ + //教师历史签到 constructor(props){ super(props); @@ -30,4 +30,4 @@ class Teaccomponent extends Component{ ) } } -export default Teaccomponent; +export default Histeacomponent; diff --git a/public/react/src/modules/courses/signin/component/teachercomponent/Signteacomponent.js b/public/react/src/modules/courses/signin/component/teachercomponent/Signteacomponent.js new file mode 100644 index 000000000..2507c6d1e --- /dev/null +++ b/public/react/src/modules/courses/signin/component/teachercomponent/Signteacomponent.js @@ -0,0 +1,33 @@ +import React,{ Component } from "react"; +import '../../css/signincdi.css'; +//在线学习 +class Signteacomponent extends Component{ + //教师签到统计 + constructor(props){ + super(props); + + this.state={ + + } + } + + componentDidMount() { + + } + + componentDidUpdate = (prevProps) => { + + + } + + + + render(){ + return( + + + + ) + } +} +export default Signteacomponent;