@@ -455,11 +467,16 @@
const token = this.dom.parentNode.getAttribute('data-token');
const rId = this.dom.parentNode.getAttribute('data-rid');
const url = this.dom.parentNode.getAttribute('data-url');
+ const type = this.dom.parentNode.getAttribute('data-type') ? 1 : 0;
const longitude = this.dom.parentNode.getAttribute('data-longitude');
const latitude = this.dom.parentNode.getAttribute('data-latitude');
const path = "http://101.201.226.163/tall/v4.0.0/pages/detailWebview/detailWebview";
const param = `http://101.201.226.163/checkwork/?pid=${pId}&uid=${uId}&rid=${rId}&token=${token}&url=${url}&longitude=${longitude}&latitude=${latitude}`;
- location.href = `${path}/?url=${encodeURIComponent(param)}`;
+ if (type === 1) {
+ sessionStorage.setItem('targetUrl', param);
+ } else {
+ location.href = `${path}/?url=${encodeURIComponent(param)}`;
+ }
}
}
p1485171846022434817.init()