| | |
| | | :class="[item.checked ? 'is-active' : '', 'type-item']">{{ item.name }}</div> |
| | | </div> |
| | | <!-- 数据展示 --> |
| | | <el-table ref="multipleTable" |
| | | :header-cell-style="{'font-weight': '650', 'line-height': '45px' }" |
| | | <el-table |
| | | border |
| | | stripe |
| | | ref="multipleTable" |
| | | :header-cell-style="{'background':'#F5F5F5','font-weight': '650', 'line-height': '45px' }" |
| | | :data="tableData" style="width: 100%" :row-class-name="tableRowClassName" |
| | | @selection-change="tableChange"> |
| | | <el-table-column type="selection" min-width="5"> |
| | |
| | | <!-- tools --> |
| | | <div class="tools"> |
| | | <div class="funs"> |
| | | <div class="funsItem funs-sp"> |
| | | <div class="funsItem funs-sp funs-first"> |
| | | <el-checkbox v-model="all" @change="selectAll()">全选</el-checkbox> |
| | | </div> |
| | | <div class="funsItem funs-sp"> |
| | |
| | | }, |
| | | selectChange(list) { |
| | | if (this.tempList.length !== 0) { |
| | | |
| | | |
| | | this.preMyIdx = list; |
| | | this.mulDelete(this.tempList); |
| | | |
| | | |
| | | } else { |
| | | this.myIdx = this.preMyIdx; |
| | | this.$message({ |
| | |
| | | <style lang="scss" scoped> |
| | | .userList { |
| | | text-align: left; |
| | | margin: 10px 20px; |
| | | padding: 10px 20px; |
| | | color: #4b9bb7; |
| | | |
| | | border: 1px solid #ccc; |
| | | header { |
| | | // background-color: #09152f; |
| | | border: 1pox solid #fff; |
| | | border: 1px solid #fff; |
| | | |
| | | .headerContent { |
| | | padding: 0 40px; |
| | | padding: 0; |
| | | display: flex; |
| | | line-height: 100px; |
| | | justify-content: space-between; |
| | |
| | | |
| | | &::v-deep .el-input__inner { |
| | | // background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | //border: 1px solid #17324c; |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | .el-button { |
| | | padding: 12px 25px; |
| | | border-radius: 20px; |
| | | //border-radius: 20px; |
| | | } |
| | | } |
| | | |
| | | .addBtn { |
| | | background-color: #eb5d01; |
| | | //background-color: #eb5d01; |
| | | border: none; |
| | | border-radius: 20px; |
| | | //border-radius: 20px; |
| | | padding: 12px 30px; |
| | | } |
| | | } |
| | |
| | | |
| | | &::v-deep .el-input__inner { |
| | | // background-color: #09152f; |
| | | border: 1px solid #17324c; |
| | | //border: 1px solid #17324c; |
| | | } |
| | | |
| | | main { |
| | | // background-color: #09152f; |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | border: 1pox solid #fff; |
| | | border: 1px solid #fff; |
| | | |
| | | .btn span:hover { |
| | | cursor: pointer; |
| | |
| | | .is-active { |
| | | // background-color: #070f22; |
| | | border-radius: 4px; |
| | | color: #fff; |
| | | color: #2f54eb; |
| | | } |
| | | } |
| | | |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding: 0 20px; |
| | | padding: 0; |
| | | |
| | | .funs { |
| | | display: flex; |
| | | |
| | | .funs-sp { |
| | | border: 1px solid #17324c; |
| | | border: 1px solid #DCDFE6; |
| | | } |
| | | |
| | | .funs-first{ |
| | | margin-left: 0!important; |
| | | } |
| | | .funsItem { |
| | | line-height: 28px; |
| | | display: flex; |
| | |
| | | border-radius: 4px; |
| | | font-size: 12px; |
| | | margin-left: 10px; |
| | | |
| | | border: 1px solid #DCDFE6; |
| | | .el-checkbox { |
| | | width: 80px; |
| | | padding: 0 10px; |
| | |
| | | padding: 0; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |