* { margin: 0; padding: 0; } a { display: block; color: #222222; text-decoration: none; } ul, li { list-style: none; } body { height: 100vh; background: url("../images/bg.png") no-repeat top center; } #app { font-family: '微软雅黑'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #222222; font-size: 16px; } .tabs { width: 100%; height: 60px; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 22px; background-color: rgba(21, 81, 136, 0.46); .tab-item { margin: 0 100px; position: relative; cursor: pointer; color: #ffffff; &::after { content: ''; width: 100%; height: 4px; display: block; position: absolute; left: 0; bottom: -10px; // background: linear-gradient(to right, #ffffff 0%,#eeffff 10%, #99fdff 30%, #27fbff 50%, #99fdff 70%, #eeffff 90%,#ffffff 100%); } &.active { color: #23FBFF; &::after { background: url("/images/line.png") no-repeat center/cover; } } } } .main { width: 100%; height: calc(~"100vh - 144px"); display: flex; .panel { height: calc(~"100% - 20px"); background-color: #ffffff; border-radius: 10px; } .menu { width: 250px; padding: 20px; height: calc(~"100% - 60px"); border-radius: 0 10px 10px 0; .tip { height: 32px; padding-left: 12px; line-height: 32px; color: #ffffff; font-size: 18px; font-weight: bold; background: url("/images/menu-bg.png") no-repeat center/cover; } .menu-item { .el-row { margin-top: 20px; .el-col { span { width: 100%; height: 30px; padding: 0; display: block; line-height: 28px; text-align: center; margin: 0 0 10px 0; font-size: 16px; color: #666666; border-radius: 5px; cursor: pointer; border: 1px solid #ECF4FF; background-color: #ECF4FF; &.active { border-color: #498DF0; } } } } } } .container { width: calc(~"100% - 290px"); margin-left: 20px; } }