|
@@ -70,14 +70,14 @@ const elementInfoFunc = {
|
|
|
LOCATOR: (curPageDom) => {
|
|
|
let tops = [];
|
|
|
curPageDom.querySelector(".page-locator-top").childNodes.forEach((item) => {
|
|
|
- tops.push(this.getOffsetInfo(item));
|
|
|
+ tops.push(getOffsetInfo(item));
|
|
|
});
|
|
|
|
|
|
let bottoms = [];
|
|
|
curPageDom
|
|
|
.querySelector(".page-locator-bottom")
|
|
|
.childNodes.forEach((item) => {
|
|
|
- bottoms.push(this.getOffsetInfo(item));
|
|
|
+ bottoms.push(getOffsetInfo(item));
|
|
|
});
|
|
|
return {
|
|
|
top: tops,
|