.Layout { width: 100%; height: 100%; background-color: #f1f2f6; overflow: hidden; :global { .layoutLeft { position: relative; width: 100%; height: 60px; display: flex; box-shadow: 1px 1px 1px #ccc; background-color: #fff; .layoutLeftTit { width: 240px; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; & > p { &:nth-of-type(1) { font-size: 18px; font-weight: 700; } } } .layoutLeftMain { display: flex; .layoutLRowBox { font-size: 18px; font-weight: 700; display: flex; justify-content: center; align-items: center; padding: 0 30px; background-color: #f8f8f8; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 5px solid transparent; transition: all 0.5s; cursor: pointer; &:hover { border-bottom: 5px solid var(--themeColor); } } .active { pointer-events: none; border-bottom: 5px solid var(--themeColor); } } .layoutRightTop { height: 60px; width: auto; position: absolute; right: 0; top: 0; .user { position: relative; right: -150px; top: 0; height: 100%; display: flex; align-items: center; font-size: 16px; color: black; transition: all 0.3s; .userNameBox { width: auto; 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; color: var(--themeColor); } .userInco { margin-left: 10px; color: var(--themeColor); } .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; } } } .layoutRight { height: calc(100% - 60px); width: 100%; overflow: hidden; padding: 20px; .layoutRightMain { border-radius: 14px; overflow: hidden; height: 100%; background-color: #fff; .mainBoxR { width: 100%; height: 100%; // overflow: hidden; position: relative; & > div { width: 100%; height: 100%; // background-color: #fff; // border-radius: 10px; // padding: 20px; } } } } } }