<template>
    <div class="event_item">
        <img class="cover" src="@/assets/img/Rectangle 28@1x.png" alt="">
        <div class="content">
            <p>
                <span class="label">时间：</span>
                <span>2024-04-26 11:52:27</span>
            </p>
            <p>
                <span class="label">地点：</span>
                <span>东风中路</span>
            </p>
            <p>
                <span class="label">类型：</span>
                <span>AI 创建</span>
            </p>
            <p>
                <span class="label">分类：</span>
                <span>拥堵</span>
            </p>
        </div>
    </div>
</template>

<script setup lang="ts">

</script>

<style lang="less" scoped>
.event_item {
    width: 249px;
    background-color: #053063;
    margin-right: 16px;
    .cover {
        width: 100%;
        height: 196px;
        width: 249px;
        object-fit: cover;
        display: block;
        background-color: antiquewhite;
    }

    .content {
        display: flex;
        flex-direction: column;
        padding: 8px 16px;
        font-size: 14px;

        p {
            color: #fff;
            height: 20px;
            display: flex;
            align-items: center;
            .label {
                color: rgba(255, 255, 255, 0.65);
            }
        }

    }
}
</style>