徐振升
4 years ago
6 changed files with 110 additions and 40 deletions
@ -1 +1,22 @@
|
||||
<p>real-cases works!</p> |
||||
<div class="leisiTable"> |
||||
<table> |
||||
<thead > |
||||
<td style="width:40%;">单位名称</td> |
||||
<td style="width:10%;">始建于</td> |
||||
<td style="width:10%;">着火物</td> |
||||
<td style="width:10%;">点火位置</td> |
||||
<td style="width:10%;">相近度</td> |
||||
<td style="width:20%;">详情</td> |
||||
</thead> |
||||
<tbody id="shujubody" > |
||||
<tr *ngFor="let leisi of leisiYuan"> |
||||
<td style="color: #FFFFFF;">{{leisi.danweiName}}</td> |
||||
<td style="color: #FFFFFF;">{{leisi.year}}</td> |
||||
<td style="color: #FFFFFF;">{{leisi.zhoahuo}}</td> |
||||
<td style="color: #FFFFFF;">{{leisi.weizhi}}</td> |
||||
<td [ngClass]="{'tdyanse56':leisi.xiangjin>=50&&leisi.xiangjin<=60,'tdyanse78':leisi.xiangjin>60,'tdyanse':leisi.xiangjin<50}">{{leisi.xiangjin}}%</td> |
||||
<td style="color: #CC5D13;">查看详情</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
|
@ -0,0 +1,35 @@
|
||||
.leisiTable{ |
||||
border:1px solid #0E79A9; |
||||
height: 95%; |
||||
width: 100%; |
||||
background-color: #05385E; |
||||
margin-top: 50px; |
||||
table{ |
||||
width: 100%; |
||||
height: 100%; |
||||
border-collapse:collapse; |
||||
thead{ |
||||
td{ |
||||
color:#F7BA2A; |
||||
height: 50px; |
||||
text-align:center; |
||||
border-bottom: 1px solid #0E79A9; |
||||
} |
||||
} |
||||
tbody{ |
||||
td{ |
||||
text-align:center; |
||||
|
||||
} |
||||
} |
||||
} |
||||
} |
||||
.tdyanse56{ |
||||
color:#3BA9F2 |
||||
} |
||||
.tdyanse78{ |
||||
color:#28BC69 |
||||
} |
||||
.tdyanse{ |
||||
color: #FFFFFF; |
||||
} |
Loading…
Reference in new issue