<template>
    <div class="layout_main">
        <!-- <div class="title_top">
            <div class="title_name" >
                XXX单位可视化大屏系统设计
            </div>
        </div> -->

        <!-- <leftNav /> -->

        <router-view />
    </div>
</template>

<script>
import { dictData } from "@/api/bigScreen/api.js";
// import leftNav from "@/components/leftNav/index.vue";
export default {
    name: 'Layout_main',
    props: {

    },
    components: {
        // leftNav
    },
    data(){
        return {
            
        }
    },
    created(){
        // const query = {
        //     pageNum: 1,
        //     pageSize: 100,
        //     dictType: 'sys_title',
        // }
        // this.$store.dispatch("getDict", query).then((res) => {
        //     let dictList = JSON.stringify(res.rows)
        //     this.$cache.session.set('dictList', dictList);
        // }).catch(() => {
            
        // })
    },
    methods: {
        async getdictData(){
            let res = await dictData()
            if (res.code == 0) {
                
            }
        }
    }
}
</script>

<style lang="scss" scoped>
.layout_main{
    width: 100vw;
    height: 100vh;
    background-image: url('~@/assets/bigScreen/bg_1.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    .title_top{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 78px;
        background: transparent;
        z-index: 99;
        // background-image: url('~@/assets/bigScreen/bg_title.png');
        // background-repeat: no-repeat;
        // background-size: 100% 100%;
        .title_name{
            cursor: pointer;
            // font-family: SourceHanSansSC;
            // font-size: 32px;
            // font-weight: bold;
            // // background: linear-gradient(to bottom,#ffffff 60%, #ffffff,60%, #8af3ff); /* 渐变颜色 */
            // background: linear-gradient(to bottom, #ffffff, #8af3ff); /* 渐变颜色 */
            // background-clip: text;
            // -webkit-background-clip: text;
            // color: transparent; /* 使文字透明，以显示背景渐变 */
            // text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 添加底部阴影 */
            // line-height: 78px;
            // text-align: center;
            // letter-spacing: 0.1em;  /* 设置为相对单位，字符之间的间距是字体大小的10% */
            // user-select: none;
        }
    }  
    
}
</style>