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

信息窗口

.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;
  }
}

猜你喜欢

转载自blog.csdn.net/qq_29669259/article/details/106080826