51 lines
1010 B
Vue
51 lines
1010 B
Vue
<template>
|
|
<Card title="车辆管理">
|
|
<div class="car-count">
|
|
今日入场<span>234</span>辆
|
|
</div>
|
|
<div class="car-count">
|
|
今日出场<span>126</span>辆
|
|
</div>
|
|
<div class="list">
|
|
<CarTable type="1" />
|
|
</div>
|
|
</Card>
|
|
</template>
|
|
|
|
<script>
|
|
import Card from '../components/Card.vue'
|
|
import CarTable from './components/CarTable.vue'
|
|
export default {
|
|
components: { Card, CarTable }
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.car-count {
|
|
padding-top: 20px;
|
|
padding-left: 30px;
|
|
font-size: 18px;
|
|
color: #59b2c0;
|
|
display: flex;
|
|
align-items: center;
|
|
span {
|
|
margin-left: 40px;
|
|
margin-right: 20px;
|
|
width: 140px;
|
|
height: 50px;
|
|
line-height: 60px;
|
|
text-align: center;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
background: url(../assets/images/sourse/bg-car-count.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
}
|
|
.list {
|
|
box-sizing: border-box;
|
|
padding-top: 30px;
|
|
height: calc(100% - 120px);
|
|
}
|
|
</style>
|