<template>
    <div class='route-draw-container'>
        <div class="filter-container">
        
            <el-input type="text" placeholder="请输入人名搜索" size="mini" style="width:200px;margin:0px 12px;"></el-input>
            <el-button type="default" icon="el-icon-refresh-left" size="mini">重置</el-button>
            <el-button type="primary" icon="el-icon-search" size="mini">搜索</el-button>
        </div>
        <div class="data-list-container">
          <el-table :data="tableData" height=" calc( 100% - 60px)" style="width: 100%;" size="mini"
            >
              <el-table-column
              show-overflow-tooltip prop="createuserName" width="120"
              label="用户名称"></el-table-column>

              <el-table-column
              show-overflow-tooltip prop="createTime"
              label="采集时间"></el-table-column>

              <el-table-column
              show-overflow-tooltip prop="roadtype"
              label="道路类型"></el-table-column>
              
              <el-table-column
              show-overflow-tooltip prop="remark"
              label="备注信息"></el-table-column>

              <el-table-column
              show-overflow-tooltip prop="createTime"
              label="编辑时间"></el-table-column>

              <el-table-column fixed="right" label="操作" width="120">
              <template slot-scope="scope">
                  <el-button type="primary" style="margin-top:6px;"
                  icon="el-icon el-icon-tickets" size="mini">
                  查看
                  </el-button>
              </template>
              </el-table-column>
          </el-table>
        </div>
        <div class="page-container">
            <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
              :current-page="listQuery.pageNum" :page-sizes="[20,50,100, 200, 300, 400]" :page-size="listQuery.pageSize"
              layout="total, sizes, prev, pager, next, jumper" :total="total">
            </el-pagination>
        </div>
    </div>
</template>

<script>

export default {
   components: {},
   props:[],
   data() {
    return {
        tableData:[
            {
                id:"",
                createTime:"2023-10-27 12:23:54",
                createuserId:"",
                createuserName:"徐景良",
                roadtype:2,
                remark:"备注信息"
            },{
                id:"",
                createTime:"2023-10-27 12:23:54",
                createuserId:"",
                createuserName:"徐景良",
                roadtype:2,
                remark:"备注信息"
            },{
                id:"",
                createTime:"2023-10-27 12:23:54",
                createuserId:"",
                createuserName:"徐景良",
                roadtype:2,
                remark:"备注信息"
            },{
                id:"",
                createTime:"2023-10-27 12:23:54",
                createuserId:"",
                createuserName:"徐景良",
                roadtype:2,
                remark:"备注信息"
            },{
                id:"",
                createTime:"2023-10-27 12:23:54",
                createuserId:"",
                createuserName:"徐景良",
                roadtype:2,
                remark:"备注信息"
            },{
                id:"",
                createTime:"2023-10-27 12:23:54",
                createuserId:"",
                createuserName:"徐景良",
                roadtype:2,
                remark:"备注信息"
            },{
                id:"",
                createTime:"2023-10-27 12:23:54",
                createuserId:"",
                createuserName:"徐景良",
                roadtype:2,
                remark:"备注信息"
            }
        ],
        listQuery:{
          key:null,
          pageIndex:1,
          pageSize:10,
        },
        total:0,
    };
   },
   computed: {},
   watch: {},
   methods: {
    handleSizeChange(e){

    },
    handleCurrentChange(e){

    }
   },
   created() {
   
   },
   mounted() {
   
   },
   destroyed() {
   
   },
}
</script>

<style scoped>

.route-draw-container{
    width:100%;
    margin-left:20px;
    height: calc(100% -  120px);
    padding:30px;
}

.filter-container{
  width:100%;
    padding:20px 15px;
    border-bottom: 1px solid #108eff;
    text-align:right;
}

.data-list-container{
  padding:30px 0px;

}
.page-container{
  width:100%;
  padding:15px;
  border-top: 1px solid #108eff;
}

