| | |
| | | cluster: "", |
| | | clusterData: [], |
| | | intervalTimer: null, |
| | | leftWith: 0, |
| | | screenHeight: 0 |
| | | } |
| | | }, |
| | |
| | | }, |
| | | methods: { |
| | | TextWidthChange(e) { |
| | | console.log(1212) |
| | | let odivParent = e.currentTarget.parentNode //获取目标父元素 |
| | | let dx = e.clientX //当你第一次单击的时候,存储x轴的坐标。 |
| | | let dw = odivParent.offsetWidth //存储默认的div的宽度。 |
| | |
| | | odivParent.style.width = this.pdfWidth - odivParent.offsetLeft + "px" |
| | | } |
| | | } |
| | | |
| | | document.onmouseup = (e) => { |
| | | document.onmousemove = null |
| | | document.onmouseup = null |
| | |
| | | .column-left { |
| | | position: relative; |
| | | margin-right: 24px; |
| | | height: 233vh; |
| | | height: 160vh; |
| | | overflow: auto; |
| | | background-color: #fff; |
| | | } |