html, body { font-size: 14px; } .flex { display: flex; } .flex-auto { flex: 1; } .flex-center { align-items: center; } .w100 { width: 100% !important; } .h100 { height: 100% !important; } .vh100 { height: 100vh !important; } .max100vh { max-height: 100vh !important; } .min100vh { min-height: 100vh !important; } /* 外边距、内边距全局样式 ------------------------------- */ @for $i from 1 through 35 { .mt#{$i} { margin-top: #{$i}px !important; } .mr#{$i} { margin-right: #{$i}px !important; } .mb#{$i} { margin-bottom: #{$i}px !important; } .ml#{$i} { margin-left: #{$i}px !important; } .pt#{$i} { padding-top: #{$i}px !important; } .pr#{$i} { padding-right: #{$i}px !important; } .pb#{$i} { padding-bottom: #{$i}px !important; } .pl#{$i} { padding-left: #{$i}px !important; } } .custom-submenu { .el-menu { padding: 0; border-radius: 4px; min-width: 120px; } .el-menu-item { font-weight: 400; font-size: 16px; color: #323232 !important; height: 24px; line-height: 24px; text-align: center; &:hover { background-color: #ebf3ff !important; color: #386afe !important; } } } .el-card { border-radius: 8px !important; .header { display: flex; align-items: center; justify-content: space-between; h4 { font-weight: bold; font-size: 18px; color: #2c405e; } } } .common-container { padding: 20px 0 40px; background-color: #F8F9FD; .el-container { width: 1200px; margin: 0 auto; } } .left-tabs { width: 266px; border-radius: 8px; overflow: hidden; background-color: #fff; box-shadow: 0px 3px 6px 1px rgba(1, 64, 100, 0.16); margin-right: 24px; min-height: 550px; display: flex; flex-direction: column; h4 { height: 72px; line-height: 72px; font-weight: bold; font-size: 24px; color: #ffffff; text-align: center; background: linear-gradient(99deg, #1964fe 0%, #19abff 100%); } ul { flex: 1; li { height: 60px; font-weight: 400; font-size: 16px; color: #323232; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; &:before { content: ""; display: inline-block; width: 8px; height: 8px; background: transparent; border-radius: 4px; margin-right: 8px; } &:hover, &.active { background-color: #e7f1ff; &:before { background: #2C78FF; } } } } } .right-content { flex: 1; border-radius: 8px; overflow: hidden; min-height: 550px; box-shadow: 0px 3px 6px 1px rgba(1, 64, 100, 0.16); ::v-deep .el-card__body { height: calc(100% - 100px); } .header { display: flex; align-items: center; justify-content: space-between; h4 { font-weight: bold; font-size: 18px; color: #2c405e; } } .article { h4 { text-align: center; font-weight: bold; font-size: 24px; color: #386afe; } .snd-title { font-weight: 400; font-size: 14px; color: #565656; display: flex; justify-content: center; p { margin: 8px; } } } .link-list { display: flex; flex-direction: column; height: 100%; overflow-y: auto; > ul { flex: 1; li { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px dashed #ebf1f6; cursor: pointer; transition: all 0.3s; &:hover { background-color: #e7f1ff; } div { font-weight: 400; font-size: 16px; color: #585858; } span { font-weight: 400; font-size: 16px; color: #b5c1d8; } } } .el-pagination { display: flex; justify-content: center; } } }