| | |
| | | </header> |
| | | <main> |
| | | <div class="main-content"> |
| | | <!-- <div class="main-title"> |
| | | <el-button class="el-icon-plus" type="primary" @click="handleAdd" |
| | | >添加</el-button |
| | | > |
| | | </div> --> |
| | | <!-- 数据展示 --> |
| | | <el-table |
| | | ref="multipleTable" |
| | | :header-cell-style="{ |
| | | background: '#06122c', |
| | | 'font-size': '12px', |
| | | color: '#4b9bb7', |
| | | 'font-weight': '650', |
| | | 'line-height': '45px', |
| | | }" |
| | |
| | | |
| | | // 设置表格斑马纹 |
| | | tableRowClassName({ row, rowIndex }) { |
| | | if ((rowIndex + 1) % 2 == 0) { |
| | | if ((rowIndex + 1) % 2 === 0) { |
| | | return "warning-row"; |
| | | } else { |
| | | return "success-row"; |
| | | } |
| | | return ""; |
| | | }, |
| | | // 弹窗关闭 |
| | | handleClose(done) { |
| | |
| | | color: #4b9bb7; |
| | | |
| | | header { |
| | | background-color: #09152f; |
| | | border: 1pox solid #fff; |
| | | background-color: white; |
| | | |
| | | .header-content { |
| | | padding: 0 40px; |
| | |
| | | color: #1d3f57; |
| | | |
| | | &::v-deep .el-input__inner { |
| | | background-color: #09152f; |
| | | background-color: #fff; |
| | | border: 1px solid #17324c; |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | main { |
| | | background-color: #09152f; |
| | | background-color: #fff; |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | border: 1pox solid #fff; |
| | | |
| | | .main-title { |
| | | line-height: 60px; |
| | |
| | | |
| | | &::v-deep .el-input__inner { |
| | | border: none; |
| | | background-color: #09152f; |
| | | // background-color: #09152f; |
| | | } |
| | | |
| | | &:hover { |
| | |
| | | &::v-deep li, |
| | | &::v-deep .btn-prev, |
| | | &::v-deep .btn-next { |
| | | background-color: #071f39; |
| | | // background-color: #071f39; |
| | | color: #4b9bb7; |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | &::v-deep .warning-row { |
| | | background-color: #06122c; |
| | | } |
| | | // &::v-deep .warning-row { |
| | | // background-color: #06122c; |
| | | // } |
| | | |
| | | &::v-deep .success-row { |
| | | background-color: #071f39; |
| | | } |
| | | // &::v-deep .success-row { |
| | | // background-color: #071f39; |
| | | // } |
| | | |
| | | .operationBox { |
| | | display: flex; |
| | |
| | | background-color: #4b9bb7; |
| | | } |
| | | .el-table { |
| | | color: #4b9bb7; |
| | | font-size: 10px; |
| | | // color: #4b9bb7; |
| | | // font-size: 10px; |
| | | .operation { |
| | | display: flex; |
| | | |
| | |
| | | // 设置dialog样式 |
| | | ::v-deep .el-dialog__body { |
| | | background-color: #fff; |
| | | color: #000; |
| | | // color: #000; |
| | | } |
| | | |
| | | ::v-deep .el-dialog__header { |
| | | background-color: #06122c !important; |
| | | // background-color: #06122c !important; |
| | | color: #fff; |
| | | } |
| | | } |