shuishen
2024-12-18 23e0c317e7854549f5b8dc7d48cbcabaca0874db
九小场所地图popup弹窗样式调整
1 files modified
13 ■■■■ changed files
src/components/map/components/placeBasePopup.vue 13 ●●●● patch | view | raw | blame | history
src/components/map/components/placeBasePopup.vue
@@ -72,13 +72,11 @@
  },
  mounted () {
    if (this.getWidth() > 7000) {
      this.scaleDomFlag = true
    } else {
      this.scaleDomFlag = false
    }
  },
  methods: {
@@ -238,8 +236,6 @@
      display: flex;
      flex-direction: row;
      width: calc(100% - 20px);
      height: 30px;
      line-height: 30px;
      margin: 0 10px;
      text-align: left;
@@ -249,13 +245,16 @@
        display: inline-block;
        text-align-last: justify;
        margin-right: 20px;
        line-height: 30px;
      }
      &>div:nth-of-type(2) {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 240px;
        // overflow: hidden;
        // text-overflow: ellipsis;
        white-space: wrap;
        line-height: 30px;
      }
    }
  }