|
|
|
@ -1728,6 +1728,25 @@ export class CollectionToolsBuildingComponent implements OnInit {
|
|
|
|
|
} //if
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
if (this.element.nativeElement.querySelector('#rightOperate')) { |
|
|
|
|
setTimeout(() => { |
|
|
|
|
this.element.nativeElement.querySelector('#rightOperate').style.position = 'fixed' |
|
|
|
|
this.element.nativeElement.querySelector('#rightOperate').style.left = document.getElementsByClassName('sitePlanContentBox')[0].children[this.selectSitePlanIndex].getBoundingClientRect().left + document.getElementById("leftDiv").offsetWidth + 'px' |
|
|
|
|
this.element.nativeElement.querySelector('#rightOperate').style.top = document.getElementsByClassName('sitePlanContentBox')[0].children[this.selectSitePlanIndex].getBoundingClientRect().top - 32 + 'px' |
|
|
|
|
}, 0); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
hoverSitePlan(item, key) { |
|
|
|
|
if (key == this.selectSitePlanIndex) { |
|
|
|
|
if (this.element.nativeElement.querySelector('#rightOperate')) { |
|
|
|
|
setTimeout(() => { |
|
|
|
|
this.element.nativeElement.querySelector('#rightOperate').style.position = 'fixed' |
|
|
|
|
this.element.nativeElement.querySelector('#rightOperate').style.left = document.getElementsByClassName('sitePlanContentBox')[0].children[this.selectSitePlanIndex].getBoundingClientRect().left + document.getElementById("leftDiv").offsetWidth + 'px' |
|
|
|
|
this.element.nativeElement.querySelector('#rightOperate').style.top = document.getElementsByClassName('sitePlanContentBox')[0].children[this.selectSitePlanIndex].getBoundingClientRect().top - 32 + 'px' |
|
|
|
|
}, 0); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//新增平面图 楼层/区域
|
|
|
|
|