dev_home
杨树林 5 years ago
parent 36d578c641
commit 3472711f73

@ -661,7 +661,7 @@ class Studentshavecompletedthelist extends Component {
key: 'classroom',
dataIndex: 'classroom',
align: 'center',
className: "edu-txt-center font-14",
className: "edu-txt-center font-14 maxnamewidth260",
width:"260px",
render: (text, record) => (
<span>
@ -669,15 +669,15 @@ class Studentshavecompletedthelist extends Component {
<span style={{
color: '#999999',
textAlign: "center"
}}>--</span> : record.classroom === "" ?
}} className="maxnamewidth260">--</span> : record.classroom === "" ?
<span style={{
color: '#999999',
textAlign: "center"
}}>--</span> :
}} className="maxnamewidth260">--</span> :
<span style={{
color: '#07111B',
textAlign: "center"
}}>{record.classroom}</span>
}} className="maxnamewidth260">{record.classroom}</span>
}
</span>
@ -904,14 +904,14 @@ class Studentshavecompletedthelist extends Component {
key: 'classroom',
dataIndex: 'classroom',
align: 'center',
className: "edu-txt-center font-14",
className: "edu-txt-center font-14 maxnamewidth260",
width:'260px',
render: (text, record) => (
<span>
{record.classroom==="--"?
<span style={{color: '#999999', textAlign: "center"}}>{record.classroom}</span>
<span style={{color: '#999999', textAlign: "center"}} className="maxnamewidth260">{record.classroom}</span>
:
<span style={{color: '#07111B', textAlign: "center"}}>{record.classroom}</span>
<span style={{color: '#07111B', textAlign: "center"}} className="maxnamewidth260">{record.classroom}</span>
}
</span>
)
@ -1100,14 +1100,14 @@ class Studentshavecompletedthelist extends Component {
key: 'classroom',
dataIndex: 'classroom',
align: 'center',
className: "edu-txt-center font-14",
className: "edu-txt-center font-14 maxnamewidth260 ",
width:'260px',
render: (text, record) => (
<span>
{record.classroom==="--"?
<span style={{color: '#999999', textAlign: "center"}}>{record.classroom}</span>
<span style={{color: '#999999', textAlign: "center"}} className="maxnamewidth260">{record.classroom}</span>
:
<span style={{color: '#07111B', textAlign: "center"}}>{record.classroom}</span>
<span style={{color: '#07111B', textAlign: "center"}} className="maxnamewidth260">{record.classroom}</span>
}
</span>
)

@ -47,3 +47,11 @@
white-space:nowrap;
cursor: default;
}
.maxnamewidth260 {
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: default;
}

Loading…
Cancel
Save