.person-container{ display: flex; justify-content: space-between; align-items: flex-start; margin: 50px auto; width: 1100px; } //.person-body{ // display: flex; // justify-content: space-between; // align-items: flex-start; // margin: 50px 0; //} .side-bar{ width: 20%; } .main-card{ width: 70%; min-height: 540px; padding: 10px 20px 30px 20px; &__body{ width: 100%; } &__title{ font-weight: 500; font-size: 24px; } &__info{ width: 400px; padding: 30px; font-size: 18px; &-item{ margin-top: 20px; width: 100%; border-bottom: 0.5px $note-color solid; &:last-child{ border-bottom: none; padding-bottom: 20px; } &__head{ margin-top: 30px; } &__name{ display: inline-block; } &__modify{ margin-left: 20px; color: $focus-color; font-size: 14px; vertical-align: center; cursor: pointer; } &__value{ margin: 20px 0 30px 0; } } } &__tab{ margin: 20px; &__item{ margin-left: 10px; margin-top: 30px; width: 100%; } &__input{ width: 300px; } &__button{ width: 120px; margin: 20px auto; } } &__table{ margin: 20px; width: calc(100% - 40px); *::-webkit-scrollbar { width: 6px; // 横向滚动条 height: 6px; // 纵向滚动条 必写 } // 滚动条的滑块 *::-webkit-scrollbar-thumb { background-color: #ddd; border-radius: 3px; } } &__chart{ width: 600px; height: 400px; margin: 20px 20px; } &__list{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; width: 100%; padding: 20px 10px; } }