.Layout { width: 100%; height: 100%; display: flex; :global { .layoutLeft { position: relative; width: 220px; height: 100%; background-color: var(--themeColor); .layoutLeftTop { text-align: center; padding: 20px 20px 0px; & > img { width: 208px; } } .layoutLeftMain { height: calc(100% - 67px); overflow-y: auto; padding-bottom: 10px; &::-webkit-scrollbar-thumb { background: var(--themeColor2); } .layoutLRowBox { .layoutLRowBoxTxt { // opacity: 0.8; font-size: 18px; font-weight: 700; height: 50px; line-height: 50px; padding-left: 35px; color: #fff; display: flex; align-items: center; & > img { width: 30px; height: 30px; object-fit: cover; display: inline-block; margin-right: 10px; } } .layoutLRowBoxRow { color: #fff; text-align: center; cursor: pointer; font-size: 16px; height: 40px; line-height: 40px; &:hover { background-color: var(--themeColor2); } } .active { // pointer-events: none; background-color: var(--themeColor2); } } } } .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; img { border-radius: 50%; width: 40px; height: 40px; margin-right: 20px; } } .userNameBoxDing { pointer-events: none; } .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%; } } } } } }