| | |
| | | <!-- |
| | | * @Date: 2024-01-05 23:47:53 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-01-20 20:54:09 |
| | | * @LastEditTime: 2024-01-20 20:58:01 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/mapPreview/Map.vue |
| | | --> |
| | | <template> |
| | |
| | | clearTimeout(timer) |
| | | }, |
| | | mouseleave () { |
| | | this.move && this.moveFn() |
| | | let {width} = document.querySelector('.table div').getBoundingClientRect() |
| | | let {width: tableW} = document.querySelector('.table').getBoundingClientRect() |
| | | if (width > tableW) { |
| | | this.leftMax = width - tableW |
| | | clearTimeout(timer) |
| | | this.moveFn() |
| | | } else { |
| | | this.leftMax = 0 |
| | | } |
| | | }, |
| | | toDetail (v) { |
| | | this.$router.push({ |