|
@@ -37,7 +37,7 @@ window.initHot = function (model) {
|
|
|
var getCommonHotspotUrl = function (link) {
|
|
|
var querySectionInLink = link.split('?')[1]
|
|
|
var langParam = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : "";
|
|
|
- // return `http://192.168.20.16:8085/#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
|
|
|
+ // return `http://192.168.20.16:8087/#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
|
|
|
return `/AnhuiDaily/hotspot/index.html#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
|
|
|
}
|
|
|
var removeSrcPostMark = function (url) {//去除texture.load时自动加上的'?'
|
|
@@ -1140,7 +1140,7 @@ window.initHot = function (model) {
|
|
|
|
|
|
if (openHot && this.info.linkType != "common" && this.info.iframe && this.info.iframe[0]) {
|
|
|
if (this.info.linkType === 'jumpLink' && !this.info.iframe[0].startsWith('external-')) { // 场景跳转(热点编辑里添加网页链接——跳转)
|
|
|
-
|
|
|
+
|
|
|
// 注意,因为网站用了vue router, url里看上去像是查询片段的那一段其实是放在hash片段中的。
|
|
|
const hotspotWebQuerySection = new URLSearchParams(this.info.iframe[0].split('?')[1])
|
|
|
const targetSceneCode = hotspotWebQuerySection.get('m')
|
|
@@ -1245,7 +1245,7 @@ window.initHot = function (model) {
|
|
|
var n = document.createElement("iframe")
|
|
|
|
|
|
SoundManager.play('hot')
|
|
|
-
|
|
|
+
|
|
|
var src = getCommonHotspotUrl(this.info.link)
|
|
|
n.src = src
|
|
|
n.id = "id1",
|