.mode-list-main {
  position: relative;
  font-family: PingFang SC;
  .change-all-mode-btn {
    position: absolute;
    top: 10rpx;
    right: -30rpx;
    width: 140rpx;
    height: 160rpx;
    background-color: #fff;
    border-radius: 30rpx 0rpx 0rpx 30rpx;
    box-shadow: 1rpx 2rpx 16rpx 2rpx rgba(97, 97, 97, 0.1);
    text-align: center;
    // align-items: center;
    z-index: 20;
    box-sizing: border-box;
    .title {
      font-size: 26rpx;
      text-align: center;
      font-weight: bold;
      text-align: center;
      margin-top: 33rpx;
    }
    .icon {
      display: block;
      width: 36rpx;
      height: 36rpx;
      margin: 0 auto;
      margin-top: 26rpx;
    }
  }
}
.mode-list-box {
  width: 100%;
  height: 180rpx;
  padding: 10rpx 26rpx;
  margin-top: 20rpx;
  background-color: #f2f2f2;
  border-radius: 30rpx;
  box-sizing: border-box;
  &:last-child {
    margin-bottom: 0;
  }
  .mode-list {
    display: flex;
    align-items: center;

    .mode-item-title {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 110rpx;
      min-width: 110rpx;
      font-size: 26rpx;
      font-family: PingFang SC;
      font-weight: bold;
      color: #000000;
      margin-right: 20rpx;
    }
    .mode-item {
      position: relative;
      display: flex;
      min-width: 140rpx;
      height: 160rpx;
      align-items: center;
      margin-bottom: 20rpx;
      background-color: #fff;
      border-radius: 20rpx;
      /*padding: 17rpx 18rpx;*/
      box-sizing: border-box;
      transition: all 0.3s;
      flex-shrink: 0;
      overflow: hidden;
      .new {
        display: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 48rpx;
        height: 24rpx;
        font-size: 16rpx;
        font-family: PingFang SC;
        font-weight: bold;
        color: #ffffff;
        text-align: center;
        background-color: #eb5858;
        border-radius: 15rpx 10rpx 12rpx 0rpx;
        z-index: 20;
      }
      .is-new {
        display: block;
      }
      .mode-info {
        min-width: 140rpx;
        padding-left: 10rpx;
        padding-right: 10rpx;
        .mode-info-title {
          margin-bottom: 4rpx;
          font-size: 26rpx;
          text-align: center;
          font-weight: bold;
        }
        .mode-info-time {
          margin-bottom: 4rpx;
          text-align: center;
          color: #666666;
          font-size: 24rpx;
        }
        .mode-info-select {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 30rpx;
          height: 30rpx;
          margin: 10rpx auto 0;
          border: 3rpx solid #f1f1f1;
          border-radius: 50%;
          box-sizing: border-box;
          &.is-select {
            background-color: #fff;
            border: none;
          }
        }

        .mode-info-select-point {
          width: 14rpx;
          height: 14rpx;
          background-color: #000000;
          border-radius: 50%;
        }
      }
    }
    .mode-item + .mode-item {
      margin-left: 20rpx;
    }
    .mode-item-active {
      // min-width: 300rpx;
      padding-right: 11rpx;
      background: linear-gradient(90deg, #efdcc2 0%, #fff2df 100%);
    }

    .mode-pic {
      width: 140rpx;
      height: 140rpx;
      /*margin-left: 20rpx;*/
      background-color: #f1f1f1;
      border-radius: 20rpx;
      overflow: hidden;
    }

    .mode-pic image {
      width: 100%;
      height: 100%;
      vertical-align: middle;
    }
  }
}
