.Layout { width: 100%; height: 100%; display: flex; :global { .layoutLeft { position: relative; width: 220px; height: 100%; background-color: var(--themeColor2); .layoutLeftTop { text-align: center; padding: 20px 20px 10px; color: #fff; } .layoutLeftMain { // padding-top: 10px; .layoutLRowBox { .layoutLRowBoxTxt { font-size: 18px; font-weight: 700; height: 40px; line-height: 50px; padding-left: 20px; color: #fff; opacity: 0.8; } .layoutLRowBoxRow { opacity: 0.8; color: #fff; text-align: left; cursor: pointer; font-size: 16px; height: 50px; line-height: 50px; // margin-bottom: 5px; padding-left: 40px; & > span { font-size: 12px; } &:hover { background-color: #69c790; opacity: 1; } } .active { opacity: 1; pointer-events: none; background-color: #69c790; } } } } .layoutRight { width: calc(100% - 220px); height: 100%; overflow: hidden; .layoutRightTop { height: 60px; position: relative; .user { position: absolute; right: -150px; top: 0; height: 100%; display: flex; align-items: center; font-size: 16px; color: black; transition: all 0.3s; .userNameBox { cursor: pointer; background: url('../../assets/img/user.png') no-repeat left center; background-size: 40px 40px; padding-left: 46px; height: 60px; display: flex; align-items: center; } .userInco { margin-left: 10px; color: black; } .userInco1 { // display: none; opacity: 0 !important; } .userSet { position: relative; top: 10px; margin-left: 40px; width: 140px; opacity: 1; height: 74px; & > div { box-shadow: 1px 1px 4px 4px #ccc; border-radius: 10px; overflow: hidden; & > span { cursor: pointer; background-color: #fff; display: block; width: 100%; text-align: center; height: 35px; line-height: 35px; &:hover { color: var(--themeColor); } } } } } .userShow { right: 20px; } } .layoutRightMain { height: calc(100% - 60px); padding: 15px; background-color: #ecedf1; .mainBoxR { width: 100%; height: 100%; // overflow: hidden; position: relative; & > div { width: 100%; height: 100%; } } } } } }