Kelichao / vue.js.2.0

针对vue2.0版本,以及关于MVVM框架学习,使用中的总结,附带backbone.js框架的思想与使用方法做使用记录,以及去年学过的backbone相关MVC框架学习总结与demo笔记思想设计模式 20170-01-12
40 stars 6 forks source link

ElementUI-table拖动表头并更新数据示例 #31

Open Kelichao opened 6 years ago

Kelichao commented 6 years ago

注意

  <style lang="scss">
    .g-table_head_right{
      position:relative;
      .el-select__tags{
        opacity:0;
      }
      .el-tag__close{
        display:none
      }
    }
    .gthead-cell{
      padding:0 !important;
      margin:0 !important;
      opacity : 0.99;
      width:100%;
      cursor:move;
      display:flex !important;
      align-items:center;
      a{
        cursor:move;
      }
      .display-none{
        display:none
      }
      .sort{
        cursor:pointer;
        display:flex;
        i{
          font-size:18px
        }
      }
    }
    .gthead-cell-enterBg{
      background:#2F6298;
      color:#fff;
    }
    .g-table_body{
      .el-table{
        th{
          padding:0;
        }
      }
    }
    .el-select-dropdown.is-multiple {
      .el-select-dropdown__item{
        padding: 0 24px 0 10px;
      }
      .el-select-dropdown__item.selected:after{
        right:5px;
      }
    }
  </style>