<template>
    <div class="body">
        <img class="logo" src="../../assets/img/logo.png" alt="">
        <div class="title">关注区</div>
        <div class="agc" @click="showAGC">AGC监控</div>
        <div style="margin-top: 50px; margin-left: 10px; height: 24vh;">
            <el-scrollbar>
                <div class="scoll" style="margin-left: 5px;">
                    <FocusCard></FocusCard>
                </div>
            </el-scrollbar>
        </div>
        <AGCDetails v-model="display"></AGCDetails>
    </div>

</template>
<script>
    import FocusCard from "./focusCard.vue";
    import AGCDetails from "./agcDetails.vue";
    
    // import boxSelect from "components/boxSelect.vue";
    export default {
        data() {
            return {
                display: false,
                
            };
        },
        components: {
            FocusCard,
            AGCDetails
            // boxSelect,
        },
        methods: {
            showAGC() {
                this.display = true
            },
            
        },
    }
</script>
<style scoped>
    .body {
        border: 1px solid #373737;
        width: 100%;
        margin-left: 15px;
        margin-top: 10px;
        height: 30.5vh
    }

    .body .scoll {
        height: 91%;
    }

    .title {
        color: #ffffff;
        font-size: 14px;
        margin-left: 32px;
        /* margin-top: 12px; */
        margin-bottom: 10px;
        /* width: 570px; */
        width: 29vw;
        height: 50px;
        display: flex;
        align-items: center;
        position: absolute;
        background-color: #000000;
    }

    .title::before {
        z-index: 1;
        content: '';
        position: absolute;
        left: -18px !important;
        /* top: 30px !important; */
        width: 5px;
        height: 5px;
        background-color: rgba(230, 191, 65, 1);
        border-radius: 50%;
    }

    .logo {
        position: absolute;
        top: 2px;
        left: 12px;
    }

    .agc {
        position: absolute;
        color: #ffffff;
        font-size: 14px;
        right: 0;
        top: 23px;
        width: 80px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(37, 116, 219, 1);
    }
</style>