|
@@ -37,8 +37,8 @@ window.initHot = function (model) {
|
|
|
var getLink = function (link) {
|
|
|
var querySectionInLink = link.split('?')[1]
|
|
|
var langParam = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : "";
|
|
|
- return 'http://192.168.20.16:8085/#/new/' + "?" + querySectionInLink + "&time=" + randomTime().getTime() + "&id=" + window.number + langParam
|
|
|
- // return '/AnhuiDaily/hotspot/index.html#/new/' + "?" + querySectionInLink + "&time=" + randomTime().getTime() + "&id=" + window.number + langParam
|
|
|
+ return `http://192.168.20.16:8085/#/${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时自动加上的'?'
|
|
|
var index = url.indexOf('?')
|