<template>
    <header>
        <div class="leftsidebar">
            <a href="http://221.12.135.185:8090/bigScreen_new/home.html">
                <img src="../assets/logo.png" alt="" />
            </a>
        </div>
        <div class="mainbav">
            <a href="http://hy.ifarmcloud.com/screen/#/lvShanXiang">吕山牧场</a>
            <a
                href="http://hy.ifarmcloud.com/screen/#/butcher"
                >湖羊产业</a
            >
            <a class="h_m_active" href="javascrtpt:void(0)">特色湖羊</a>
            <a
                href="http://hy.ifarmcloud.com/screen/#/yield"
                >湖羊养殖</a
            >
            <a
                href="http://122.237.98.3:8888/LvShanDaShuJu/page/page_map.html"
                >智慧养殖</a
            >
        </div>
        <div class="rightsidebar">
            <div>
                <img src="../assets/yonghu.png" alt="" />
                <span>admin 欢迎你！</span>
            </div>
            <div>
                <img src="../assets/tuichu.png" alt="" />
                <span>退出</span>
            </div>
        </div>
    </header>
</template>

<script>
export default {
    name: "HyHeader",
};
</script>

<style scoped lang="scss">
header {
    height: 133px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.leftsidebar {
    width: 1036px;
    background-image: url(../assets/zs.png);
    background-size: 360% 180%;
    background-repeat: no-repeat;
    height: 100%;
}

.leftsidebar img {
    margin-left: 80px;
    height: 80%;
}

.mainbav {
    width: 2000px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.mainbav a {
    background-image: url(../assets/li_bg2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: block;
    width: 317px;
    height: 78px;
    line-height: 78px;
    text-align: center;
    font-size: 44px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 2px;
    font-size: 44px;
    color: grey;
    opacity: 0.5;
}

.h_m_active {
    width: 420px !important;
    height: 100px !important;
    line-height: 100px !important;
    font-size: 60px !important;
    opacity: 1 !important;
    color: #00fcff !important;
}

.rightsidebar {
    width: 690px;
    height: 80px;
    background-image: url(../assets/youshangjiao.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    align-items: center;
}

.rightsidebar > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 20px;
}

.rightsidebar img {
    width: 36px;
    height: 38px;
    vertical-align: middle;
}

.rightsidebar span {
    margin: 0 25px;
    font-family: "Noto Sans SC";
    font-size: 28px;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: 1px;
    color: #00cdff;
}
</style>
