Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_cs_new
daiao 6 years ago
commit b20292da6f

@ -104,17 +104,17 @@ class ListPageIndex extends Component{
{/*头部banner*/} {/*头部banner*/}
<CoursesBanner {...this.props}></CoursesBanner> <CoursesBanner {...this.props}></CoursesBanner>
{yslGuideone===null||yslGuideone===undefined||yslGuideone===false? {/*{yslGuideone===null||yslGuideone===undefined||yslGuideone===false?*/}
( {/* (*/}
this.props.isAdmin()===true? {/* this.props.isAdmin()===true?*/}
<Guide {/* <Guide*/}
setwindowlocal={(b)=>this.setwindowlocal(b)} {/* setwindowlocal={(b)=>this.setwindowlocal(b)}*/}
> {/* >*/}
</Guide> {/* </Guide>*/}
:"" {/* :""*/}
) {/* )*/}
:"" {/* :""*/}
} {/*}*/}
<div className="educontent clearfix" style={{flex: "1 0 auto"}}> <div className="educontent clearfix" style={{flex: "1 0 auto"}}>

@ -85,9 +85,9 @@ function buildColumns(that, student_works) {
overflow: 'hidden', overflow: 'hidden',
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
width: '98px', width: '74px',
margin: '0 auto' margin: '0 auto'
}} title={text}> }} title={text && text.length > 5 ? text : ''}>
{/* <Tooltip placement="bottom" title={text}> {/* <Tooltip placement="bottom" title={text}>
</Tooltip> */} </Tooltip> */}
{text} {text}
@ -185,7 +185,7 @@ function buildColumns(that, student_works) {
</span> </span>
)}, )},
}, { }, {
width: 150, width: 106,
title: '更新时间', title: '更新时间',
dataIndex: 'update_time', dataIndex: 'update_time',
key: 'update_time', key: 'update_time',
@ -325,7 +325,7 @@ function buildColumns(that, student_works) {
} }
if (isAdminOrStudent || that.props.work_public == true) { if (isAdminOrStudent || that.props.work_public == true) {
columns.push({ columns.push({
width: 92, width: 72,
title: '操作', title: '操作',
key: 'operation', key: 'operation',
dataIndex: 'operation', dataIndex: 'operation',
@ -654,7 +654,7 @@ class CommonWorkList extends Component{
} }
.workListContent .ant-table-thead > tr > th, .workListContent .ant-table-tbody > tr > td { .workListContent .ant-table-thead > tr > th, .workListContent .ant-table-tbody > tr > td {
padding: 10px 2px; padding: 10px 1px;
} }
`}</style> `}</style>
<div style={{ background: '#fff'}} className="workListContent"> <div style={{ background: '#fff'}} className="workListContent">

@ -2492,7 +2492,7 @@ class Listofworksstudentone extends Component {
<div className="clearfix"> <div className="clearfix">
<span className="fl color-grey-6 font-12"><span <span className="fl color-grey-6 font-12"><span
className="color-orange-tip">{teacherdata === undefined ? "" :teacherdata.student_works&&teacherdata.student_works.length}</span>{teacherdata === undefined ? "" : teacherdata.all_member_count} </span> className="color-orange-tip">{teacherdata === undefined ? "" : teacherdata.all_member_count}</span>{teacherdata === undefined ? "" : teacherdata.all_member_count} </span>
<style> <style>
{ {
` `

Loading…
Cancel
Save