::v-deep .el-table {
    background: none;
  }

  ::v-deep .el-form-item__label {
    padding: 0px;
  }

  ::v-deep .el-form-item {
    margin-bottom: 5px;
  }

  ::v-deep .el-table__fixed-right::before,
  .el-table__fixed::before {
    height: 0px;
  }

  ::v-deep .el-table::before {
    height: 0px;
  }

  ::v-deep .el-form--inline {
    height: 30px;
  }

  ::v-deep .mapboxgl-ctrl {
    display: block;
  }

  ::v-deep .el-table td.el-table__cell,
  .el-table th.el-table__cell.is-leaf {
    border-bottom: 1px solid hsl(240, 100%, 37%, 0.2);
  }


  ::v-deep .el-input__inner {
    background-color: transparent;
    border: 0.0625rem solid #00b2ff;
    color: #fff;
    border-radius: 0px;
  }

  ::v-deep .el-button {
    border-radius: 0px;
  }

  ::v-deep .el-form-item__label {
    color: #00b2ff;
    /* line-height: 2.1875rem; */
  }

  ::v-deep .el-button--small {
    padding: 0.625rem 2.1875rem;
  }

  ::v-deep .el-form--inline .el-form-item {
    /* margin-left: 1.875rem; */
  }

  ::v-deep .el-table,
  .el-table__expanded-cell {
    background: transparent !important;
  }

  /* “表格内背景颜色“ */
  ::v-deep.el-table th,
  ::v-deep.el-table tr,
  ::v-deep.el-table td {
    background-color: transparent !important;
  }

  /*  按钮样式修改 */
  ::v-deep .el-button--success {
    background: #266a94;
    color: #00f261;
    border: 0;
  }

  ::v-deep .el-button--info {
    background: #482c27;
    color: #8ac2da;
    border: 0;
  }

  ::v-deep.el-button--primary {
    background: #266a94;
    color: #8ac2da;
    border: 0;
  }

  ::v-deep.el-button--primary {
    background: #578ef0;
    color: #fff;
    border: 0;
  }

  /*修改element-ui的table 在鼠标悬停hover时的高亮颜色*/
  ::v-deep.el-table tbody tr:hover>td {
    background-color: black !important;
  }

  /* 第一个 dialog修改  */
  ::v-deep.dialog_one .el-dialog {
    background: #266a94 !important;
    border: 1px solid #10a2e1;
  }

  ::v-deep.dialog_one .el-dialog__title {
    color: #00b2ff;
    font-size: 2rem;
  }

  ::v-deep.dialog_one .el-dialog__header {
    text-align: center;
  }

  /* 第二个 dialog 修改 */
  ::v-deep.dialog_two .el-dialog {
    background: rgba(37, 61, 75, 0.7) !important;
    border: 1px solid #797979;
  }

  ::v-deep.dialog_two .el-dialog__body {
    padding: 10px 0;
  }

  ::v-deep.dialog_two .el-dialog__header {
    padding: 0;
  }


  ::v-deep .el-table__cell {
    background: none;
    padding: 0px;
    font-size: 14px;
    color: #ccc;
  }

  ::v-deep .cell {
    padding: 0px;
    height: 40px;
    line-height: 40px;
    /* background:hsl(212, 43%, 49%,0.5); */
    text-align: center;
    font-size: 12px;
  }

  ::v-deep .number {
    background: none;
    color: #fff;
  }

  ::v-deep .btn-next {
    background: none;
    color: #fff;
  }

  ::v-deep .btn-prev {
    background: none;
    color: #fff;
  }

  ::v-deep .el-pagination__total {
    color: #fff;
  }

  ::v-deep .el-pagination__jump {
    color: #fff;
  }

  ::v-deep .el-pagination button:disabled {
    background: none;
  }

  ::v-deep .disabled {
    background: none;
  }

  ::v-deep .el-descriptions__body {
    background: none;
    color: #ccc;
  }

  ::v-deep .el-descriptions-row {
    background: none;
    color: #eee;
  }


  ::v-deep .el-descriptions-item__label {
    background: hsl(212, 43%, 49%, 0.5);
    color: #eee;
    font-weight: bold;
  }

  ::v-deep .el-descriptions .is-bordered .el-descriptions-item__cell {
    border-color: hsl(212, 43%, 49%, 1);
  }

  ::v-deep .mapboxgl-ctrl-logo {
    display: none;
  }
</style>