You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.6 KiB
75 lines
1.6 KiB
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<style type="text/css">
|
|
body {
|
|
color: #333333;
|
|
line-height: 1.2;
|
|
font-family: SimHei, Tahoma, Arial, sans-serif;
|
|
}
|
|
|
|
.table {
|
|
border-collapse: collapse;
|
|
border: 1px solid #aaa;
|
|
width: 100%;
|
|
}
|
|
|
|
.table th {
|
|
vertical-align: baseline;
|
|
padding: 10px 10px 10px 10px;
|
|
background-color: #3F3F3F;
|
|
border: 1px solid #3F3F3F;
|
|
text-align: left;
|
|
color: #fff;
|
|
}
|
|
|
|
.table td {
|
|
vertical-align: text-top;
|
|
padding: 9px 9px 9px 9px;
|
|
border: 1px solid #aaa;
|
|
}
|
|
|
|
.table tr:nth-child(odd) {
|
|
background-color: #F5F5F5;
|
|
}
|
|
|
|
.table tr:nth-child(even) {
|
|
background-color: #fff;
|
|
}
|
|
|
|
ul,
|
|
li {
|
|
list-style: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th style="width:10%;">日期</th>
|
|
<th style="width:17%;">起始地</th>
|
|
<th style="width:17%;">到达地</th>
|
|
<th style="width:8%;">里程</th>
|
|
<th style="width:8%;">系统里程</th>
|
|
<th style="width:32%;">目的</th>
|
|
<th style="width:8%;">来源</th>
|
|
</tr>
|
|
#foreach ( $x in $mileageList )
|
|
<tr>
|
|
<td>${x.itemDate}</td>
|
|
<td>${x.from}</td>
|
|
<td>${x.to}</td>
|
|
<td>${x.mileage}</td>
|
|
<td>${x.recMileage}</td>
|
|
<td>${x.reason}</td>
|
|
<td>${x.source}</td>
|
|
</tr>
|
|
#end
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
|
|
</html>
|