.index {
  background-color: #f9f9f9;
  min-height: 100vh;
  padding-bottom: 40px;
  box-sizing: border-box;
  .header {
    width: 100%;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(360deg, #FEF653 0%, #FDF766 100%),
        linear-gradient(179deg, #FEF653 0%, #F4F11B 100%);
      clip-path: ellipse(100% 97% at 50% 0);
      z-index: 0; // 改为0
    }

    .header-content {
      width: 100%;
      display: flex;
      justify-content: center;

      .header-img {
        width: 100px;
        height: 50px;
        object-fit: cover;
      }
    }


    .tabs-list {
      box-sizing: border-box;
      padding-left: 34px;
      margin-top: 24px;
      display: flex;
      height: 40px;
      overflow: hidden;
      .tab-more {
        width: 90px;
        display: flex;
        align-items: center;
        padding: 0 22px 0 26px;
        box-sizing: border-box;

        .tab-more-img {
          width: 28px;
          height: 28px;
          background-color: red;
        }
      }

      .at-tabs__header {
        background-color: transparent;
        height: 100%;
        text-align: left;
      }
      .at-tabs__header::-webkit-scrollbar {
        display: none; /* 隐藏滚动条 */
      }

      .at-tabs__item {
        color: #000;
        font-size: 26px;
        padding: 0;
        min-width: auto;
        width: auto;
        margin-right: 34px;
        padding-bottom: 2px;
        height: 100%;

        &--active {
          color: #000;
          font-size: 28px;
          font-weight: bold;
        }

        &:last-child {
          margin-right: 0;
        }
      }

      .at-tabs__item-underline {
        background-color: #000;
        height: 4px;
        border-radius: 2px;
        bottom: 0;
      }

      .at-tabs__underline {
        width: auto;
      }
    }

    // 轮播图
    .banner-wrap {
      margin-top: 18px;

      .banner-swiper {
        height: 350px;
        border-radius: 20px;
        overflow: hidden;

        .banner-item {
          width: 718px;
          padding: 0 16px;
          box-sizing: border-box;

          .banner-img {
            width: 100%;
            height: 100%;
            border-radius: 20px;
          }
        }

        // 修改指示点样式
        .wx-swiper-dots {
          .wx-swiper-dot {
            width: 12px !important;
            height: 12px !important;

            &.wx-swiper-dot-active {
              width: 30px !important; // 选中时宽度变为10px
              height: 12px !important; // 保持高度不变
              border-radius: 13px !important; // 圆角处理，让两端显示为半圆
            }
          }
        }
      }
    }
  }

  // 添加浮动按钮样式
  .float-buttons {
    position: fixed;
    right: 34px;
    bottom: 21px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 23px;

    .float-btn {
      width: 94px;
      height: 94px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 24px;
      text-align: center;
      background-size: 100% 100%;
      background-repeat: no-repeat;
      background-position: center;
      position: relative;
      .back-top{
        height: 100%;
        width: 100%;
      }
      .my-shop-bg{
        height: 100%;
        width: 100%;
        position: absolute;
      }
      Text {
        line-height: 1.2;
        white-space: pre-line;
        z-index: 1;
      }
    }
  }
}