.bar_templates-container{
  position: relative;
  .tab{
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    background-color: rgba(242, 242, 242, 1);

    .tab-item{
      flex: 1;
      width: 33%;
      text-align: center;
      padding: 10px;
      cursor: pointer;
      color: #333;
    }
    .active{
      background: #fff;
      color: @primary-color;
    }
  }
  .tab-pane{
    color: #333;
    background: #fff;
  }
  .tab-pane{
    .maps-wrapper {
      display: flex;
      flex-wrap: wrap;
      padding: 12px;
      justify-content: space-between;
    }
     .ant-tree {
      width: 100%;
      li {
        .ant-tree-node-content-wrapper:hover {
          background: transparent;
        }
        &:hover{
          background: #eee;
        }
      }
      .ant-tree-treenode-selected{
        background-color: #eee;
        position: relative;
        &::after{
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          border-right: 3px solid;
          border-color: @primary-color;
          content: "";
        }
        .ant-tree-node-content-wrapper.ant-tree-node-selected{
          background-color: transparent;
        }
      }
    }

    .map-box {
      position: relative;
      height: 130px;
      width: 130px;
      cursor: pointer;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 12px;

      .pre-img {
        background: #F7F8FA;
        border-radius: 6px;
        padding: 8px;
      }
      img {
        object-fit: cover;
        width: 130px;
        height: 84px;
        border-radius: 6px;
        background-color: #fff;
        padding: 8px;
      }
      .custom-img {
        background: #FFFFFF;
        border-radius: 5px;
        border: 1px dashed #D8D8D8;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 7px 8px;
      }
      p {
        text-align: center;
        margin-top: 8px;
        color: #000;
      }

      .mask-wrapper {
        height: 100px;
        position: absolute;
        width: 130px;
        top: 0;
        background-color: rgba(0,0,0,0.1);
        border-radius: 6px;

        & > div {
          @apply w-full absolute bottom-4 flex gap-2  items-center justify-center;
          bottom: 8px;
          .ant-btn {
            width: 53px;
          }
        }
      }
      .custom-mask {
        height: 100px;
        position: absolute;
        width: 130px;
        top: 0;
        border-radius: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 0;
        background: #FFFFFF;
        box-shadow: 0px 5px 13px 0px rgba(0,0,0,0.0800), 0px 2px 5px -3px rgba(0,0,0,0.1200);
        border-radius: 5px;
        padding: 8px;
        img {
          object-fit: cover;
          width: 130px;
          height: 84px;
          border-radius: 6px;
          padding: 8px;
        }
        svg {
          fill: @primary-color;
        }
      }
    }
  }

 .preview-modal {
  .ant-modal {
    width: 960px !important;
    img {
      max-height: 640px;
      margin: 0 auto;
    }
  }
  }

 .ant-tabs-nav {
  width: 100%;

  .ant-tabs-tab {
    width: 33%;
    text-align: center;
    margin: 0;
    padding: 16px;
  }
  .ant-tabs-tab-active {
    font-weight: 500;
  }
}
// 区块-我的
.mine {
  padding-bottom: 100px;
   .ant-collapse > .ant-collapse-item .ant-collapse-header {
    line-height: 5px;
    background: #FFF;
  }
   .ant-tabs-nav .ant-tabs-tab {
    margin-right: 0;
    text-align: center;
  }

   .ant-collapse-content > .ant-collapse-content-box {
    padding-top: 8px;
  }
   .ant-collapse,  .ant-collapse-content,  .ant-collapse-item {
    border: 0;
  }
  .component-context-menu {
    position: fixed;
    width: 100px;
    background: #fff;
    z-index: 1000;
    display: none;

    ul {
      margin: 0;
    }

    li {
      cursor: pointer;
      height: 34px;
      line-height: 34px;
      text-align: center;
    };

    li:hover {
      background: #f5f5f5;
    }
  }
}
}
