.location {
  display: flex;
  cursor: pointer;
  color: #414141;
  font-size: 13.5px;
  &-address {
    margin-right: 7px;
  }
  &-icon {
    display: flex;
    align-items: center;
  }
}
.location-city-box {
  font-size: 13px;
  color: #000;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid #CCCCCC;
  width: 80px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.location-list {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  padding: 10px 10px 0 13px;
  z-index: 999;
  overflow-y: scroll;

  &-head {
    padding: 0 13px 0 13px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    &-img {
      width: 8px;
      height: 14px;
    }
  }
  &-location {
    margin-bottom: 15px;
    &-img {
      width: 10px;
      height: 13px;
      margin-right: 2px;
    }
    &-text {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 4em;
    }
  }
  &-hot {
    margin-bottom: 21px;
    &-title {
      font-size: 14px;
      color: #999999;
      margin-bottom: 15px;
    }
    &-content {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-column-gap: 10px;
      grid-row-gap: 15px;
      &-item {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 4em;
      }
    }
  }
  &-city {
    &-box {
      &-type {
        font-size: 14px;
        color: #999999;
        padding: 0;
        line-height: 10px;
        margin: 5px 0 20px 0;
      }
      &-name {
        color: #000;
        font-size: 13px;
        padding: 0;
        line-height: 12px;
        margin-bottom: 20px;
        font-weight: 500;
      }
    }
  }
  &-index-bar {
    background-color: #F7F7F7;
    position: fixed;
    right: 12px;
    border-radius: 5px;
    padding: 5px 3px;
    top: 280px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    user-select: none;
    &-name {
      font-weight: 500;
      font-size: 10px;
    }
  }
}
.location-list-index {
  overflow-y: scroll;
}
