判断
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i">
|
<tr v-for="(e, i) in dataList" :key="i" :class="['bgred', 'bgyellow'][Number(e.color_type) - 1]">
|
||||||
<td>{{e.container_name}}</td>
|
<td>{{e.container_name}}</td>
|
||||||
<td>{{e.up_coiler_date}}</td>
|
<td>{{e.up_coiler_date}}</td>
|
||||||
<td>{{e.end_date}}</td>
|
<td>{{e.end_date}}</td>
|
||||||
@@ -112,4 +112,9 @@
|
|||||||
position sticky
|
position sticky
|
||||||
left 89rpx
|
left 89rpx
|
||||||
z-index 102
|
z-index 102
|
||||||
|
.bgred td
|
||||||
|
background-color #ff6a00
|
||||||
|
color #ffffff
|
||||||
|
.bgyellow td
|
||||||
|
background-color #E9B451
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user