dev_cs_new
杨树林 6 years ago
parent 4cdfbcce8f
commit 5414a7301e

@ -98,23 +98,24 @@ class ListPageIndex extends Component{
let {yslGuideone} =this.state; let {yslGuideone} =this.state;
console.log("98"); console.log("98");
console.log(yslGuideone); console.log(yslGuideone);
// console.log(this.props.isAdmin());
return ( return (
<div> <div>
<div className="newMain clearfix"> <div className="newMain clearfix">
{/*头部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"}}>

@ -124,10 +124,9 @@ class Listofworksstudentone extends Component {
dataIndex: 'name', dataIndex: 'name',
key: 'name', key: 'name',
align: "center", align: "center",
className:'font-14', className:'font-14 maxnamewidth100',
width:'100px',
render: (text, record) => ( render: (text, record) => (
<span> <span className="maxnamewidth100">
{record.name === undefined ? {record.name === undefined ?
<span style={{ <span style={{
"color": '#9A9A9A', "color": '#9A9A9A',
@ -152,7 +151,7 @@ class Listofworksstudentone extends Component {
"text-align": "center" "text-align": "center"
}}>--</span> }}>--</span>
: :
<span style={{ <span className="maxnamewidth100" style={{
"color": '#07111B', "color": '#07111B',
"text-align": "center" "text-align": "center"
}}>{record.name}</span> }}>{record.name}</span>
@ -393,10 +392,9 @@ class Listofworksstudentone extends Component {
dataIndex: 'name', dataIndex: 'name',
key: 'name', key: 'name',
align: 'center', align: 'center',
className:'font-14', className:'font-14 maxnamewidth100',
width:'120px',
render: (text, record) => ( render: (text, record) => (
<span style={{"color": '#07111B', "text-align": "center"}}>{record.name}</span> <span className="maxnamewidth100" style={{"color": '#07111B', "text-align": "center"}}>{record.name}</span>
) )
}, },
{ {
@ -655,10 +653,9 @@ class Listofworksstudentone extends Component {
dataIndex: 'name', dataIndex: 'name',
key: 'name', key: 'name',
align: 'center', align: 'center',
className:'font-14', className:'font-14 maxnamewidth100',
width:'120px',
render: (text, record) => ( render: (text, record) => (
<span style={{"color": '#07111B', "text-align": "center"}}>{record.name}</span> <span className="maxnamewidth100" style={{"color": '#07111B', "text-align": "center"}}>{record.name}</span>
) )
}, },
{ {

@ -1,39 +1,45 @@
.ant-checkbox-group > div .boardsList{ .ant-checkbox-group > div .boardsList{
/* border-top: 1px solid #ebebeb; */ /* border-top: 1px solid #ebebeb; */
padding:10px 0px 20px!important; padding:10px 0px 20px!important;
} }
.ant-checkbox-group > div:first-child .boardsList{ .ant-checkbox-group > div:first-child .boardsList{
border-top: none; border-top: none;
} }
.boardsList .contentSection { .boardsList .contentSection {
flex: 1; flex: 1;
margin-left: 15px; margin-left: 15px;
} }
.ant-select-selection--single,.ant-select-selection__rendered{ .ant-select-selection--single,.ant-select-selection__rendered{
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
} }
.ant-input:focus + .ant-input-group-addon{ .ant-input:focus + .ant-input-group-addon{
background-color: #fff!important; background-color: #fff!important;
} }
.ant-input-group-addon{ .ant-input-group-addon{
color: #666!important; color: #666!important;
font-size: 12px; font-size: 12px;
border: 1px solid #d9d9d9!important; border: 1px solid #d9d9d9!important;
border-left: none!important; border-left: none!important;
} }
.courseForm .ant-form-item-label{ .courseForm .ant-form-item-label{
margin-left: unset; margin-left: unset;
} }
/* 毕设选题列表 */ /* 毕设选题列表 */
.TopicDetailTable .topHead{background-color: #F5F5F5;height: 56px;color: #666666;padding:0px 30px} .TopicDetailTable .topHead{background-color: #F5F5F5;height: 56px;color: #666666;padding:0px 30px}
.TopicDetailTable .topHead span,.TopicDetailTable .bottomBody li span{display: block;float: left;justify-content: center;align-items: center;display: -webkit-flex;height: 56px;} .TopicDetailTable .topHead span,.TopicDetailTable .bottomBody li span{display: block;float: left;justify-content: center;align-items: center;display: -webkit-flex;height: 56px;}
.TopicDetailTable .bottomBody{padding:0px 30px} .TopicDetailTable .bottomBody{padding:0px 30px}
.TopicDetailTable .bottomBody li{border-bottom: 1px solid #eee;clear: both;} .TopicDetailTable .bottomBody li{border-bottom: 1px solid #eee;clear: both;}
.TopicDetailTable .bottomBody li:last-child{border-bottom: none;} .TopicDetailTable .bottomBody li:last-child{border-bottom: none;}
.maxnamewidth100{
max-width: 100px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap
}
Loading…
Cancel
Save