<template>
    <div class="ZfControlPlatform">
        <div class="container_left">
            <div class="task">
                <taskList></taskList>
            </div>
            <div class="preview">
                <positionView></positionView>
            </div>
        </div>
        <div class="container_center">
            <div class="map_wrap">
                <img src="@/assets/img/image@1x.png" alt="">
            </div>
            <div class="event_list_wrap">
                <eventList></eventList>
            </div>
        </div>
        <div class="container_right">
            <taskController></taskController>
        </div>
    </div>
</template>

<script setup lang="ts">
import taskList from "@/components/zfControlPlatform/taskList/index.vue"
import positionView from "@/components/zfControlPlatform/positionView/index.vue"
import eventList from "@/components/zfControlPlatform/eventList/index.vue"
import taskController from "@/components/zfControlPlatform/taskController/index.vue"
</script>

<style lang="less" scoped>
.ZfControlPlatform {

    display: flex;
    padding: 12px;
    height: 100%;


    .container_left {
        width: 363px;
        margin-right: 12px;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        height: 100%;

        .task {
            background-color: brown;
            flex: 1;
            margin-bottom: 12px;
            height: 0;
        }

        .preview {
            height: 363px;
            flex-shrink: 0;
            background-color: rgb(24, 24, 24);
        }

    }

    .container_center {
        flex: 1;
        margin-right: 12px;
        display: flex;
        flex-direction: column;
        width: 0;

        .map_wrap {
            flex: 1;
            height: 0;
            margin-bottom: 12px;
            background-color: aqua;
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .event_list_wrap {
            height: 363px;
            flex-shrink: 0;
            width: 100%;
            overflow: hidden;
            background-color: rgb(24, 24, 24);
        }

    }

    .container_right {
        width: 371px;
        background-color: black;
        flex-shrink: 0;
        height: 100%;
    }


    
}
</style>