courseware
杨树林 5 years ago
parent 9cdfaebe6f
commit 93b40e339b

@ -46,7 +46,7 @@ debugType="admin";
// 老师
// debugType="teacher";
// 学生
debugType="student";
// debugType="student";

@ -494,6 +494,13 @@
white-space:nowrap;
cursor: default;
}
.maxnamewidth100s{
max-width: 100px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
cursor: default;
}
.maxnamewidth90s{
width: 90px;
max-width: 90px;
@ -532,7 +539,13 @@
.width150s{
width: 150px !important;
}
.width100s{
width: 100px !important;
}
.widh150pxwp{
wordWrap: break-word;
wordBreak: break-word
}
.widh150wpos{
word-break: break-all;
}

@ -21,9 +21,9 @@ class Videostatisticslist extends Component {
key: 'number',
align: "center",
className: 'font-14',
width: '90px',
width: '100px',
render: (text, record) => (
<span style={{width: '90px'}}>{record.number}</span>
<span style={{width: '100px'}}>{record.number}</span>
),
},
{
@ -31,7 +31,7 @@ class Videostatisticslist extends Component {
dataIndex: 'title',
key: 'title',
align: "center",
className: 'font-14 width200s',
className: 'font-14 width200s widh150wpos',
width:200,
render: (text, record) => (
<div className="maxnamewidth200ss textalignlefts" style={{ wordWrap: 'break-word', wordBreak: 'break-word' }}>
@ -74,12 +74,12 @@ class Videostatisticslist extends Component {
dataIndex: 'total_time',
key: 'total_time',
align: "center",
className: 'font-14 width150s ',
className: 'font-14 width100s ',
sorter: true,
sortDirections: sortDirections,
width:150,
width:100,
render: (text, record) => (
<div className="maxnamewidth150ss textalignrights">
<div className="maxnamewidth100s textalignrights">
<script>
{
`
@ -94,7 +94,7 @@ class Videostatisticslist extends Component {
`
}
</script>
<a className="maxnamewidth150ss textalignrights" style={{
<a className="maxnamewidth100s textalignrights" style={{
color:"#333333"
}} title={record.total_time}>{record.total_time}</a>

Loading…
Cancel
Save