Commit 33c12522 by 施宇

111

parent 737df1d3
......@@ -263,7 +263,7 @@
});
$('.input_btn').click(function () {
window.location.href = '/indexsearch'
window.location.href = '//home.ic.com/homes'
})
$('.mobile_wrapper .lb_nav span').click(function () {
var index = $(this).index();
......
......@@ -21,7 +21,7 @@
$.ajax({
type: type,
url: URL_api + "/" + url,
url: url,
data: params,
dataType: dataTypeXpx,
xhrFields: {
......@@ -152,11 +152,11 @@
})(window);
//跨域模式切换 兼容
var dataTypeXpx = "json";
if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)) {
dataTypeXpx = "jsonp";
}
var cookieHostname = window.location.hostname.split(".")[1] + "." + window.location.hostname.split(".")[2];
// var dataTypeXpx = "json";
// if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)) {
// dataTypeXpx = "jsonp";
// }
// var cookieHostname = window.location.hostname.split(".")[1] + "." + window.location.hostname.split(".")[2];
//form序列化json
$.fn.serializeJson = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment