.TreePage{
  background: #fff;
}
.treeBox {
  position: relative;
  .tip {
    height: 40px;
    position: absolute;
    width: 100%;
    background-color: #f5f6f9;
    display: flex;
    padding: 0 12px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    color: #666;

    .fixedTitle {
      display: flex;
      align-items: center;
      img {
        width: 13px;
        height: 13px;
        margin-right: 6px;
      }
    }
  
    .reviseBtn {
      width: 61px;
      height: 23px;
      background-color: #2fcd89;
      border-radius: 2px;
      text-align: center;
      line-height: 23px;
      color: white;
    }
  }
  .tree-ul {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: scroll;
    -webkit-overflow-scrolling : touch;
    padding-bottom: 45px;
  }
  .specialTree {
    top: 40px;
  }
  .tree-footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    line-height: 45px;
    border-top: 1px solid #E6E6EB;
    background: white;
      p{
        flex:1;
        text-align: center;
        font-size: 16px;
      }
      p:last-child{
        background: #5471ff;
        color: white;
      }
  }
  .tree-li {
    background: #fff;
    .openicon {
      width: 20px;
      height: 20px;
    }
    .leaf, .root {
      height: 48px;
      line-height: 48px;
      border-bottom: 1px solid #f6f6f6;
      padding-right: 10px;
      color: #333333;
    }
    .leaf {
      padding-left: 30px;
    }
    .leaf-padd-left {
      padding-left: 10px;
      color: #333333;
    }
    .root {
      padding: 0 10px;
      .check-box {
        position: relative;
        float: right;
        right: 0;
      }
      .leaf-left {
        width: 80%;
        color: #333333;
        display: flex;
        align-items: center;
        img {
          width: 26px;
          height: 26px;
        }
        .closeicon {
          transform: rotateZ(180deg);
        }
        .chanjet-icon-fold,
        .chanjet-icon-unfold{
          margin-right: 4px;
        }

        .namebox {
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .itemName {
          word-break: break-all;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }
      }
  
    }
  
    .root-loop(@n, @i:1) when (@i <= @n) {
      .root_@{i} {
        padding-left: 15px*@i;
        .bg-color(@i);
        color: #666666;
      }
      .root-loop(@n, (@i + 1));
    }
    .bg-color(@i) when (@i >= 2) {
      background: #fafafa;
      color: #333333;
    }
    //调用
    .root-loop(10);
  
  
    .active {
      background: #f6f6f6;
    }
  
      .check-box {
        position: relative;
        float: right;
        top: -34px;
        right: 15px;
        font-size: 20dpx;
        color: #c6c6c6;
      }
  }
}
