<template>
    <div class="cntBox">
        <div class="gw_title">
            <span class="gw_cj">个人任务列表</span>
        </div>
        <ul class="safety_ul">
            <li class="item" v-for="item in dataList" :key="item">
                <div class="play_sp"></div>
                <div class="play_name">{{item.name}}</div>
                <span class="time">{{item.time }}</span>
            </li>
        </ul>
    </div>
</template>
<script setup>

const dataList=[
    {
        sp:'视频',
        name:'安全生产培训PPT柔柔弱弱安全生产培训PPT柔柔弱弱',
        time:'安检科 - 2023.03.04'
    },
    {
        sp:'视频',
        name:'安全生产培训PPT',
        time:'安检科 - 2023.03.04'
    },
    {
        sp:'视频',
        name:'安全生产培训PPT',
        time:'安检科 - 2023.03.04'
    },
    {
        sp:'视频',
        name:'安全生产培训PPT',
        time:'安检科 - 2023.03.04'
    }
]

</script>
<style  lang="scss" scoped>
.cntBox{
    width: 100%;
    height: 100%;
    .gw_title {
        width:100%;
        height: 40px;
        line-height: 40px;
        background: url('~@/assets/images/icon10.png')no-repeat left center;
        background-size: 100% ;
        .gw_cj {
            margin-left: 40px;
            font-size: 14px;
            font-family: Source Han Sans CN;
            font-weight: 400;
            color: #EBFBFF;
            line-height: 24px;
        }
    }
    .safety_ul{
        display: flex;
        width: 100%;
        .item{
            padding: 5px;
            width: 25%;
            box-sizing: border-box;
            .play_sp{
                width: 100%;
                height: 120px;
                background: #000;
            }
            .play_name{
                width: 100%;
                font-size: 18px;
                font-family: Microsoft YaHei;
                font-weight: 400;
                color: #FEFEFE;
                line-height: 40px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                padding-left: 4px;
                box-sizing: border-box;
            }
            .time{
                font-size: 12px;
                color: #FEFEFE;
                line-height: 20px;
                padding-left: 4px;
                box-sizing: border-box;
            }
        }
    }
}

</style>