.BanContain {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background: #fff;

  .status_bar {
    height: var(--status-bar-height);
    width: 100%;
  }

  .navBar {
    display: flex;
    align-items: center;
    padding: 0 24rpx;
    .logo {
      display: block;
      width: 166rpx;
      height: 40rpx;
    }

    .bans {
      margin-left: 12rpx;
    }
  }
}

.icon-list {
  display: flex;
  text-align: center;
  padding: 23rpx 0;
  margin-bottom: 86rpx-48rpx-25rpx;
  flex-wrap: wrap;
  .icon-item {
    width: 25%;
    font-size: 24rpx;
    color: #555555;
    line-height: 28rpx;
    margin: 25rpx 0;
    position: relative;
    .icon {
      display: block;
      width: 52rpx;
      height: 52rpx;
      margin: 0 auto 12rpx;
    }
    .my-tip {
      position: absolute;
      box-sizing: border-box;
      width: 22rpx;
      height: 22rpx;
      border-radius: 22rpx;
      background: #eb5757;
      border: 2rpx solid #ffffff;
      top: -4rpx;
      left: 50%;
      margin-left: 14rpx;
    }
  }
}
.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48rpx;
  font-size: 34rpx;
  font-weight: 600;
  color: #222222;
  padding: 0 42rpx;
  margin-top: 30rpx;
}
.home-index2 {
  background: #f5f5f5;
  background-size: 100% auto;
  overflow: hidden;
  .swiper {
    width: 100%;
    height: 276rpx;
  }
  .swiper-item {
    width: 100%;
    display: block;
    height: 276rpx;
  }
  .banner {
    padding: 0 24rpx;
    margin: 24rpx 0;
    display: flex;
    &.banner-swiper {
      height: 164rpx;
    }
    .banner-item {
      width: 100%;
      height: 160rpx;
      margin: 0 7rpx;
      &:first-child {
        margin-left: 0;
      }
      &:last-child {
        margin-right: 0;
      }
    }
  }

  .flash-sale {
    width: 750rpx;
    height: 572rpx;
    padding: 52rpx 0 0;
    background: url("https://chujianchaowan.oss-cn-beijing.aliyuncs.com/images/d73e5555842c968cf39a6bea9442e4fd.png")
      no-repeat center top;
    background-size: 100% 100%;
    overflow: hidden;
    margin-top: -24rpx;
    .cd-title {
      height: 32rpx;
      padding-left: 158rpx;
      overflow: hidden;
      display: flex;
      align-items: flex-start;
      .cd-block {
        min-width: 22rpx;
        height: 28rpx;
        font-size: 20rpx;
        color: #292d3b;
        width: 32rpx;
        height: 32rpx;
        background: #4efbff;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .cd-item {
        min-width: 14rpx;
        height: 32rpx;
        font-size: 20rpx;
        color: #08c2c3;
        display: flex;
        align-items: center;
        justify-content: center;
        &.day {
          margin: 0 6rpx;
        }
      }
    }
    .sale-list {
      width: 670rpx;
      height: 394rpx;
      overflow-x: auto;
      white-space: nowrap;
      margin: 32rpx auto 14rpx;
      .sale-item {
        display: inline-block;
        vertical-align: top;
        width: 256rpx;
        height: 376rpx;
        overflow: hidden;
        margin-right: 16rpx;
        &:last-child {
          margin-right: 0;
        }
      }
      .sale-pic,
      .sale-img {
        position: relative;
        width: 256rpx;
        height: 256rpx;
        display: block;
      }
      .sale-text {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        font-size: 22rpx;
        font-weight: 500;
        color: #ffffff;
        height: 36rpx;
        background: linear-gradient(
          95deg,
          #fc5e94 0%,
          rgba(252, 94, 148, 0.47) 100%
        );
        line-height: 36rpx;
        text-align: center;
      }

      .sale-title {
        font-size: 24rpx;
        font-weight: 500;
        color: #292d3b;
        line-height: 34rpx;
        height: 68rpx;
        display: block;
        white-space: normal;
        margin: 8rpx 0;
      }
      .sale-sub {
        color: #08c2c3;
        line-height: 34rpx;
        display: block;
        font-family: unidreamledregular, Helvetica Neue, Helvetica, Arial,
          Hiragino Sans GB, Hiragino Sans GB W3, Microsoft YaHei UI,
          Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
        .sale-label {
          font-size: 24rpx;
          margin-right: 5rpx;
          font-weight: bolder;
        }
        .sale-price {
          font-size: 32rpx;
        }
        .sale-origin {
          font-size: 20rpx;
          font-weight: 400;
          color: #a6a7ac;
          text-decoration: line-through;
          margin-left: 10rpx;
        }
      }
    }
    .fill-title {
      margin-top: 46rpx;
    }
  }
  .fill-title-wrap {
    height: 88rpx;
  }
  .fill-title {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 28rpx;
    font-weight: 500;
    color: #555;
    height: 88rpx;
    padding: 0;
    line-height: 88rpx;
    .icon-sort {
      width: 28rpx;
      height: 28rpx;
      margin-left: 2rpx;
    }
    .fill-item {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      width: 0;
      flex: 1;
      &.white {
        color: #222;
        font-weight: bold;
        &::after {
          width: 32rpx;
          height: 6rpx;
          background: #08c2c3;
          position: absolute;
          content: "";
          left: 50%;
          bottom: 0;
          margin-left: -16rpx;
        }
      }
    }
  }
  .home-titlebar {
    background-color: #fff;
  }
  .home-titlebar-fix {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
  }
  .footer {
    width: 100%;
    margin-top: 24rpx;
    margin-bottom: 22rpx;

    .info {
      height: 40rpx;
      font-size: 28rpx;
      font-weight: 500;
      color: #999999;
      line-height: 40rpx;
      text-align: center;
    }

    .contact {
      margin-top: 8rpx;
      height: 40rpx;
      font-size: 28rpx;
      font-weight: 500;
      color: #999999;
      line-height: 40rpx;
      text-align: center;
    }
  }
  .popup_coupon {
    color: #fff;
    font-weight: 500;
    text-align: center;
    position: relative;
    .title {
      display: block;
      height: 50rpx;
      font-size: 36rpx;
      line-height: 50rpx;
    }
    .desc {
      display: block;
      height: 40rpx;
      font-size: 28rpx;
      line-height: 40rpx;
    }
    .gifts {
      width: 708rpx;
      height: 686rpx;
      display: block;
      margin: -16rpx auto -80rpx;
      animation: zoomIn 0.3s both;
    }
    .coupon-button {
      display: inline-block;
      height: 80rpx;
      font-size: 32rpx;
      line-height: 80rpx;
      padding: 0 46rpx;
      background: #08c2c3;
      border-radius: 0;
    }
  }
  .popup_coupon_res {
    box-sizing: border-box;
    width: 840rpx;
    height: 852rpx;
    position: relative;
    padding-top: 44rpx;
    background: url(https://chujianchaowan.oss-cn-beijing.aliyuncs.com/images/b52109ed4dfc4551ad0254a99ddd0e34.png)
      no-repeat center;
    background-size: contain;

    .title {
      display: block;
      position: relative;
      text-align: center;
      height: 50rpx;
      font-size: 36rpx;
      font-weight: 500;
      color: #292d3b;
      line-height: 50rpx;
      margin: 0 0 24rpx;
    }
    .coupon-list {
      position: relative;
      width: 476rpx;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 16rpx;
      justify-content: space-between;
      max-height: 380rpx;
      overflow: auto;
      .coupon-item {
        width: 230rpx;
        height: 116rpx;
        background: url(@/assets/home/gifts-item.png) no-repeat;
        background-size: contain;
        display: flex;
        color: #fff;
        align-items: center;
        margin-bottom: 16rpx;
        .text {
          flex: 1;
          text-align: center;
          .big {
            font-size: 80rpx;
            font-weight: bold;
            line-height: 98rpx;
          }
          .small {
            font-size: 36rpx;
            font-weight: 600;
            line-height: 50rpx;
          }
        }
        .label {
          width: 62rpx;
          height: 94rpx;
          border-left: 1px dashed #717181;
          position: relative;
          overflow: hidden;
          .label-text {
            white-space: nowrap;
            font-size: 28rpx;
            font-weight: 600;
            color: #ffffff;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) rotate(90deg);
          }
        }
      }
    }
    .coupon-button {
      width: 378rpx;
      height: 128rpx;
      font-size: 36rpx;
      font-weight: 600;
      color: #ffffff;
      line-height: 128rpx;
      text-align: center;
      background: url(@/assets/home/gifts-btn.png) no-repeat center transparent;
      background-size: contain;
      border: 0 none;
      padding: 0;
      position: absolute;
      bottom: 28rpx;
      left: 50%;
      margin-left: -189rpx;
      &::after {
        display: none;
      }
    }
  }
  .fixed-btns {
    position: fixed;
    right: 14rpx;
    bottom: 154rpx;
    z-index: 999;
    .fixed-btn {
      display: block;
      width: 112rpx;
      height: 112rpx;
      margin-bottom: 18rpx;
    }
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
