dev_cs_new
杨树林 6 years ago
parent 7ab045503f
commit 14c99e9a72

@ -959,7 +959,7 @@ samp {
/* 表格间距太大 */
.ant-table-tbody>tr>td, .ant-table-thead>tr>th {
padding: 16px 0px;
padding: 10px 0px;
}
/* FORM START */
.ant-form label{

@ -420,7 +420,9 @@ class Listofworksstudentone extends Component {
align: 'center',
className:'font-14',
render: (text, record) => (
<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom === undefined ? "--" : record.classroom === "" ? "--" : record.classroom === null ? "--" : record.classroom}</span>
<span>
{record.classroom === undefined ?<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}> --</span> : record.classroom === "" ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span>: record.classroom === null ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span> : <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>}
</span>
)
},
{
@ -682,7 +684,9 @@ class Listofworksstudentone extends Component {
align: 'center',
className:'font-14',
render: (text, record) => (
<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom === undefined ? "--" : record.classroom === "" ? "--" : record.classroom === null ? "--" : record.classroom}</span>
<span>
{record.classroom === undefined ?<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}> --</span> : record.classroom === "" ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span>: record.classroom === null ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span> : <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>}
</span>
)
},
{
@ -2728,6 +2732,9 @@ class Listofworksstudentone extends Component {
<style>{`
.ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {
top: 72%;}
}
.ant-table-thead > tr > th, .ant-table-tbody > tr > td {
padding: 10px;
}
`}</style>
<div className="edu-table edu-back-white ">
@ -2802,7 +2809,15 @@ class Listofworksstudentone extends Component {
</span>
</li>:""}
<style>
{
`
.ant-table-thead > tr > th, .ant-table-tbody > tr > td {
padding: 10px;
}
`
}
</style>
<div className="edu-table edu-back-white ">
{data === undefined ? "" : <Table
style={styletable}
@ -2918,6 +2933,9 @@ class Listofworksstudentone extends Component {
.ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {
top: 72%;}
}
.ant-table-thead > tr > th, .ant-table-tbody > tr > td {
padding: 10px;
}
`}</style>
<div className="edu-table edu-back-white ">
{datas === undefined ? "" : <Table

Loading…
Cancel
Save