...
|
...
|
@@ -114,6 +114,14 @@ |
|
|
}
|
|
|
return params;
|
|
|
}
|
|
|
function getReqUrl(url) {
|
|
|
if (url.indexOf("?") != -1) {
|
|
|
var str = url.split("?")[0];
|
|
|
return str;
|
|
|
}
|
|
|
return url;
|
|
|
}
|
|
|
|
|
|
function handleDialogOk(){
|
|
|
var href =$G('href').value.replace(/^\s+|\s+$/g, '');
|
|
|
if (!domainValidate(href)) {
|
...
|
...
|
@@ -188,8 +196,9 @@ |
|
|
var params = {action: action};
|
|
|
var hrefParams = getUrlParams(href);
|
|
|
if (action == "go.h5") {
|
|
|
params.params = {url: href};
|
|
|
params.param = hrefParams;
|
|
|
var hrefUrl = getReqUrl(href);
|
|
|
params.params = {url: hrefUrl};
|
|
|
params.params.param = hrefParams;
|
|
|
}
|
|
|
|
|
|
else if (action == "go.productDetail") {
|
...
|
...
|
|