zhangzengfei
2022-07-20 4a800a8fc83c6bd1f86a8e847b079a51a7532c09
src/pages/panoramicView/components/LabelMark.vue
@@ -319,7 +319,6 @@
    sure() {
      let _this = this;
      this.$refs['labelForm'].validate(valid => {
        console.log(valid)
        if (valid) {
          _this.isShowPop = false;
          //编辑确定
@@ -328,7 +327,6 @@
            _this.curCameraData.coords[editedIndex] = JSON.parse(JSON.stringify(_this.curLabel));
          }
          console.log(_this.curCameraData.coords)
          this.$refs['labelForm'].clearValidate();
        }
      });
@@ -394,7 +392,6 @@
      })
    },
    showCurPos(e) {
      console.log(e);
      this.isShowCurPos = true;
      this.traceX = e.offsetX;
      this.traceY = e.offsetY;
@@ -424,10 +421,8 @@
      this.newLabel(e);
    },
    newLabel(e) {
      console.log('点击了画板')
      if (this.isShowPop) return;
      //获取鼠标相对于画板的定位
      console.log('获取当前定位信息');
      this.$refs['labelForm'].resetFields();
      let target = {
        id: '',
@@ -588,7 +583,8 @@
  }
  .action-bar {
    width: 960px;
    margin: auto;
    // margin: auto;
    margin-left: 100px;
    margin-top: 30px;
    //margin-bottom: 20px;
    text-align: right;
@@ -599,7 +595,8 @@
    }
  }
  .drawboard {
    margin: auto;
    // margin: auto;
    margin-left: 100px;
    width: 960px;
    height: 540px;
    margin-bottom: 130px;
@@ -693,7 +690,8 @@
  }
  .panorama-info {
    width: 1070px;
    margin: 0 auto;
    // margin: 0 auto;
    margin-left: 100px;
    display: flex;
    padding-bottom: 30px;
    .img-wrap {