<template>
  <div>
    <h1 class="bt_h1">环境保护</h1>
    <div class="table-a"> 
    <table class="layui-table" style="background-color: #ece5e500;">
        <colgroup>
            <col width="140">
            <col width="140">
            <col>
        </colgroup>
        <thead>
            <tr style="color:#fff;" class="tr_th">
                <th>管理员</th>
                <th>道路保洁员</th>
                <th>小区保洁员</th>
            </tr> 
        </thead>
        <tbody class="bg_tr">
            <tr v-for="(item,index) in datax">
                <td v-text="item.gly"></td>
                <td v-text="item.dlbjy"></td>
                <td v-text="item.xqbjy"></td>
            </tr>
        </tbody>
    </table>
    </div> 
  </div>
</template>

<script>
  module.exports = {
        data: function() {
            return {
                  datax:[{gly:"彭林",dlbjy:"21名",xqbjy:"108名"}],
                  datadl:[{dlgly:"彭林",dlmc:"兴兴路、兴卫路、经五路、华电北路"}]
            }
        }, 
        props:["title"],
        methods:{

        },
        computed:{

        }
  }
</script>
<style scoped>
    .bt_h1{
        text-align: center;
        font-size: 20px;
        color: white;
        font-weight: 500;
        margin-top: 8px;
    }
    .table-a table{border:1px solid #F00} 
    .bg_tr tr:hover{
        background-color: #ece5e500 ! important;
    }
    .bg_tr{
        color: #fff;
    }
    .bg_tr td{
       text-align: center;
    }
    .tr_th{
        background: linear-gradient(#415dc0, #9aaab5);
    }
    .tr_th th{
        text-align: center;
    }

</style>

