This commit is contained in:
parent
da7c3f5372
commit
8d29d0eb44
|
@ -8,30 +8,23 @@
|
||||||
float: right;
|
float: right;
|
||||||
background-color: #f7f8fa;
|
background-color: #f7f8fa;
|
||||||
}
|
}
|
||||||
|
.link-box{
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
.title-link{
|
.title-link{
|
||||||
position: absolute;
|
|
||||||
top: 30px;
|
|
||||||
left: -110px;
|
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
.title-link th{
|
|
||||||
padding-left: 190px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.link-table{
|
.link-table{
|
||||||
margin-top: 50px;
|
position: relative;
|
||||||
position: absolute;
|
|
||||||
top: 40px;
|
|
||||||
left: 22px;
|
|
||||||
}
|
}
|
||||||
.link-table td{
|
.link-table td{
|
||||||
padding-left: 45px;
|
padding: 0 26.2px;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
border-bottom: 1px solid #8a9991;
|
border-bottom: 1px solid #8a9991;
|
||||||
/* border-top: 1px solid #8a9991; */
|
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
.link-table input{
|
.link-table input{
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
|
|
@ -60,30 +60,32 @@ function StudentLink(){
|
||||||
}
|
}
|
||||||
return(
|
return(
|
||||||
<div className='body-right-studentlink'>
|
<div className='body-right-studentlink'>
|
||||||
{TestLink&&<table>
|
<div className='link-box'>
|
||||||
<thead>
|
{TestLink&&<table>
|
||||||
<tr className='title-link'>
|
<thead>
|
||||||
<th>学生</th>
|
<tr className='title-link'>
|
||||||
<th>链接1</th>
|
<th>学生</th>
|
||||||
<th>链接2</th>
|
<th>链接1</th>
|
||||||
<th>链接3</th>
|
<th>链接2</th>
|
||||||
<th>分数</th>
|
<th>链接3</th>
|
||||||
<th>建议</th>
|
<th>分数</th>
|
||||||
</tr>
|
<th>建议</th>
|
||||||
</thead>
|
</tr>
|
||||||
<tbody>
|
</thead>
|
||||||
{Object.keys(TestLink).map((key)=>(
|
<tbody>
|
||||||
<tr key={key} className='link-table'>
|
{Object.keys(TestLink).map((key)=>(
|
||||||
<td>{key}</td>
|
<tr key={key} className='link-table'>
|
||||||
<td><Link to={TestLink[key][6]} target="_blank">{TestLink[key][6]}</Link></td>
|
<td>{key}</td>
|
||||||
<td><Link to={TestLink[key][7]} target="_blank">{TestLink[key][7]}</Link></td>
|
<td><Link to={TestLink[key][6]} target="_blank">{TestLink[key][6]}</Link></td>
|
||||||
<td><Link to={TestLink[key][8]} target="_blank">{TestLink[key][8]}</Link></td>
|
<td><Link to={TestLink[key][7]} target="_blank">{TestLink[key][7]}</Link></td>
|
||||||
<td><input type="text" onChange={handleInputChange} name={TestLink[key][0]}/></td>
|
<td><Link to={TestLink[key][8]} target="_blank">{TestLink[key][8]}</Link></td>
|
||||||
<td><input type="text" onChange={handleInputChange2} name={TestLink[key][0]} /></td>
|
<td><input type="text" onChange={handleInputChange} name={TestLink[key][0]}/></td>
|
||||||
</tr>
|
<td><input type="text" onChange={handleInputChange2} name={TestLink[key][0]} /></td>
|
||||||
))}
|
</tr>
|
||||||
</tbody>
|
))}
|
||||||
</table>}
|
</tbody>
|
||||||
|
</table>}
|
||||||
|
</div>
|
||||||
<button onClick={submit} className='submit'>确定</button>
|
<button onClick={submit} className='submit'>确定</button>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue