courseware
杨树林 5 years ago
parent 49c87cf075
commit 41ee0e954a

@ -423,6 +423,14 @@
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
line-height: 33px; line-height: 33px;
} }
.maxnamewidth200s{
width: 200px;
max-width: 200px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
cursor: default;
}
.maxnamewidth150s{ .maxnamewidth150s{
width: 150px; width: 150px;
max-width: 150px; max-width: 150px;

@ -31,10 +31,10 @@ class Studentstatistics extends Component {
dataIndex: 'title', dataIndex: 'title',
key: 'title', key: 'title',
align: "center", align: "center",
className: 'font-14 maxnamewidth150s', className: 'font-14 maxnamewidth200s',
width: '150px', width: '200px',
render: (text, record) => ( render: (text, record) => (
<div style={{width: '150px'}} className="maxnamewidth150s textalignlefts"> <div style={{width: '200px'}} className="maxnamewidth200s textalignlefts">
<script> <script>
{ {
` `
@ -49,7 +49,7 @@ class Studentstatistics extends Component {
` `
} }
</script> </script>
<a className="maxnamewidth150s textalignlefts" style={{ <a className="maxnamewidth200s textalignlefts" style={{
color:"#333333" color:"#333333"
}} title={record.title}>{record.title}</a> }} title={record.title}>{record.title}</a>

@ -78,12 +78,12 @@ class Videostatisticscomtwo extends Component {
dataIndex: 'total_duration', dataIndex: 'total_duration',
key: 'total_duration', key: 'total_duration',
align: "center", align: "center",
className: 'font-14 maxnamewidth100s', className: 'font-14 maxnamewidth200s',
width: '100px', width: '100px',
sorter: true, sorter: true,
sortDirections: sortDirections, sortDirections: sortDirections,
render: (text, record) => ( render: (text, record) => (
<div style={{width: '100px'}} className="maxnamewidth100s"> <div style={{width: '100px'}} className="maxnamewidth200s">
<script> <script>
{ {
` `
@ -98,7 +98,7 @@ class Videostatisticscomtwo extends Component {
` `
} }
</script> </script>
<a className="maxnamewidth100s" style={{ <a className="maxnamewidth200s" style={{
color:"#333333" color:"#333333"
}} title={record.total_duration}>{record.total_duration}</a></div> }} title={record.total_duration}>{record.total_duration}</a></div>
), ),

Loading…
Cancel
Save