<template>
    <div class="left_top">
        <div class="gw_center">
            <div>
                <div>
                    <img :src="getImgUrl('indexImages/icon16.png')" />
                </div>
                <div class="gw_sj">
                    <span> 部门排名</span>
                    <span class="gw_num">2</span>
                </div>
            </div>
            <div>
                <div>
                    <img :src="getImgUrl('indexImages/icon17.png')" />
                </div>
                <div class="gw_sj">
                    <span> 公司排名</span>
                    <span class="gw_num">56</span>
                </div>
            </div>
        </div>
        <div class="gw_table">
            <el-table :data="tableData" stripe style="width: 100%;">
                <el-table-column prop="score" label="已得分" />
                <el-table-column prop="point" label="可得分" />
                <el-table-column prop="address" label="被扣分" />
            </el-table>
        </div>
    </div>
</template>

<script setup>
import { getImgUrl } from "@/utils/tools.js"
const tableData = [{ score: '85', point: '100', address: '14', }]
</script>
<style lang="scss" scoped>
.left_top {
    width: 100%;
    height: 100%;

    .gw_center {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 94px;

        >div {
            display: flex;
            padding: 10px 10px;
            background: rgba(17, 187, 109, 0.1);
            box-shadow: 0px 19px 112px 0px rgba(49, 79, 124, 0.0392);
            border-radius: 4px 4px 4px 4px;

            >div {
                >img {
                    padding: 0 9px;
                }

                >span {
                    display: block;
                    font-size: 12px;
                    font-family: Microsoft YaHei;
                    font-weight: 400;
                    color: #757575;
                    line-height: 13px;
                    margin-top: 10px;
                    text-align: center;
                }

                .gw_num {
                    font-size: 12px;
                    font-weight: 400;
                    color: #3D3D3D;
                    line-height: 12px;
                }
            }
        }


    }

    .gw_table {
        padding: 0 5px;
        width: 100%;
        background: #FFFFFF;
        box-shadow: 0px 1px 2px 2px rgba(15, 57, 22, 0.03);
        opacity: 1;
    }
}

::v-deep .el-table {
    text-align: center;
    box-shadow: 0px 1px 2px 2px rgba(15, 57, 22, 0.03);
}

::v-deep .el-table .cell {
    line-height: none;
}

::v-deep .el-table th.is-leaf {
    border-top: 1px solid #ecf0ec !important;
    border-bottom: 1px solid rgba(0, 117, 85, 0.2) !important;
}

::v-deep .el-table th.el-table__cell {
    background: #fff !important;
    font-weight: 400;
    color: #757575;
    text-align: center;
}

::v-deep .el-table td.el-table__cell {
    background: rgba($color: #fff, $alpha: 1);
    font-weight: 400;
    color: var(--el-color-primary);
    text-align: center;
}
</style>