百度地图信息窗口样式修改

百度地图信息窗口样式修改_第1张图片

.map-wrap {
  .BMap_bottom {
    display: none;
  }
  .BMap_pop {
    > div,
    > img:nth-child(10) {
      display: none;
      overflow: unset;
    }
    > div:nth-child(7) {
      display: block;
    }
    > div:nth-child(9) {
      display: block;
      overflow: unset;
      width: 440px !important;
    }
    .BMap_top {
      display: none;
    }
    .BMap_center {
      background: transparent;
      border: none;
      position: sticky !important;
      height: 100%;
    }
  }
  .BMap_bubble_content {
    background: rgba($color: #000000, $alpha: 0.5);
    border-radius: 5px;
    padding: 20px;
    .info-wrap {
      width: 100%;
      height: auto;
      .info-btn {
        width: 80px;
        height: 30px;
        background: #3c7af7;
        outline: none;
        border: none;
        color: #fff;
        border-radius: 3px;
        float: left;
      }
      .info-btnr {
        float: right;
      }
      .clear {
        clear: both;
      }
      .info-list {
        > div {
          font-size: 12px;
          color: #fff;
          margin-top: 10px;
          line-height: 16px;
        }
        .info-cell8 {
          width: 33.33%;
          float: left;
        }
        .info-cell12 {
          width: 50%;
          float: left;
          font-size: 12px;
          color: #fff;
          margin-top: 10px;
          line-height: 16px;
        }
      }
    }
  }
  .BMap_shadow {
    display: none;
  }
}

你可能感兴趣的:(前端,地图)