courseware
杨树林 5 years ago
parent e604fc6b93
commit 69522c5956

@ -42,11 +42,11 @@ if (isDev) {
window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin'
}
// 超管
//debugType="admin";
debugType="admin";
// 老师
// debugType="teacher";
// 学生
debugType="student";
// debugType="student";

@ -431,6 +431,13 @@
white-space:nowrap;
cursor: default;
}
.maxnamewidth200ss{
max-width: 200px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
cursor: default;
}
.maxnamewidth150s{
width: 150px;
max-width: 150px;
@ -439,6 +446,13 @@
white-space:nowrap;
cursor: default;
}
.maxnamewidth150ss{
max-width: 150px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
cursor: default;
}
.maxnamewidth140s{
width: 140px;
max-width: 140px;
@ -511,3 +525,10 @@
.textalignrights{
text-align: right;
}
.width200s{
width: 200px !important;
}
.width150s{
width: 150px !important;
}

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

@ -31,9 +31,10 @@ class Videostatisticslist extends Component {
dataIndex: 'title',
key: 'title',
align: "center",
className: 'font-14',
className: 'font-14 width200s',
width:200,
render: (text, record) => (
<div style={{width: '200px'}} className="maxnamewidth200s textalignlefts">
<div className="maxnamewidth200ss textalignlefts" style={{ wordWrap: 'break-word', wordBreak: 'break-word' }}>
<script>
{
`
@ -48,7 +49,7 @@ class Videostatisticslist extends Component {
`
}
</script>
<a className="maxnamewidth200s textalignlefts" style={{
<a className="maxnamewidth200ss textalignlefts" style={{
color:"#333333"
}} title={record.title}>{record.title}</a>
@ -60,12 +61,12 @@ class Videostatisticslist extends Component {
dataIndex: 'people_num',
key: 'people_num',
align: "center",
className: 'font-14',
width: '98px',
className: 'font-14 width150s',
sorter: true,
sortDirections: sortDirections,
width:150,
render: (text, record) => (
<span style={{width: '98px'}}>{record.people_num}</span>
<span>{record.people_num}</span>
),
},
{
@ -73,12 +74,12 @@ class Videostatisticslist extends Component {
dataIndex: 'total_time',
key: 'total_time',
align: "center",
className: 'font-14 maxnamewidth100s ',
width: '100px',
className: 'font-14 width150s ',
sorter: true,
sortDirections: sortDirections,
width:150,
render: (text, record) => (
<div style={{width: '100px'}} className="maxnamewidth100s textalignrights">
<div className="maxnamewidth150ss textalignrights">
<script>
{
`
@ -93,7 +94,7 @@ class Videostatisticslist extends Component {
`
}
</script>
<a className="maxnamewidth100s textalignrights" style={{
<a className="maxnamewidth150ss textalignrights" style={{
color:"#333333"
}} title={record.total_time}>{record.total_time}</a>
@ -105,10 +106,10 @@ class Videostatisticslist extends Component {
dataIndex: 'user_name',
key: 'user_name',
align: "center",
className: 'font-14 maxnamewidth100s',
width: '100px',
className: 'font-14 width150s',
width:150,
render: (text, record) => (
<span style={{width: '100px'}} className="maxnamewidth100s">
<span className="maxnamewidth150ss">
<script>
{
`
@ -123,7 +124,7 @@ class Videostatisticslist extends Component {
`
}
</script>
<a className="maxnamewidth100s" style={{
<a className="maxnamewidth150ss" style={{
color:"#333333"
}} title={record.user_name}>{record.user_name}</a>
@ -136,9 +137,8 @@ class Videostatisticslist extends Component {
key: 'id',
align: "center",
className: 'font-14',
width: '50px',
render: (text, record) => (
<span style={{width: '50px',color:'#5091FF'}} className="xiaoshou" onClick={()=>this.props.tisticsbools(true,record.id,record.title)}>详情</span>
<span style={{color:'#5091FF'}} className="xiaoshou" onClick={()=>this.props.tisticsbools(true,record.id,record.title)}>详情</span>
),
}
],

Loading…
Cancel
Save