.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: @yee-primary-color;
    }
  }
  .tab-pane {
    color: #333;
    background: #fff;
  }
  .tab-pane {
    .maps-wrapper {
      display: flex;
      flex-wrap: wrap;
      padding: 12px;
      justify-content: space-between;
    }

    .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 {
          --uno: w-full absolute bottom-4 flex gap-2 items-center justify-center;
          bottom: 8px;
          .yee-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.08),
          0px 2px 5px -3px rgba(0, 0, 0, 0.12);
        border-radius: 5px;
        padding: 8px;
        img {
          object-fit: cover;
          width: 130px;
          height: 84px;
          border-radius: 6px;
          padding: 8px;
        }
        svg {
          fill: @yee-primary-color;
        }
      }
    }
  }

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

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

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

    .yee-collapse-content > .yee-collapse-content-box {
      padding-top: 8px;
    }
    .yee-collapse,
    .yee-collapse-content,
    .yee-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;
      }
    }
  }
}
