<!--车辆列表-->
<template>
  <div class="app-container">
    <el-tabs v-model="activeName">
      <el-tab-pane label="访客" name="visitor">
        <visitor-today :show-date-range="true" />
      </el-tab-pane>
      <el-tab-pane label="访客车辆" name="car">
        <visitor-car-today :show-date-range="true" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import VisitorToday from '@/views/visitor/visitorTodayList'
import VisitorCarToday from '@/views/visitor/visitorCarTodayList'

export default {
  name: 'VisitorList',
  components: { VisitorCarToday, VisitorToday },
  data() {
    return {
      activeName: 'visitor'
    }
  },
  created() {

  },
  methods: {

  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
  $tableTitleHeight:46px;
  .app-container{
    margin-bottom:20px
  }
  .table{
    margin-bottom: 20px;
  }
  .pagination-container{
    margin-bottom: 50px;
  }
  .table-title{
    background-color:rgba(243, 243, 243, 1);
    height: $tableTitleHeight;
    .title-header{
      line-height:$tableTitleHeight;
      color: #606266;
      font-size: 15px;
      i{
        margin-left: 5px;
        margin-right: 5px;
      }
    }
  }
  .edit_btns{
    .edit_btn{
      float:right;
      margin:7px 3px;//为了需要居中显示margin-top和bottom要用$tableTitleHeight减去按钮原高度除以2
    }
  }
</style>
