Compare commits
2 Commits
84061751f1
...
f4ae704751
Author | SHA1 | Date |
---|---|---|
nopy | f4ae704751 | |
nopy | df22157f52 |
|
@ -119,7 +119,7 @@
|
||||||
margin-top: 180px;
|
margin-top: 180px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
border: 1px solid #ceedf5;
|
border: 10px solid #ceedf5;
|
||||||
background-color: #d4f6f6;
|
background-color: #d4f6f6;
|
||||||
}
|
}
|
||||||
.TrainBox table{
|
.TrainBox table{
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
.close-icon{
|
.close-icon{
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
background-color: #a0d4e0;
|
background-color: #ceedf5;
|
||||||
border: none;
|
border: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 620px;
|
left: 620px;
|
||||||
|
|
|
@ -91,10 +91,7 @@ function TrainManage(){
|
||||||
{TrainData&&<tbody>
|
{TrainData&&<tbody>
|
||||||
<div className='box-blue'>
|
<div className='box-blue'>
|
||||||
{Object.keys(TrainData).map((key,index)=>(
|
{Object.keys(TrainData).map((key,index)=>(
|
||||||
<tr style={{
|
<tr style={{ display: 'flex', }}
|
||||||
display: 'flex',
|
|
||||||
backgroundColor: index % 2 === 0 ? '#d4f6f6':'#fdecf5' // 偶数行一个颜色,奇数行另一个颜色
|
|
||||||
}}
|
|
||||||
id='detailed_box_tr1'>
|
id='detailed_box_tr1'>
|
||||||
<td style={{ flex: 1 }}>{key}</td>
|
<td style={{ flex: 1 }}>{key}</td>
|
||||||
<td style={{ flex: 1 }}>{TrainData[key][0]}</td>
|
<td style={{ flex: 1 }}>{TrainData[key][0]}</td>
|
||||||
|
|
Loading…
Reference in New Issue