From c813b6fd44c0f2553fc97b91212c9638a473417b Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Mon, 10 Feb 2020 15:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/Video/Live.js | 7 +- .../src/modules/courses/Video/LiveItem.js | 42 ++++- .../src/modules/courses/Video/LiveNew.js | 144 +++++++++++++----- .../react/src/modules/courses/Video/Video.js | 6 +- .../src/modules/courses/Video/VideoIndex.js | 59 +++++-- .../react/src/modules/courses/Video/video.css | 8 +- .../user/usersInfo/video/VideoUploadList.js | 40 ++--- 7 files changed, 219 insertions(+), 87 deletions(-) diff --git a/public/react/src/modules/courses/Video/Live.js b/public/react/src/modules/courses/Video/Live.js index 71dced679..741339723 100644 --- a/public/react/src/modules/courses/Video/Live.js +++ b/public/react/src/modules/courses/Video/Live.js @@ -7,10 +7,10 @@ import './video.css'; class Live extends Component{ render(){ - const { liveData , lives , successFunc , pageSize , changePage } = this.props; + const { liveData , lives , successFunc , pageSize , changePage , page } = this.props; return( -
+ 创建时间:{item.created_at}
+ {
+ item.op_auth ?
+
+
- EduCoder推荐您使用腾讯课堂进行直播 - 操作指引 -
- - + ) } diff --git a/public/react/src/modules/courses/Video/Video.js b/public/react/src/modules/courses/Video/Video.js index 189503be9..a9492a252 100644 --- a/public/react/src/modules/courses/Video/Video.js +++ b/public/react/src/modules/courses/Video/Video.js @@ -133,14 +133,14 @@ class Video extends Component{ } render(){ - const { count , visible , videoVisible , videoId } = this.state; + const { visible , videoVisible , videoId } = this.state; const CourseId=this.props.match.params.coursesId; const login=this.props.user&&this.props.user.login; const _inputValue = videoId && this.getCopyText(videoId.file_url, videoId.cover_url); const { admin , is_teacher ,business} = this.props.user; - const { videos , upload , uploadVideo , videoData , changePage ,pageSize } = this.props; + const { videos , upload , uploadVideo , videoData , changePage ,pageSize ,page } = this.props; const operation = admin || business || (is_teacher && this.props.checkIfProfessionalCertification()) return( @@ -209,7 +209,7 @@ class Video extends Component{ { videoData && videoData.count > pageSize &&