diff --git a/public/react/src/modules/courses/signin/css/signincdi.css b/public/react/src/modules/courses/signin/css/signincdi.css index c6711c4a5..eb63a7a41 100644 --- a/public/react/src/modules/courses/signin/css/signincdi.css +++ b/public/react/src/modules/courses/signin/css/signincdi.css @@ -408,7 +408,7 @@ } .tbrt{ padding-top: 22px; - padding-left: 28px; + padding-left: 17px; } .tbrt .ts { font-size:12px; @@ -453,6 +453,15 @@ white-space:nowrap; cursor: default; } +.maxnamewidth166ss{ + max-width: 166px; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; + cursor: default; +} + + .maxnamewidth140s{ width: 140px; max-width: 140px; diff --git a/public/react/src/modules/courses/videostatistics/component/Studenticscom.js b/public/react/src/modules/courses/videostatistics/component/Studenticscom.js index e161be77d..a4a78ebda 100644 --- a/public/react/src/modules/courses/videostatistics/component/Studenticscom.js +++ b/public/react/src/modules/courses/videostatistics/component/Studenticscom.js @@ -1,6 +1,6 @@ import React, {Component} from "react"; import '../../signin/css/signincdi.css'; -import {Progress, message} from 'antd'; +import {Progress, message,Tooltip} from 'antd'; import {getImageUrl,formatSeconds} from 'educoder'; import axios from 'axios'; @@ -97,7 +97,9 @@ class Studenticscom extends Component {
总观看时长(时)
-
{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}
+ +
{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}
+
diff --git a/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js b/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js index 94031cd85..ea4cee4d6 100644 --- a/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js +++ b/public/react/src/modules/courses/videostatistics/component/Videostatisticscom.js @@ -1,6 +1,6 @@ import React, {Component} from "react"; import '../../signin/css/signincdi.css'; -import {Progress, message} from 'antd'; +import {Progress, message,Tooltip} from 'antd'; import {getImageUrl,formatSeconds} from 'educoder'; import axios from 'axios'; @@ -97,8 +97,10 @@ class Videostatisticscom extends Component {
总观看时长(时)
-
{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}
-
+ +
{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}
+
+