.content {
  --padding-bottom: 100px;
  --background: #f8f8f8;
  .header {
    padding: 20px 10px 10px;
    height: 160px;
    // border-radius: 0 0 50px 50px;
    background-image: url(/img/bg.png);
    background-size: 100% 100%;
    .top {
      display: flex;
      .search {
        --background: #353c4d;
        --cancel-button-color: #cccccc;
        --color: #cccccc;
      }
      ion-segment {
        justify-content: start;
        padding: 0 3.2vw;
        position: sticky;
        top: 0;
        background: #fd6f6a00;
      }
      ion-segment-button {
        color: white;
        --indicator-color: white;
      }
      .more {
        width: 100px;
        margin: 0 10px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        img {
          width: 20px;
          height: 20px;
        }
      }
    }
  }
  .banner {
    height: 180px;
    // width: calc(100% - 20px);
    padding: 10px;
    margin-top: -80px;
    img {
      width: 100%;
      height: 150px;
      object-fit: cover;
    }
  }
  .swiper {
    width: 100%;
    height: 160px;
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
  .notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dbdbdb;
    padding: 10px;
    .notice-icon {
      width: 20px;
      height: 20px;
    }
    .swiper-notice {
      width: 100%;
      height: 20px;
    }
    .swiper-wrapper {
      flex: 1;
      height: 20px;

      .swiper-slide {
        display: flex;
        font-size: 14px;
        background: #ffffff00;
        .notice-item-title {
          flex-shrink: 0;
        }
        .notice-item-content {
          display: -webkit-box; //对象作为弹性伸缩盒子模型显示
          overflow: hidden; //溢出隐藏
          -webkit-box-orient: vertical; //设置伸缩盒子对象的子元素的排列方式
          -webkit-line-clamp: 1; //设置 块元素包含的文本行数
        }
      }
    }
  }
  .bar{
    padding:0 10px;
    font-size: 14px;
  }
  .room-list {
    display: grid;
    grid-template-columns: repeat(2, 180px);
    // grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding: 10px;
    justify-content: space-between;
    font-size: 14px;
    .list-row {
      // width: 180px;
      height: 250px;
      background-size: 100% 100%;
      position: relative;
      color: white;
      border-radius: 10px;
      .title-tag {
        background: linear-gradient(to bottom right, #9367fe, #d55bd9);
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 10px 0;
        padding: 4px 8px;
      }
      .live-tag {
        position: absolute;
        top: 4px;
        right: 10px;
        border-radius: 20px;
        padding: 4px 10px;
        font-size: 10px;
        background: #1414147a;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        span {
          height: 4px;
          width: 4px;
          border-radius: 50%;
          background-color: #83f1dd;
          margin-right: 4px;
        }
        img {
          width: 12px;
          height: 14px;
        }
      }
      .room-footer {
        position: absolute;
        bottom: 0;
        width: calc(100%);
        padding: 4px 10px 10px;
        max-height: 100px;
        background: linear-gradient(to bottom, #ffffff00, #434343);
        border-radius: 0 0 10px 10px;
        .user {
          font-size: 16px;
        }
        .desc {
          margin: 4px 0;
        }
        .city-block {
          display: flex;
          background: linear-gradient(to right, #ff92e3f0, #ff6a93);
          display: inline-flex;
          padding: 2px 6px;
          border-radius: 20px;
          align-items: center;
          .row-li {
            display: flex;
            align-items: center;
            img {
              width: 12px;
              height: 12px;
              margin-right: 2px;
            }
          }
        }
      }
    }
  }
}
ion-modal {
  --height: auto;

  align-items: end;
}

ion-picker {
  margin-bottom: var(--ion-safe-area-bottom);
}
