调整鼠标小手

courseware
杨树林 5 years ago
parent f1543a5b5b
commit a9d670b50f

@ -408,7 +408,7 @@
} }
.tbrt{ .tbrt{
padding-top: 22px; padding-top: 22px;
padding-left: 28px; padding-left: 17px;
} }
.tbrt .ts { .tbrt .ts {
font-size:12px; font-size:12px;
@ -453,6 +453,15 @@
white-space:nowrap; white-space:nowrap;
cursor: default; cursor: default;
} }
.maxnamewidth166ss{
max-width: 166px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
cursor: default;
}
.maxnamewidth140s{ .maxnamewidth140s{
width: 140px; width: 140px;
max-width: 140px; max-width: 140px;

@ -1,6 +1,6 @@
import React, {Component} from "react"; import React, {Component} from "react";
import '../../signin/css/signincdi.css'; import '../../signin/css/signincdi.css';
import {Progress, message} from 'antd'; import {Progress, message,Tooltip} from 'antd';
import {getImageUrl,formatSeconds} from 'educoder'; import {getImageUrl,formatSeconds} from 'educoder';
import axios from 'axios'; import axios from 'axios';
@ -97,7 +97,9 @@ class Studenticscom extends Component {
<div className="yslshipingshi" style={{width:260,height:100}}> <div className="yslshipingshi" style={{width:260,height:100}}>
<div className="ws100s verticallayout tbrt"> <div className="ws100s verticallayout tbrt">
<div className="ws100 ts">总观看时长</div> <div className="ws100 ts">总观看时长</div>
<div className="ws100s tss">{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}</div> <Tooltip placement="bottom" title={this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}>
<div className="maxnamewidth166ss tss">{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}</div>
</Tooltip>
</div> </div>
</div> </div>

@ -1,6 +1,6 @@
import React, {Component} from "react"; import React, {Component} from "react";
import '../../signin/css/signincdi.css'; import '../../signin/css/signincdi.css';
import {Progress, message} from 'antd'; import {Progress, message,Tooltip} from 'antd';
import {getImageUrl,formatSeconds} from 'educoder'; import {getImageUrl,formatSeconds} from 'educoder';
import axios from 'axios'; import axios from 'axios';
@ -97,7 +97,9 @@ class Videostatisticscom extends Component {
<div className="yslshipingshi" style={{width:260,height:100}}> <div className="yslshipingshi" style={{width:260,height:100}}>
<div className="ws100s verticallayout tbrt"> <div className="ws100s verticallayout tbrt">
<div className="ws100 ts">总观看时长</div> <div className="ws100 ts">总观看时长</div>
<div className="ws100s tss">{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}</div> <Tooltip placement="bottom" title={this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}>
<div className="maxnamewidth166ss tss">{this.props.watch_staticsdata&&this.props.watch_staticsdata.total_duration?formatSeconds(this.props.watch_staticsdata.total_duration):0}</div>
</Tooltip>
</div> </div>
</div> </div>

Loading…
Cancel
Save