| | |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | fit |
| | | |
| | | height="100%" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | |
| | | style="display: none" |
| | | @change="editFile(0)" |
| | | /> |
| | | <el-link |
| | | <el-link |
| | | :underline="false" |
| | | @click="geteditFile(0)" |
| | | style="margin-left: 10px" |
| | |
| | | style="display: none" |
| | | @change="editFile(1)" |
| | | /> |
| | | <el-link |
| | | <el-link |
| | | :underline="false" |
| | | @click="geteditFile(1)" |
| | | style="margin-left: 10px" |
| | |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .authorityManagement_box { |
| | | background: rgb(240, 242, 245); |
| | | border-radius: 10px; |
| | | height: 100%; |
| | | padding: 10px; |
| | | |
| | | height: 81%; |
| | | width: 97%; |
| | | position: absolute; |
| | | box-sizing: border-box; |
| | | |
| | | .el-input { |
| | |
| | | |
| | | .searchComp { |
| | | margin: 10px auto; |
| | | background: #fff; |
| | | |
| | | border-radius: 5px; |
| | | border: 1px solid rgb(202, 201, 204); |
| | | .el-form-item { |
| | |
| | | width: 100%; |
| | | .table_box { |
| | | width: 100%; |
| | | height: 93%; |
| | | height: 90%; |
| | | margin: 0 auto; |
| | | overflow: auto; |
| | | background: #fff; |
| | | // .el-table { |
| | | // height: 100%; |
| | | // // overflow: auto; |
| | | // } |
| | | // .el-table /deep/ .el-table__header-wrapper tr th { |
| | | // background-color: rgb(255, 255, 255) !important; |
| | | // color: rgb(0, 0, 0); |
| | | // } |
| | | // // 修改每行样式: |
| | | // .el-table /deep/ .el-table__row { |
| | | // background-color: rgba(255, 255, 255) !important; |
| | | // color: rgb(0, 0, 0); |
| | | // } |
| | | // .el-table /deep/ .el-table__body tr.current-row > td { |
| | | // background-color: rgb(211, 211, 211) !important; |
| | | // } |
| | | // .el-table /deep/ .el-table__body tr:hover > td { |
| | | // background-color: rgb(211, 211, 211) !important; |
| | | // } |
| | | // // 修改表格每行边框的样式: |
| | | // .el-table /deep/ td, |
| | | // .el-table /deep/ th.is-leaf { |
| | | // border-bottom: 1px solid #eee; |
| | | // border-right: 1px solid #eee; |
| | | // } |
| | | // .el-table /deep/ .el-table__cell { |
| | | // padding: 0; |
| | | // } |
| | | // // 设置表格每行的高度: |
| | | // .el-table /deep/ .el-table__header tr, |
| | | // .el-table /deep/ .el-table__header th { |
| | | // height: 40px; |
| | | // } |
| | | // .el-table__body tr, |
| | | // .el-table__body td { |
| | | // height: 40px; |
| | | // padding: 0; |
| | | // } |
| | | // // 设置表格边框颜色: |
| | | /*修改table 表体的背景颜色和文字颜色*/ |
| | | /deep/ .el-table { |
| | | background-color: transparent; |
| | | |
| | | // .el-table--border::after, |
| | | // .el-table--group::after { |
| | | // width: 0; |
| | | // } |
| | | // .el-table::before { |
| | | // height: 0; |
| | | // } |
| | | // a { |
| | | // color: #000; |
| | | // } |
| | | th, |
| | | td { |
| | | background-color: transparent; |
| | | } |
| | | .el-table__expanded-cell { |
| | | background-color: transparent !important; |
| | | } |
| | | |
| | | // 表头背景色 |
| | | th.el-table__cell { |
| | | background-color: #303030; |
| | | color: #fff; |
| | | } |
| | | tr > td { |
| | | background-color: #303030; |
| | | color: #fff; |
| | | } |
| | | |
| | | // hover效果 |
| | | tr:hover > td { |
| | | background-color: rgba(255, 255, 255, 0.3) !important; |
| | | } |
| | | |
| | | tbody tr:hover { |
| | | background-color: rgba(255, 255, 255, 0.3) !important; |
| | | // text-align: center; |
| | | } |
| | | |
| | | // 滚动条宽高 |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | height: 5px; |
| | | } |
| | | |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 5px; |
| | | /*滚动条宽度*/ |
| | | height: 5px; |
| | | /*滚动条高度*/ |
| | | } |
| | | /*定义滚动条轨道 内阴影+圆角*/ |
| | | .el-table__body-wrapper::-webkit-scrollbar-track { |
| | | box-shadow: 0px 1px 3px #216fe6 inset; |
| | | /*滚动条的背景区域的内阴影*/ |
| | | border-radius: 10px; |
| | | } |
| | | |
| | | /*定义滑块 内阴影+圆角*/ |
| | | .el-table__body-wrapper::-webkit-scrollbar-thumb { |
| | | box-shadow: 0px 1px 3px #216fe6 inset; |
| | | border-radius: 6px; |
| | | background-color: #216fe6; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | background: #ededed; |
| | | } |
| | | } |
| | | .pagination_box { |
| | | margin-top: 20px; |
| | | /deep/.el-input__inner { |
| | | background-color: transparent !important; |
| | | border: 1px solid; |
| | | color: white; |
| | | } |
| | | /deep/.el-pagination__total { |
| | | color: white; |
| | | } |
| | | /deep/.el-pagination__jump { |
| | | color: white; |
| | | } |
| | | /deep/.el-pager li.active { |
| | | color: #409eff; |
| | | } |
| | | /deep/.el-pager li { |
| | | color: white; |
| | | background: transparent; |
| | | } |
| | | /deep/.el-pager li { |
| | | color: white; |
| | | } |
| | | /deep/.btn-prev { |
| | | background: transparent; |
| | | } |
| | | /deep/.btn-next { |
| | | background: transparent; |
| | | } |
| | | /deep/.btn-next i { |
| | | color: white; |
| | | } |
| | | /deep/.btn-prev i { |
| | | color: white; |
| | | } |
| | | } |
| | | /deep/.el-form-item__label { |
| | | color: white; |
| | | } |
| | | // 设置输入框的背景色、字体颜色、边框属性设置; |
| | | /deep/.el-input__inner { |
| | | background-color: transparent !important ; |
| | | color: #fff; |
| | | border: 1px solid; |
| | | } |
| | | |
| | | /deep/ .el-dialog { |
| | | background: #303030; |
| | | } |
| | | /deep/.el-range-editor.is-active, |
| | | .el-range-editor.is-active:hover, |
| | | .el-select .el-input.is-focus .el-input__inner { |
| | | border: 1px solid; |
| | | } |
| | | /deep/.el-dialog__title { |
| | | color: white; |
| | | } |
| | | /deep/ .el-select .el-input__inner { |
| | | border-color: #fff !important; |
| | | } |
| | | /deep/.el-cascader .el-input__inner { |
| | | border-color: #fff !important; |
| | | } |
| | | |
| | | } |
| | | </style> |
| | | <style> |
| | | /* 整体样式 */ |
| | | .el-table__body-wrapper::-webkit-scrollbar { |
| | | width: 6px; |
| | | height: 6px; |
| | | } |
| | | |
| | | /* 滚动条 */ |
| | | .el-table__body-wrapper::-webkit-scrollbar-thumb { |
| | | background-color: #b3d8ff; |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | /* 滚动条鼠标经过样式 */ |
| | | .el-table__body-wrapper::-webkit-scrollbar-thumb:hover { |
| | | background-color: #66b1ff; |
| | | border-radius: 8px; |
| | | } |
| | | |
| | | /* 滚动条轨道 */ |
| | | .el-table__body-wrapper::-webkit-scrollbar-track-piece { |
| | | -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); |
| | | border-radius: 10px; |
| | | background: #ededed; |
| | | } |
| | | </style> |