page {
  padding-bottom: 120rpx;
  background: #f8f8f8;

  .flexd {
    position: fixed;
    z-index: 999;
    width: 100%;

    .nav-background {
      background: #f39283;
      height: 40rpx;
    }

    .v-search {
      position: relative;
      top: -40rpx;
      // box-shadow: 0px 5rpx 10rpx rgba(0, 0, 0, 0.2);
      background-color: transparent;
    }
  }

  .rank {
    width: 687rpx;
    height: 346rpx;
    margin: 24rpx 32rpx;
    color: #ffffff;
    border-radius: 16rpx;
    background: url('https://file.ruixiuauto.com/cDBRXuM6Xh/20230809/v8ee31103601302.web 拷贝 (1)') no-repeat 50%;

    .item-title {
      display: flex;
      align-items: center;
      text-align: center;
      justify-content: center;
      margin: 24rpx 0 36rpx 0;

      .text {
        text-indent: 16rpx;
      }
    }
    .loading{
      display: flex;
      justify-content: center;
    }

    .content {
      padding: 0 32rpx;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;

      .card {
        background-color: #f8f8f8;
        // display: flex;
        // flex-direction: column;
        // align-items: center;
        border-radius: 16rpx;
        height: 85rpx;
        width: 298rpx;
        padding: 8rpx;
        margin-bottom: 24rpx;
        display: flex;
        flex-direction: row;

        .left {
          position: relative;
          .ranking{
            // width: 32rpx;
            // height: 16rpx;
            padding: 3rpx 4rpx 3rpx 3rpx;
            background-color: #f39283;
            border-radius: 0 12rpx 12rpx 0;
            position: absolute;
            left: 0;
            top: 10rpx;
            font-size: 8rpx;
            font-family: MiSans;
            font-weight: bold;
            color: #F8F8F8;
          }
          image {
            border-radius: 16rpx;
            width: 66rpx;
            height: 66rpx;
          }
        }

        .right {
          height: 70rpx;
          text-indent: 8rpx;
          width: 200rpx;
          >view {
            padding: 0;
          }

          .h1 {
            font-size: 16rpx;
            font-weight: bold;
            color: #000;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
          }

          .h2 {
            font-size: 14rpx;
            color: #999999;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .light {
              font-size: 16rpx;
              font-weight: bold;
              color: #fb7204;
            }
          }

          .h3 {
            overflow:hidden; //超出的文本隐藏
            text-overflow:ellipsis; //溢出用省略号显示
            white-space:nowrap; //溢出不换行
            font-size: 12rpx;
            color: #999999;
          }
        }
      }
    }
  }

  .play-around {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32rpx;

    .play-left {
      font-weight: bold;
    }

    .play-right {
      font-size: 24rpx;
      color: #999999;
      display: flex;
      align-content: center;

      >view {
        padding-right: 12rpx;
      }
    }
  }

  .play-list {
    margin: 32rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    .play-item {
      width: 332rpx;
      height: 480rpx;
      background: #FFFFFF;
      box-shadow: 0px 5px 9px 0px rgba(14, 5, 9, 0.05);
      border-radius: 12rpx;
      margin-bottom: 24rpx;
      .item-img{
        position: relative;
        .item-ranking{
          position: absolute;
          top: 18rpx;
          left: 0;
          font-size: 24rpx;
          font-family: Source Han Sans CN;
          font-weight: bold;
          color: #FFFFFF;
          padding: 18rpx 24rpx;
          background-color: #f39283;
          border-radius: 0 32rpx 32rpx 0;
        }
      }
      .body {
        padding: 0 16rpx;
        height: 150rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        .item-text {
          height: 62rpx;
          font-size: 24rpx;
          font-weight: 300;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
        }

        .label {
          display: flex;
          font-size: 15rpx;
          font-weight: 400;
          // margin: 16rpx 0;
          overflow:hidden; //超出的文本隐藏
          text-overflow:ellipsis; //溢出用省略号显示
          white-space:nowrap; //溢出不换行

          >view {
            background-color: #fdefed;
            border-radius: 12rpx;
            padding: 5rpx 16rpx;
            margin-right: 12rpx;
            overflow:hidden; //超出的文本隐藏
            text-overflow:ellipsis; //溢出用省略号显示
            white-space:nowrap; //溢出不换行
          }
        }

        .detail {
          display: flex;
          align-items: center;
          font-size: 18rpx;
          font-weight: 300;

          // padding-bottom: 20rpx;
          .d-light {
            font-weight: bold;
            font-size: 26rpx;
            margin-right: 26rpx;
            color: #FB8737;
          }
        }
      }
    }
  }

}

.location {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20rpx 25rpx 0rpx 25rpx;
  background-color: #ffffff;

  .l_left {
    font-size: 24rpx;
  }

  .l_right {
    color: #636363;
    font-size: 24rpx;

    span {
      color: #229293;
      font-weight: bold;
    }
  }

}

.swiper {
  margin: 128rpx 32rpx 24rpx 32rpx;
  height: 329rpx;

  .slide-image {
    width: 100%;
    height: 98%;
    margin-bottom: 20rpx;
    border-radius: 12rpx;
  }
}

.navBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 32rpx;

  .navItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 4rpx solid transparent;
    text-align: center;

    .navItemTitle {
      font-size: 28rpx;
    }

    .navItemIcon {
      image {
        width: 80rpx;
        height: 80rpx;
      }
    }
  }

  .active {
    color: #333;
    font-weight: bold;
    border-bottom: 4rpx solid #399899;
  }

}

.nav_content {
  flex: 1;
}

.sidebar {
  display: flex;
  flex-direction: row;
  background: #fff;
  margin: 30rpx;
  border-radius: 30rpx;

  // font-family: "Microsoft YaHei";
  .left {
    width: 32%;

    // background-color: #f4f4f4;
    .sidebarItem {
      padding: 20rpx;

      .sidebarItemTime {
        font-size: 22rpx;
      }

      .sidebarItemText {
        font-size: 28rpx;
      }
    }

    .active {
      color: #fff;
      font-weight: bold;
      background-color: #399899;
      border-radius: 0 50rpx 50rpx 0;
    }
  }

  .sidebar_content {
    width: 68%;
    margin: 0;
    // margin-left: 30rpx;
  }
}


.title {
  display: flex;
  justify-content: space-between;
  padding-right: 30rpx;

  .recommended-box {
    display: flex;
    margin: 0rpx 0 0 30rpx;

    .recommended {
      font-size: 36rpx;
      font-weight: 500;
      color: #222222;
      line-height: 36rpx;
      margin-left: 10rpx;

    }

    .recommended-icon {
      width: 6rpx;
      height: 36rpx;
      background: #49aaa6;
      border-radius: 3rpx;
    }

  }
}


.village {



  .homestay {
    background: #ffffff;
    margin: 0 30rpx;
    border-radius: 20rpx;
    position: relative;

    .homestay-image {
      width: 420rpx;
      height: 205rpx;
      border-radius: 30rpx;
    }

    .homestay-images {
      position: absolute;
      top: 0;
      width: 420rpx;
      height: 205rpx;
      border-radius: 30rpx;
    }

    .title1 {

      .title_left {
        display: flex;

        .homestay-name {
          font-size: 30rpx;
          font-family: Source Han Sans CN;
          font-weight: 400;
          color: #222222;
          margin: 10rpx;
          overflow: hidden; //一定要写
          text-overflow: ellipsis; //超出省略号
          display: -webkit-box; //一定要写
          -webkit-line-clamp: 2; //控制行数
          -webkit-box-orient: vertical; //一定要写

          .price {
            font-size: 32rpx;
            display: inline-block;
            // margin-top: -8rpx;
            // margin-left: -20rpx;
            width: 120rpx;
          }

        }


      }

      .homestay-address {
        font-size: 24rpx;
        font-family: Source Han Sans CN;
        font-weight: 300;
        color: #666666;
        line-height: 36rpx;
        margin: 8rpx;
        padding-bottom: 10rpx;
        text-overflow: ellipsis; //超出省略号
      }
    }

  }

  .button {
    width: 40rpx;
    height: 40rpx;
    transform: translate(190rpx, -65rpx);
    text-align: center;
    line-height: 40rpx;
    // margin-right: 10rpx;
    border-radius: 50%;
    background-color: #229293;
    font-size: 18rpx;
    font-weight: bold;
    padding: 0;
    color: white;

    // line-height: 70rpx;
  }



}


.kong {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 30rpx;
  margin-bottom: 30rpx;


  // .kong-box {
  //     .kong-icon {
  //         width: 120rpx;
  //         height: 120rpx;
  //         border-radius: 30rpx;
  //     }

  //     .kong-name {
  //         margin-top: 10rpx;
  //         text-align: center;
  //     }
  // }

  // .kong-image {
  //     width: 330rpx;
  //     height: 200rpx;
  //     margin-top: 30rpx;
  //     background-repeat: no-repeat;
  //     background-position: center top;
  //     background-size: 100% 100%;
  //     color: #ffffff;
  //     font-weight: 900;
  //     text-align: center;
  //     padding-top: 80rpx;

  // }


  .homestay {
    background: #ffffff;
    margin-top: 30rpx;
    width: 330rpx;
    border-radius: 20rpx;

    .homestay-image {
      width: 100%;
      height: 300rpx;
      border-radius: 30rpx 30rpx 0 0;
    }

    .homestay-name {
      font-size: 30rpx;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #222222;
      margin: 10rpx;
      overflow: hidden; //一定要写
      text-overflow: ellipsis; //超出省略号
      display: -webkit-box; //一定要写
      -webkit-line-clamp: 2; //控制行数
      -webkit-box-orient: vertical; //一定要写

    }

    .homestay-price {
      display: flex;
      color: red;
      font-size: 24rpx;
      margin: 20rpx 10rpx 0 10rpx;

      .price {
        font-size: 32rpx;
        margin-top: -8rpx;
      }
    }

    .homestay-address {
      font-size: 20rpx;
      font-family: Source Han Sans CN;
      font-weight: 300;
      color: #666666;
      line-height: 36rpx;
      margin: 10rpx;
    }
  }

}