<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.key"></td>
                <td v-text="item.value"></td>
            </tr>
        </tbody>
    </table>
    </div> 
  </div>
</template>

<script>
  module.exports = {
        data: function() {
            return {
                  datax:[
                        {key:"巡特警工作站",value:"1个，8人"},
                        {key:"治安管理员",value:"9人"},
                        {key:"民警",value:"2人"},
                        {key:"道路监控数",value:"105个"},
                        {key:"小区监控数",value:"350个"},
                        {key:"鹰眼数",value:"3个"}
                  ],
            }
        }, 
        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>

