<template>
    <div class="header-wrap ">
        <div class="header-logo">
            <img src="../assets/header-logo.png" alt="">
        </div>
        <div class="header-right flex">
            <div class="right-item">权限设置</div>
            <div class="right-item">岗位设置</div>
            <el-dropdown trigger="click">
                <div class="right-item flex el-dropdown-link">
                    <img class="right-item-icon" src="../assets/header-icon.png" alt="">
                    <span>学术论文出版</span>
                    <img src="../assets/header-drop.svg" alt="">
                </div>
                <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item icon="el-icon-plus">黄金糕</el-dropdown-item>
                    <el-dropdown-item icon="el-icon-circle-plus">狮子头</el-dropdown-item>
                    <el-dropdown-item icon="el-icon-circle-plus-outline">螺蛳粉</el-dropdown-item>
                    <el-dropdown-item icon="el-icon-check">双皮奶</el-dropdown-item>
                    <el-dropdown-item icon="el-icon-circle-check">蚵仔煎</el-dropdown-item>
                </el-dropdown-menu>
            </el-dropdown>
        </div>
    </div>
</template>
<style lang="scss" scoped>
.flex {
    display: flex;
}

.header-wrap {
    color: #1E2226;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 64px);
    height: 100%;
    align-items: center;
    position: absolute;
    z-index: 9;
    .header-logo {
        img {
            height: 46px;
        }
    }

    .header-right {
        width: 362px;
        justify-content: space-between;
        .el-dropdown-link {
            cursor: pointer;
        }

        .right-item-icon {
            width: 36px;
            height: 36px;
        }

        .right-item-icon+span {
            display: inline-block;
            margin: 0 6px 0 12px;
        }
    }
}
</style>