.Layout { width: 100%; height: 100%; display: flex; :global { .layoutLeft { position: relative; z-index: 10; width: 220px; height: 100%; box-shadow: 0px 0px 5px 3px; background-color: var(--themeColor2); .layoutLeftTop { padding: 20px 20px 40px; } .layoutLeftMain { height: calc(100% - 173px); padding: 20px; .mainBoxL2RowBox { margin-bottom: 20px; color: #fff; .mainBoxL2RowBoxTit { padding-left: 3px; display: flex; margin-bottom: 10px; font-size: 16px; font-weight: 700; &>.txt { margin-left: 15px; opacity: .7; } } .mainBoxL2Row { width: 160px; opacity: .7; padding-left: 42px; cursor: pointer; height: 40px; line-height: 40px; font-size: 14px; position: relative; margin-bottom: 5px; border-radius: 6px; .rowTip { height: 26px; width: 26px; position: absolute; z-index: 10; right: 10px; top: 50%; transform: translateY(-50%); border-radius: 50%; background-color: var(--themeColor); font-size: 12px; color: black; display: flex; justify-content: center; align-items: center; } &:hover { background-color: var(--themeColor); opacity: 1; color: black; .rowTip { background-color: var(--themeColor2); color: #fff; } } } .active { pointer-events: none; background-color: var(--themeColor); opacity: 1; color: black; .rowTip { background-color: var(--themeColor2); color: #fff; } } } } } .layoutRight { width: calc(100% - 220px); height: 100%; .layoutRightTop { height: 60px; background-image: url('../../assets/img/layoutTop.jpg'); background-size: 100% 100%; display: flex; justify-content: flex-end; position: relative; z-index: 11; .user { padding-right: 40px; display: flex; align-items: center; padding-left: 55px; cursor: pointer; position: relative; background: url('../../assets/img/user.png') no-repeat left center; background-size: 40px 40px; font-size: 16px; color: #fff; .userInco { margin-left: 10px; color: #fff; } .userInco1 { display: none; } .userSet { border-radius: 10px; overflow: hidden; width: 140px; opacity: 0; pointer-events: none; transition: bottom .3s; height: 120px; position: absolute; left: 50%; transform: translateX(-50%); bottom: -80px; padding-top: 20px; color: rgb(226, 223, 223); &>span { background-color: var(--themeColor); display: block; width: 100%; height: 50px; line-height: 50px; text-align: center; &:first-child { border-radius: 10px 10px 0 0; } &:hover { color: #fff; } } } &:hover { .userSet { opacity: 1; pointer-events: auto; bottom: -110px; } .userInco1 { display: block; } .userInco2 { display: none; } } } } .layoutRightMain { height: calc(100% - 60px); .mainBoxR { background-color: #f5f4ed; width: 100%; height: 100%; overflow: hidden; padding: 20px 30px; &>div { width: 100%; height: 100%; } } } } } }