<template>
  <div>
    <h1 class="bt_h1">工地管理</h1>
    <div class="table-a"> 
    <table class="layui-table" style="background-color: #ece5e500;">
        <colgroup>
            <col width="100">
            <col >
        </colgroup>
        <thead>
            <tr style="color:#fff;" class="tr_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.gdmc"></td>
            </tr>
        </tbody>
    </table>
    </div> 
  </div>
</template>

<script>
  module.exports = {
        data: function() {
            return {
                  datax:[{gly:"彭林",gdmc:"尧红路栖霞段工地、江苏大地土壤修复工地、北京建工土壤修复工地"}]
            }
        }, 
        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>

