| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <div class="top"> |
| | | <el-row type="flex" justify="space-between" style="width: 60%;"> |
| | | <el-col :span="6"> |
| | | <el-card class="card"> |
| | | <i style="font-size: 40px;padding: 15px;" class="el-icon-wind-power"></i> |
| | | </el-card> |
| | | <el-card class="box-card"> |
| | | <el-row type="flex" align="middle" justify="space-between"> |
| | | <el-col :span="2"> |
| | | <div class="icon-container"> |
| | | <i class="el-icon-wind-power"></i> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <el-col :span="6" class="mod"> |
| | | <div class="number">{{ totalKiosks }}</div> |
| | | <div>卡口总数</div> |
| | | <el-col :span="2"> |
| | | <div> |
| | | <div class="dashboard-item"> |
| | | <h3 style="color: #5C9BF8">{{ totalKiosks }}</h3> |
| | | <p>卡口总数</p> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <el-col :span="6" class="mod"> |
| | | <div class="numberTwo">{{ uniqueKiosks }}</div> |
| | | <div>不唯一卡口数</div> |
| | | <el-col :span="2"> |
| | | <div class="dashboard-item"> |
| | | <h3>{{ uniqueKiosks }}</h3> |
| | | <p>不唯一卡口数</p> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <div style="width: 1px;height: 60px;border: 1px solid #D7EBFA;margin: 40px;"></div> |
| | | |
| | | |
| | | <el-col :span="6"> |
| | | <el-card class="card"> |
| | | <i style="font-size: 40px;padding: 15px;" class="el-icon-truck"></i> |
| | | </el-card> |
| | | <el-col :span="1"> |
| | | <div class="dashboard-item"> |
| | | <div style="width: 1px;height: 55px;border: 1px solid #D7EBFA;margin: 20px;"></div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="6" class="mod"> |
| | | <div class="number">{{ totalCarData }}</div> |
| | | <div>过车数据总量</div> |
| | | <el-col :span="2"> |
| | | <div class="icon-container"> |
| | | <i class="el-icon-truck"></i> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <el-col :span="6" class="mod"> |
| | | <div class="numberTwo">{{ uniqueCarData }}</div> |
| | | <div>不唯一数据量</div> |
| | | <el-col :span="2"> |
| | | <div class="dashboard-item"> |
| | | <h3 style="color: #5C9BF8">{{ totalCarData }}</h3> |
| | | <p>过车数据总量</p> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <div class="dashboard-item"> |
| | | <h3>{{ uniqueCarData }}</h3> |
| | | <p>不唯一数据量</p> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="8"></el-col> |
| | | </el-row> |
| | | |
| | | </div> |
| | | </el-card> |
| | | |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="卡口编号" prop="bayonetNumber"> |
| | |
| | | return { |
| | | totalKiosks: 1157, |
| | | uniqueKiosks: 580, |
| | | totalCarData: 77422, |
| | | totalCarData: 1477422, |
| | | uniqueCarData: 431163, |
| | | // 遮罩层 |
| | | loading: true, |
| | |
| | | }; |
| | | </script> |
| | | <style scoped> |
| | | .top { |
| | | height: 150px; |
| | | .box-card { |
| | | background-color: #F5F9FE; |
| | | width: 100%; |
| | | margin-bottom: 20px; |
| | | background-color: #F2F9FF; |
| | | border: 1px solid #77befd; |
| | | height: 120px |
| | | } |
| | | |
| | | .container { |
| | | max-width: 1000px; |
| | | margin: auto; |
| | | .icon-container { |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | border-radius: 20px; |
| | | width: 20%; |
| | | height: 80px; |
| | | margin-left: 5%; |
| | | background-color: #5599F7; |
| | | font-size: 50px; |
| | | color: #FFF; |
| | | width: 85px; |
| | | } |
| | | |
| | | .number { |
| | | font-size: 36px; |
| | | font-weight: bold; |
| | | color: #00A5FE; |
| | | .el-icon-refresh-left { |
| | | font-size: 50px; |
| | | color: #FFFFFF; |
| | | } |
| | | |
| | | .numberTwo { |
| | | font-size: 36px; |
| | | font-weight: bold; |
| | | color: #505051; |
| | | } |
| | | |
| | | .card { |
| | | width: 100px; |
| | | height: 100px; |
| | | .dashboard-item { |
| | | text-align: center; |
| | | background-color: #00A5FE; |
| | | color: aliceblue; |
| | | border-radius: 10%; |
| | | margin: 25px; |
| | | } |
| | | |
| | | .mod { |
| | | margin-top: 40px; |
| | | } |
| | | </style> |