Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
33c12522
authored
Jun 18, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
111
parent
737df1d3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
Application/Home/View/Index/index.html
dist/js/global/global.min.js
Application/Home/View/Index/index.html
View file @
33c12522
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
});
});
$
(
'.input_btn'
).
click
(
function
()
{
$
(
'.input_btn'
).
click
(
function
()
{
window
.
location
.
href
=
'/
indexsearch
'
window
.
location
.
href
=
'/
/home.ic.com/homes
'
})
})
$
(
'.mobile_wrapper .lb_nav span'
).
click
(
function
()
{
$
(
'.mobile_wrapper .lb_nav span'
).
click
(
function
()
{
var
index
=
$
(
this
).
index
();
var
index
=
$
(
this
).
index
();
...
...
dist/js/global/global.min.js
View file @
33c12522
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
$
.
ajax
({
$
.
ajax
({
type
:
type
,
type
:
type
,
url
:
URL_api
+
"/"
+
url
,
url
:
url
,
data
:
params
,
data
:
params
,
dataType
:
dataTypeXpx
,
dataType
:
dataTypeXpx
,
xhrFields
:
{
xhrFields
:
{
...
@@ -152,11 +152,11 @@
...
@@ -152,11 +152,11 @@
})(
window
);
})(
window
);
//跨域模式切换 兼容
//跨域模式切换 兼容
var
dataTypeXpx
=
"json"
;
//
var dataTypeXpx = "json";
if
((
navigator
.
userAgent
.
indexOf
(
'MSIE'
)
>=
0
)
&&
(
navigator
.
userAgent
.
indexOf
(
'Opera'
)
<
0
))
{
//
if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)) {
dataTypeXpx
=
"jsonp"
;
//
dataTypeXpx = "jsonp";
}
//
}
var
cookieHostname
=
window
.
location
.
hostname
.
split
(
"."
)[
1
]
+
"."
+
window
.
location
.
hostname
.
split
(
"."
)[
2
];
//
var cookieHostname = window.location.hostname.split(".")[1] + "." + window.location.hostname.split(".")[2];
//form序列化json
//form序列化json
$
.
fn
.
serializeJson
=
function
()
{
$
.
fn
.
serializeJson
=
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment