Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
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
518ca13d
authored
Jan 30, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
客户端时间不一致
parent
d78d60b6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
public/index.html
src/store/modules/home.js
view/index.html
view/js/app.2205797d.js → view/js/app.7d27d685.js
public/index.html
View file @
518ca13d
...
...
@@ -19,8 +19,8 @@
<meta
name=
"description"
content=
"猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。"
>
<meta
name=
"keywords"
content=
"猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"stylesheet"
href=
"/v3/dist/res/m/css/font/iconfont.css"
>
<!--
测试站调试
<script src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script>
-->
...
...
@@ -28,7 +28,6 @@
<script
type=
"text/javascript"
>
var
fwtimes
=
window
.
fwtime
-
(
Math
.
floor
((
new
Date
().
getTime
())
/
1000
));
//获取服务器时间差
</script>
<link
rel=
"stylesheet"
href=
"/v3/dist/res/m/css/font/iconfont.css"
>
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"<%= BASE_URL %>static/js/flexible.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"<%= BASE_URL %>static/js/shence.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
...
...
src/store/modules/home.js
View file @
518ca13d
...
...
@@ -28,6 +28,11 @@ const actions = {
type
:
'index'
,
data
:
data
.
data
});
}
else
if
(
data
.
err_code
==
2
)
{
Toast
({
message
:
'非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间'
,
duration
:
1500
});
}
}).
catch
(
function
(
err
)
{
state
.
loading
=
false
;
...
...
view/index.html
View file @
518ca13d
<!DOCTYPE HTML>
<html
lang=
zh-CN
><head><title></title><meta
name=
author
content=
www.ichunt.com
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"
><meta
http-equiv=
Content-Type
content=
"text/html;charset=utf-8"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><meta
name=
format-detection
content=
"telephone=no"
><meta
http-equiv=
Expires
content=
-1
><meta
http-equiv=
Cache-Control
content=
no-cache
><meta
http-equiv=
Pragma
content=
no-cache
><meta
name=
full-screen
content=
yes
><meta
name=
browsermode
content=
application
><meta
name=
x5-fullscreen
content=
true
><meta
name=
x5-page-mode
content=
app
><meta
name=
description
content=
猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。
><meta
name=
keywords
content=
猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,
><link
rel=
icon
href=
//h5static.ichunt.com/favicon.ico
><
script
src=
get_time.php
></script><script>
var
fwtimes
=
window
.
fwtime
-
(
Math
.
floor
((
new
Date
().
getTime
())
/
1000
));
//获取服务器时间差
</script><link
rel=
stylesheet
href=
/v3/dist/res/m/css/font/iconfont.css
><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/flexible.min.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/shence.min.js
charset=
utf-8
></script><link
href=
//h5static.ichunt.com/css/chunk-25d47f48.3c469a98.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-25d47f48.9064b7e2.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.2205797d
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
stylesheet
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
stylesheet
></head><body><noscript><strong>
网站出现了一点小问题,正在修复中.......
</strong></noscript><div
id=
app
></div><script>
function
SetCookie
(
name
,
value
,
time
,
domain
)
{
<!DOCTYPE HTML>
<html
lang=
zh-CN
><head><title></title><meta
name=
author
content=
www.ichunt.com
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"
><meta
http-equiv=
Content-Type
content=
"text/html;charset=utf-8"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><meta
name=
format-detection
content=
"telephone=no"
><meta
http-equiv=
Expires
content=
-1
><meta
http-equiv=
Cache-Control
content=
no-cache
><meta
http-equiv=
Pragma
content=
no-cache
><meta
name=
full-screen
content=
yes
><meta
name=
browsermode
content=
application
><meta
name=
x5-fullscreen
content=
true
><meta
name=
x5-page-mode
content=
app
><meta
name=
description
content=
猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。
><meta
name=
keywords
content=
猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,
><link
rel=
icon
href=
//h5static.ichunt.com/favicon.ico
><
link
rel=
stylesheet
href=
/v3/dist/res/m/css/font/iconfont.css
><script
src=
get_time.php
></script><script>
var
fwtimes
=
window
.
fwtime
-
(
Math
.
floor
((
new
Date
().
getTime
())
/
1000
));
//获取服务器时间差
</script><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/flexible.min.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/shence.min.js
charset=
utf-8
></script><link
href=
//h5static.ichunt.com/css/chunk-25d47f48.3c469a98.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-25d47f48.9064b7e2.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.7d27d685
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
stylesheet
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
stylesheet
></head><body><noscript><strong>
网站出现了一点小问题,正在修复中.......
</strong></noscript><div
id=
app
></div><script>
function
SetCookie
(
name
,
value
,
time
,
domain
)
{
domain
=
domain
?
";domain="
+
domain
:
""
;
var
Days
=
time
;
var
exp
=
new
Date
();
...
...
@@ -224,4 +224,4 @@
user_rank
:
'0'
});
sensors
.
quick
(
'autoTrack'
);
}
</script><script
src=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
></script><script
src=
//h5static.ichunt.com/js/app.2205797d.js
></script></body></html>
\ No newline at end of file
}
</script><script
src=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
></script><script
src=
//h5static.ichunt.com/js/app.7d27d685.js
></script></body></html>
\ No newline at end of file
view/js/app.
2205797d
.js
→
view/js/app.
7d27d685
.js
View file @
518ca13d
(
function
(
t
){
function
e
(
e
){
for
(
var
o
,
r
,
i
=
e
[
0
],
u
=
e
[
1
],
s
=
e
[
2
],
l
=
0
,
f
=
[];
l
<
i
.
length
;
l
++
)
r
=
i
[
l
],
a
[
r
]
&&
f
.
push
(
a
[
r
][
0
]),
a
[
r
]
=
0
;
for
(
o
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
o
)
&&
(
t
[
o
]
=
u
[
o
]);
d
&&
d
(
e
);
while
(
f
.
length
)
f
.
shift
()();
return
c
.
push
.
apply
(
c
,
s
||
[]),
n
()}
function
n
(){
for
(
var
t
,
e
=
0
;
e
<
c
.
length
;
e
++
){
for
(
var
n
=
c
[
e
],
o
=!
0
,
r
=
1
;
r
<
n
.
length
;
r
++
){
var
i
=
n
[
r
];
0
!==
a
[
i
]
&&
(
o
=!
1
)}
o
&&
(
c
.
splice
(
e
--
,
1
),
t
=
u
(
u
.
s
=
n
[
0
]))}
return
t
}
var
o
=
{},
r
=
{
app
:
0
},
a
=
{
app
:
0
},
c
=
[];
function
i
(
t
){
return
u
.
p
+
"js/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-25d47f48"
:
"9064b7e2"
}[
t
]
+
".js"
}
function
u
(
e
){
if
(
o
[
e
])
return
o
[
e
].
exports
;
var
n
=
o
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
t
[
e
].
call
(
n
.
exports
,
n
,
n
.
exports
,
u
),
n
.
l
=!
0
,
n
.
exports
}
u
.
e
=
function
(
t
){
var
e
=
[],
n
=
{
"chunk-25d47f48"
:
1
};
r
[
t
]?
e
.
push
(
r
[
t
]):
0
!==
r
[
t
]
&&
n
[
t
]
&&
e
.
push
(
r
[
t
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
o
=
"css/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-25d47f48"
:
"3c469a98"
}[
t
]
+
".css"
,
a
=
u
.
p
+
o
,
c
=
document
.
getElementsByTagName
(
"link"
),
i
=
0
;
i
<
c
.
length
;
i
++
){
var
s
=
c
[
i
],
l
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
l
===
o
||
l
===
a
))
return
e
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
i
=
0
;
i
<
f
.
length
;
i
++
){
s
=
f
[
i
],
l
=
s
.
getAttribute
(
"data-href"
);
if
(
l
===
o
||
l
===
a
)
return
e
()}
var
d
=
document
.
createElement
(
"link"
);
d
.
rel
=
"stylesheet"
,
d
.
type
=
"text/css"
,
d
.
onload
=
e
,
d
.
onerror
=
function
(
e
){
var
o
=
e
&&
e
.
target
&&
e
.
target
.
src
||
a
,
c
=
new
Error
(
"Loading CSS chunk "
+
t
+
" failed.\n("
+
o
+
")"
);
c
.
request
=
o
,
delete
r
[
t
],
d
.
parentNode
.
removeChild
(
d
),
n
(
c
)},
d
.
href
=
a
;
var
m
=
document
.
getElementsByTagName
(
"head"
)[
0
];
m
.
appendChild
(
d
)}).
then
(
function
(){
r
[
t
]
=
0
}));
var
o
=
a
[
t
];
if
(
0
!==
o
)
if
(
o
)
e
.
push
(
o
[
2
]);
else
{
var
c
=
new
Promise
(
function
(
e
,
n
){
o
=
a
[
t
]
=
[
e
,
n
]});
e
.
push
(
o
[
2
]
=
c
);
var
s
,
l
=
document
.
createElement
(
"script"
);
l
.
charset
=
"utf-8"
,
l
.
timeout
=
120
,
u
.
nc
&&
l
.
setAttribute
(
"nonce"
,
u
.
nc
),
l
.
src
=
i
(
t
),
s
=
function
(
e
){
l
.
onerror
=
l
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
a
[
t
];
if
(
0
!==
n
){
if
(
n
){
var
o
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
r
=
e
&&
e
.
target
&&
e
.
target
.
src
,
c
=
new
Error
(
"Loading chunk "
+
t
+
" failed.\n("
+
o
+
": "
+
r
+
")"
);
c
.
type
=
o
,
c
.
request
=
r
,
n
[
1
](
c
)}
a
[
t
]
=
void
0
}};
var
f
=
setTimeout
(
function
(){
s
({
type
:
"timeout"
,
target
:
l
})},
12
e4
);
l
.
onerror
=
l
.
onload
=
s
,
document
.
head
.
appendChild
(
l
)}
return
Promise
.
all
(
e
)},
u
.
m
=
t
,
u
.
c
=
o
,
u
.
d
=
function
(
t
,
e
,
n
){
u
.
o
(
t
,
e
)
||
Object
.
defineProperty
(
t
,
e
,{
enumerable
:
!
0
,
get
:
n
})},
u
.
r
=
function
(
t
){
"undefined"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
t
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
})},
u
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
u
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
===
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
n
=
Object
.
create
(
null
);
if
(
u
.
r
(
n
),
Object
.
defineProperty
(
n
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
o
in
t
)
u
.
d
(
n
,
o
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
o
));
return
n
},
u
.
n
=
function
(
t
){
var
e
=
t
&&
t
.
__esModule
?
function
(){
return
t
[
"default"
]}:
function
(){
return
t
};
return
u
.
d
(
e
,
"a"
,
e
),
e
},
u
.
o
=
function
(
t
,
e
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
t
,
e
)},
u
.
p
=
"//h5static.ichunt.com/"
,
u
.
oe
=
function
(
t
){
throw
console
.
error
(
t
),
t
};
var
s
=
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[],
l
=
s
.
push
.
bind
(
s
);
s
.
push
=
e
,
s
=
s
.
slice
();
for
(
var
f
=
0
;
f
<
s
.
length
;
f
++
)
e
(
s
[
f
]);
var
d
=
l
;
c
.
push
([
0
,
"chunk-vendors"
]),
n
()})({
0
:
function
(
t
,
e
,
n
){
t
.
exports
=
n
(
"56d7"
)},
"56d7"
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
o
=
n
(
"0ec6"
),
r
=
n
.
n
(
o
),
a
=
(
n
(
"c764"
),
n
(
"9f07"
),
n
(
"0964"
),
n
(
"1cc5"
)),
c
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"keep-alive"
,{
attrs
:{
exclude
:
""
}},[
n
(
"router-view"
,{
staticClass
:
"router-view"
})],
1
)],
1
)},
i
=
[],
u
=
{
name
:
"app"
},
s
=
u
,
l
=
n
(
"25c1"
),
f
=
Object
(
l
[
"a"
])(
s
,
c
,
i
,
!
1
,
null
,
null
,
null
);
f
.
options
.
__file
=
"App.vue"
;
var
d
=
f
.
exports
,
m
=
n
(
"7f43"
),
p
=
n
.
n
(
m
),
h
=
(
n
(
"0a16"
),
n
(
"081a"
)),
g
=
function
(
t
){
return
n
.
e
(
"chunk-25d47f48"
).
then
(
function
(){
var
e
=
[
n
(
"9553"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)};
a
[
"a"
].
use
(
h
[
"a"
]);
var
v
=
[{
path
:
"/home"
,
component
:
g
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/"
,
redirect
:
"/home"
},{
path
:
"*"
,
redirect
:
"/"
}];
v
.
forEach
(
function
(
t
){
t
.
path
=
t
.
path
||
"/"
+
(
t
.
name
||
""
)});
var
w
=
new
h
[
"a"
]({
routes
:
v
});
w
.
beforeEach
(
function
(
t
,
e
,
n
){
var
o
=
t
.
meta
&&
t
.
meta
.
title
;
o
&&
(
document
.
title
=
o
),
n
()});
var
k
,
C
,
b
=
n
(
"52c1"
),
y
=
n
(
"6ef6"
);
switch
(
window
.
location
.
hostname
){
case
"www.ichunt.com"
:
k
=
"https://api.ichunt.com/"
;
break
;
case
"m.ichunt.com"
:
C
=
"https://m.ichunt.com/v3/"
,
k
=
"https://api.ichunt.com/"
;
break
;
case
"sz.ichunt.com"
:
k
=
"https://szapi.ichunt.com/"
;
break
;
case
"szm.ichunt.com"
:
k
=
"https://szapi.ichunt.com/"
,
C
=
"https://szm.ichunt.com/v3/"
;
break
;
case
"t.ichunt.com"
:
k
=
"https://api.ichunt.com/"
;
break
;
case
"tm.ichunt.com"
:
C
=
"https://tm.ichunt.com/v3/"
,
k
=
"https://api.ichunt.com/"
;
break
;
case
"www.liexin.com"
:
k
=
"http://api.liexin.com/"
;
break
;
case
"m.liexin.com"
:
C
=
"http://m.liexin.com/v3/"
,
k
=
"http://api.liexin.com/"
;
break
;
default
:
k
=
"/api/"
}
var
x
=
C
,
T
=
k
,
P
=
{
index
:
x
+
"index"
,
loginCheck
:
T
+
"login/check"
,
cartCount
:
T
+
"cart/count"
,
customsrService
:
T
+
"public/customsrservice"
,
getCommonParams
:
x
+
"getcommonparams"
,
wxaccess
:
x
+
"api/wxaccess"
},
_
=
{
index
:
function
(
t
){
return
p
.
a
.
post
(
P
.
index
,
t
)},
loginCheck
:
function
(
t
){
return
p
.
a
.
get
(
P
.
loginCheck
,{
params
:{
data
:
t
}})},
cartCount
:
function
(
t
){
return
p
.
a
.
get
(
P
.
cartCount
,{
params
:{
data
:
t
}})},
customsrService
:
function
(
t
){
return
p
.
a
.
get
(
P
.
customsrService
,{
params
:{
data
:
t
}})},
getCommonParams
:
function
(
t
){
return
p
.
a
.
post
(
P
.
getCommonParams
,
t
)},
wxaccess
:
function
(
t
){
return
p
.
a
.
post
(
P
.
wxaccess
,
t
)}},
E
=
(
n
(
"ac74"
),
n
(
"9029"
),
n
(
"ab01"
)),
S
=
n
.
n
(
E
),
A
=
(
n
(
"4ddc"
),
0
),
j
=
8
;
function
M
(
t
){
return
N
(
O
(
Y
(
t
),
t
.
length
*
j
))}
function
O
(
t
,
e
){
t
[
e
>>
5
]
|=
128
<<
24
-
e
%
32
,
t
[
15
+
(
e
+
64
>>
9
<<
4
)]
=
e
;
for
(
var
n
=
Array
(
80
),
o
=
1732584193
,
r
=-
271733879
,
a
=-
1732584194
,
c
=
271733878
,
i
=-
1009589776
,
u
=
0
;
u
<
t
.
length
;
u
+=
16
){
for
(
var
s
=
o
,
l
=
r
,
f
=
a
,
d
=
c
,
m
=
i
,
p
=
0
;
p
<
80
;
p
++
){
n
[
p
]
=
p
<
16
?
t
[
u
+
p
]:
B
(
n
[
p
-
3
]
^
n
[
p
-
8
]
^
n
[
p
-
14
]
^
n
[
p
-
16
],
1
);
var
h
=
q
(
q
(
B
(
o
,
5
),
D
(
p
,
r
,
a
,
c
)),
q
(
q
(
i
,
n
[
p
]),
z
(
p
)));
i
=
c
,
c
=
a
,
a
=
B
(
r
,
30
),
r
=
o
,
o
=
h
}
o
=
q
(
o
,
s
),
r
=
q
(
r
,
l
),
a
=
q
(
a
,
f
),
c
=
q
(
c
,
d
),
i
=
q
(
i
,
m
)}
return
Array
(
o
,
r
,
a
,
c
,
i
)}
function
D
(
t
,
e
,
n
,
o
){
return
t
<
20
?
e
&
n
|~
e
&
o
:
t
<
40
?
e
^
n
^
o
:
t
<
60
?
e
&
n
|
e
&
o
|
n
&
o
:
e
^
n
^
o
}
function
z
(
t
){
return
t
<
20
?
1518500249
:
t
<
40
?
1859775393
:
t
<
60
?
-
1894007588
:
-
899497514
}
function
q
(
t
,
e
){
var
n
=
(
65535
&
t
)
+
(
65535
&
e
),
o
=
(
t
>>
16
)
+
(
e
>>
16
)
+
(
n
>>
16
);
return
o
<<
16
|
65535
&
n
}
function
B
(
t
,
e
){
return
t
<<
e
|
t
>>>
32
-
e
}
function
Y
(
t
){
for
(
var
e
=
Array
(),
n
=
(
1
<<
j
)
-
1
,
o
=
0
;
o
<
t
.
length
*
j
;
o
+=
j
)
e
[
o
>>
5
]
|=
(
t
.
charCodeAt
(
o
/
j
)
&
n
)
<<
24
-
o
%
32
;
return
e
}
function
N
(
t
){
for
(
var
e
=
A
?
"0123456789ABCDEF"
:
"0123456789abcdef"
,
n
=
""
,
o
=
0
;
o
<
4
*
t
.
length
;
o
++
)
n
+=
e
.
charAt
(
t
[
o
>>
2
]
>>
8
*
(
3
-
o
%
4
)
+
4
&
15
)
+
e
.
charAt
(
t
[
o
>>
2
]
>>
8
*
(
3
-
o
%
4
)
&
15
);
return
n
}
var
W
=
n
(
"0427"
),
F
=
{
setCookie
:
function
(
t
,
e
,
n
,
o
){
o
=
o
?
";domain="
+
o
:
""
;
var
r
=
n
,
a
=
new
Date
;
return
a
.
setTime
(
a
.
getTime
()
+
24
*
r
*
60
*
60
*
1
e3
),
document
.
cookie
=
t
+
"="
+
encodeURIComponent
(
e
)
+
";expires="
+
a
.
toGMTString
()
+
";path=/"
+
o
,
!
0
},
getCookie
:
function
(
t
){
for
(
var
e
=
document
.
cookie
,
n
=
e
.
split
(
"; "
),
o
=
0
;
o
<
n
.
length
;
o
++
){
var
r
=
n
[
o
].
split
(
"="
);
if
(
t
==
r
[
0
])
return
r
[
1
]}
return
null
},
delCookie
:
function
(
t
){
var
e
=
new
Date
;
e
.
setTime
(
e
.
getTime
()
-
1
);
var
n
=
this
.
getCookie
(
t
);
null
!=
n
&&
(
document
.
cookie
=
t
+
"="
+
n
+
";expires="
+
e
.
toGMTString
())},
getParams
:
function
(
t
){
var
e
=
this
.
getCookie
(
"Yo4teW_gid"
),
n
=
this
.
getCookie
(
"cache_time"
);
if
(
null
!=
n
)
var
o
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
);
else
{
o
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
)
+
window
.
fwtimes
;
this
.
setCookie
(
"cache_time"
,
window
.
fwtimes
,
1
,
window
.
cookieHostname
)}
var
a
=
[],
c
=
{},
i
=
""
,
u
=
""
,
s
=
""
,
l
=
{
pf
:
2
,
qwertyuiop
:
o
,
Yo4teW_gid
:
e
},
f
=
S
()({},
l
,
t
);
r
()(
f
).
forEach
(
function
(
t
,
e
,
n
){
a
.
push
(
t
)}),
a
=
a
.
sort
(),
a
.
forEach
(
function
(
t
,
e
,
n
){
c
[
a
[
e
]]
=
f
[
a
[
e
]]}),
r
()(
c
).
forEach
(
function
(
t
,
e
,
n
){
i
+=
t
+
"="
+
c
[
t
]}),
u
=
i
.
replace
(
/
[^
0-9a-zA-Z
]
/g
,
""
),
u
=
u
.
toUpperCase
();
for
(
var
d
=
0
;
d
<
u
.
length
;
d
++
)
"A"
!=
u
[
d
]
&&
"B"
!=
u
[
d
]
&&
"C"
!=
u
[
d
]
&&
(
s
+=
u
[
d
]);
i
=
M
(
s
);
var
m
=
S
()({},
t
,{
asdfghjkl
:
i
},{
qwertyuiop
:
o
},{
pf
:
2
});
return
W
.
stringify
(
m
)}};
a
[
"a"
].
use
(
y
[
"g"
]);
var
H
=
{
index
:{},
loading
:
!
0
},
L
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
$
=
{
index
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
H
.
loading
=!
0
;
var
o
=
F
.
getParams
();
_
.
index
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
H
.
loading
=!
1
,
0
==
e
.
err_code
&&
n
({
type
:
"index"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){
H
.
loading
=!
1
})}},
G
=
{},
J
=
{
state
:
H
,
mutations
:
L
,
actions
:
$
,
getters
:
G
};
a
[
"a"
].
use
(
y
[
"g"
]);
var
U
=
{
cartCount
:
""
,
loginCheck
:
!
1
,
phpParams
:{}},
I
=
{
cartCount
:
function
(
t
,
e
){
t
.
cartCount
=
0
==
e
.
data
?
""
:
e
.
data
},
loginCheck
:
function
(
t
,
e
){
0
==
e
.
data
.
err_code
?
t
.
loginCheck
=!
0
:
11030
==
e
.
data
.
err_code
?
t
.
loginCheck
=!
0
:
t
.
loginCheck
=!
1
},
phpParams
:
function
(
t
,
e
){
t
.
phpParams
=
e
.
data
.
data
}},
R
=
{
cartCount
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
_
.
cartCount
().
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
n
({
type
:
"cartCount"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
loginCheck
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
_
.
loginCheck
().
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"loginCheck"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
customsrService
:
function
(
t
,
e
){
t
.
commit
;
var
n
=
{
pf
:
window
.
lxpf
,
searchModel
:
""
};
_
.
customsrService
(
n
).
then
(
function
(
t
){}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
getCommonParams
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
o
=
F
.
getParams
();
_
.
getCommonParams
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"phpParams"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})}},
Z
=
{},
K
=
{
state
:
U
,
mutations
:
I
,
actions
:
R
,
getters
:
Z
};
a
[
"a"
].
use
(
b
[
"a"
]);
var
Q
=
new
b
[
"a"
].
Store
({
modules
:{
home
:
J
,
common
:
K
}}),
V
=
function
(
t
){
var
e
=
new
Date
;
e
.
setTime
(
1
e3
*
t
);
var
n
=
e
.
getFullYear
(),
o
=
e
.
getMonth
()
+
1
;
o
=
o
<
10
?
"0"
+
o
:
o
;
var
r
=
e
.
getDate
();
r
=
r
<
10
?
"0"
+
r
:
r
;
var
a
=
e
.
getHours
();
a
=
a
<
10
?
"0"
+
a
:
a
;
var
c
=
e
.
getMinutes
(),
i
=
e
.
getSeconds
();
return
c
=
c
<
10
?
"0"
+
c
:
c
,
i
=
i
<
10
?
"0"
+
i
:
i
,
n
+
"-"
+
o
+
"-"
+
r
+
" "
},
X
=
{
dateTimeFormate
:
V
},
tt
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(){
document
.
body
.
scrollTop
=
0
,
document
.
documentElement
.
scrollTop
=
0
,
document
.
querySelector
(
".container-wrap"
).
scrollTop
=
0
},
!
1
)}},
et
=
{
install
:
function
(
t
){
t
.
directive
(
"backTop"
,
tt
)}},
nt
=
n
(
"897d"
),
ot
=
n
.
n
(
nt
);
n
(
"e1a5"
),
n
(
"bfd9"
);
r
()(
X
).
forEach
(
function
(
t
){
return
a
[
"a"
].
filter
(
t
,
X
[
t
])}),
a
[
"a"
].
use
(
et
),
a
[
"a"
].
prototype
.
$http
=
p
.
a
,
p
.
a
.
defaults
.
headers
.
post
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
,
p
.
a
.
defaults
.
withCredentials
=!
0
,
a
[
"a"
].
config
.
productionTip
=!
1
;
var
rt
=
F
.
getCookie
(
"Yo4teW_gid"
);
if
(
null
==
rt
){
var
at
=
ot
()(
""
);
F
.
setCookie
(
"Yo4teW_gid"
,
at
,
1
,
window
.
cookieHostname
)}
var
ct
=
F
.
getParams
();
_
.
wxaccess
(
ct
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
e
.
data
&&
(
window
.
location
.
href
=
e
.
data
)}),
new
a
[
"a"
]({
router
:
w
,
store
:
Q
,
render
:
function
(
t
){
return
t
(
d
)}}).
$mount
(
"#app"
)},
bfd9
:
function
(
t
,
e
,
n
){}});
\ No newline at end of file
(
function
(
t
){
function
e
(
e
){
for
(
var
o
,
r
,
i
=
e
[
0
],
u
=
e
[
1
],
s
=
e
[
2
],
l
=
0
,
f
=
[];
l
<
i
.
length
;
l
++
)
r
=
i
[
l
],
a
[
r
]
&&
f
.
push
(
a
[
r
][
0
]),
a
[
r
]
=
0
;
for
(
o
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
o
)
&&
(
t
[
o
]
=
u
[
o
]);
d
&&
d
(
e
);
while
(
f
.
length
)
f
.
shift
()();
return
c
.
push
.
apply
(
c
,
s
||
[]),
n
()}
function
n
(){
for
(
var
t
,
e
=
0
;
e
<
c
.
length
;
e
++
){
for
(
var
n
=
c
[
e
],
o
=!
0
,
r
=
1
;
r
<
n
.
length
;
r
++
){
var
i
=
n
[
r
];
0
!==
a
[
i
]
&&
(
o
=!
1
)}
o
&&
(
c
.
splice
(
e
--
,
1
),
t
=
u
(
u
.
s
=
n
[
0
]))}
return
t
}
var
o
=
{},
r
=
{
app
:
0
},
a
=
{
app
:
0
},
c
=
[];
function
i
(
t
){
return
u
.
p
+
"js/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-25d47f48"
:
"9064b7e2"
}[
t
]
+
".js"
}
function
u
(
e
){
if
(
o
[
e
])
return
o
[
e
].
exports
;
var
n
=
o
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
t
[
e
].
call
(
n
.
exports
,
n
,
n
.
exports
,
u
),
n
.
l
=!
0
,
n
.
exports
}
u
.
e
=
function
(
t
){
var
e
=
[],
n
=
{
"chunk-25d47f48"
:
1
};
r
[
t
]?
e
.
push
(
r
[
t
]):
0
!==
r
[
t
]
&&
n
[
t
]
&&
e
.
push
(
r
[
t
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
o
=
"css/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-25d47f48"
:
"3c469a98"
}[
t
]
+
".css"
,
a
=
u
.
p
+
o
,
c
=
document
.
getElementsByTagName
(
"link"
),
i
=
0
;
i
<
c
.
length
;
i
++
){
var
s
=
c
[
i
],
l
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
l
===
o
||
l
===
a
))
return
e
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
i
=
0
;
i
<
f
.
length
;
i
++
){
s
=
f
[
i
],
l
=
s
.
getAttribute
(
"data-href"
);
if
(
l
===
o
||
l
===
a
)
return
e
()}
var
d
=
document
.
createElement
(
"link"
);
d
.
rel
=
"stylesheet"
,
d
.
type
=
"text/css"
,
d
.
onload
=
e
,
d
.
onerror
=
function
(
e
){
var
o
=
e
&&
e
.
target
&&
e
.
target
.
src
||
a
,
c
=
new
Error
(
"Loading CSS chunk "
+
t
+
" failed.\n("
+
o
+
")"
);
c
.
request
=
o
,
delete
r
[
t
],
d
.
parentNode
.
removeChild
(
d
),
n
(
c
)},
d
.
href
=
a
;
var
m
=
document
.
getElementsByTagName
(
"head"
)[
0
];
m
.
appendChild
(
d
)}).
then
(
function
(){
r
[
t
]
=
0
}));
var
o
=
a
[
t
];
if
(
0
!==
o
)
if
(
o
)
e
.
push
(
o
[
2
]);
else
{
var
c
=
new
Promise
(
function
(
e
,
n
){
o
=
a
[
t
]
=
[
e
,
n
]});
e
.
push
(
o
[
2
]
=
c
);
var
s
,
l
=
document
.
createElement
(
"script"
);
l
.
charset
=
"utf-8"
,
l
.
timeout
=
120
,
u
.
nc
&&
l
.
setAttribute
(
"nonce"
,
u
.
nc
),
l
.
src
=
i
(
t
),
s
=
function
(
e
){
l
.
onerror
=
l
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
a
[
t
];
if
(
0
!==
n
){
if
(
n
){
var
o
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
r
=
e
&&
e
.
target
&&
e
.
target
.
src
,
c
=
new
Error
(
"Loading chunk "
+
t
+
" failed.\n("
+
o
+
": "
+
r
+
")"
);
c
.
type
=
o
,
c
.
request
=
r
,
n
[
1
](
c
)}
a
[
t
]
=
void
0
}};
var
f
=
setTimeout
(
function
(){
s
({
type
:
"timeout"
,
target
:
l
})},
12
e4
);
l
.
onerror
=
l
.
onload
=
s
,
document
.
head
.
appendChild
(
l
)}
return
Promise
.
all
(
e
)},
u
.
m
=
t
,
u
.
c
=
o
,
u
.
d
=
function
(
t
,
e
,
n
){
u
.
o
(
t
,
e
)
||
Object
.
defineProperty
(
t
,
e
,{
enumerable
:
!
0
,
get
:
n
})},
u
.
r
=
function
(
t
){
"undefined"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
t
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
})},
u
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
u
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"object"
===
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
n
=
Object
.
create
(
null
);
if
(
u
.
r
(
n
),
Object
.
defineProperty
(
n
,
"default"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"string"
!=
typeof
t
)
for
(
var
o
in
t
)
u
.
d
(
n
,
o
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
o
));
return
n
},
u
.
n
=
function
(
t
){
var
e
=
t
&&
t
.
__esModule
?
function
(){
return
t
[
"default"
]}:
function
(){
return
t
};
return
u
.
d
(
e
,
"a"
,
e
),
e
},
u
.
o
=
function
(
t
,
e
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
t
,
e
)},
u
.
p
=
"//h5static.ichunt.com/"
,
u
.
oe
=
function
(
t
){
throw
console
.
error
(
t
),
t
};
var
s
=
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[],
l
=
s
.
push
.
bind
(
s
);
s
.
push
=
e
,
s
=
s
.
slice
();
for
(
var
f
=
0
;
f
<
s
.
length
;
f
++
)
e
(
s
[
f
]);
var
d
=
l
;
c
.
push
([
0
,
"chunk-vendors"
]),
n
()})({
0
:
function
(
t
,
e
,
n
){
t
.
exports
=
n
(
"56d7"
)},
"56d7"
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
o
=
n
(
"0ec6"
),
r
=
n
.
n
(
o
),
a
=
(
n
(
"c764"
),
n
(
"9f07"
),
n
(
"0964"
),
n
(
"1cc5"
)),
c
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"keep-alive"
,{
attrs
:{
exclude
:
""
}},[
n
(
"router-view"
,{
staticClass
:
"router-view"
})],
1
)],
1
)},
i
=
[],
u
=
{
name
:
"app"
},
s
=
u
,
l
=
n
(
"25c1"
),
f
=
Object
(
l
[
"a"
])(
s
,
c
,
i
,
!
1
,
null
,
null
,
null
);
f
.
options
.
__file
=
"App.vue"
;
var
d
=
f
.
exports
,
m
=
n
(
"7f43"
),
p
=
n
.
n
(
m
),
h
=
(
n
(
"0a16"
),
n
(
"081a"
)),
g
=
function
(
t
){
return
n
.
e
(
"chunk-25d47f48"
).
then
(
function
(){
var
e
=
[
n
(
"9553"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)};
a
[
"a"
].
use
(
h
[
"a"
]);
var
v
=
[{
path
:
"/home"
,
component
:
g
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/"
,
redirect
:
"/home"
},{
path
:
"*"
,
redirect
:
"/"
}];
v
.
forEach
(
function
(
t
){
t
.
path
=
t
.
path
||
"/"
+
(
t
.
name
||
""
)});
var
w
=
new
h
[
"a"
]({
routes
:
v
});
w
.
beforeEach
(
function
(
t
,
e
,
n
){
var
o
=
t
.
meta
&&
t
.
meta
.
title
;
o
&&
(
document
.
title
=
o
),
n
()});
var
k
,
C
,
b
=
n
(
"52c1"
),
y
=
n
(
"6ef6"
);
switch
(
window
.
location
.
hostname
){
case
"www.ichunt.com"
:
k
=
"https://api.ichunt.com/"
;
break
;
case
"m.ichunt.com"
:
C
=
"https://m.ichunt.com/v3/"
,
k
=
"https://api.ichunt.com/"
;
break
;
case
"sz.ichunt.com"
:
k
=
"https://szapi.ichunt.com/"
;
break
;
case
"szm.ichunt.com"
:
k
=
"https://szapi.ichunt.com/"
,
C
=
"https://szm.ichunt.com/v3/"
;
break
;
case
"t.ichunt.com"
:
k
=
"https://api.ichunt.com/"
;
break
;
case
"tm.ichunt.com"
:
C
=
"https://tm.ichunt.com/v3/"
,
k
=
"https://api.ichunt.com/"
;
break
;
case
"www.liexin.com"
:
k
=
"http://api.liexin.com/"
;
break
;
case
"m.liexin.com"
:
C
=
"http://m.liexin.com/v3/"
,
k
=
"http://api.liexin.com/"
;
break
;
default
:
k
=
"/api/"
}
var
x
=
C
,
T
=
k
,
P
=
{
index
:
x
+
"index"
,
loginCheck
:
T
+
"login/check"
,
cartCount
:
T
+
"cart/count"
,
customsrService
:
T
+
"public/customsrservice"
,
getCommonParams
:
x
+
"getcommonparams"
,
wxaccess
:
x
+
"api/wxaccess"
},
_
=
{
index
:
function
(
t
){
return
p
.
a
.
post
(
P
.
index
,
t
)},
loginCheck
:
function
(
t
){
return
p
.
a
.
get
(
P
.
loginCheck
,{
params
:{
data
:
t
}})},
cartCount
:
function
(
t
){
return
p
.
a
.
get
(
P
.
cartCount
,{
params
:{
data
:
t
}})},
customsrService
:
function
(
t
){
return
p
.
a
.
get
(
P
.
customsrService
,{
params
:{
data
:
t
}})},
getCommonParams
:
function
(
t
){
return
p
.
a
.
post
(
P
.
getCommonParams
,
t
)},
wxaccess
:
function
(
t
){
return
p
.
a
.
post
(
P
.
wxaccess
,
t
)}},
E
=
(
n
(
"ac74"
),
n
(
"9029"
),
n
(
"ab01"
)),
S
=
n
.
n
(
E
),
A
=
(
n
(
"4ddc"
),
0
),
j
=
8
;
function
M
(
t
){
return
N
(
O
(
Y
(
t
),
t
.
length
*
j
))}
function
O
(
t
,
e
){
t
[
e
>>
5
]
|=
128
<<
24
-
e
%
32
,
t
[
15
+
(
e
+
64
>>
9
<<
4
)]
=
e
;
for
(
var
n
=
Array
(
80
),
o
=
1732584193
,
r
=-
271733879
,
a
=-
1732584194
,
c
=
271733878
,
i
=-
1009589776
,
u
=
0
;
u
<
t
.
length
;
u
+=
16
){
for
(
var
s
=
o
,
l
=
r
,
f
=
a
,
d
=
c
,
m
=
i
,
p
=
0
;
p
<
80
;
p
++
){
n
[
p
]
=
p
<
16
?
t
[
u
+
p
]:
B
(
n
[
p
-
3
]
^
n
[
p
-
8
]
^
n
[
p
-
14
]
^
n
[
p
-
16
],
1
);
var
h
=
q
(
q
(
B
(
o
,
5
),
D
(
p
,
r
,
a
,
c
)),
q
(
q
(
i
,
n
[
p
]),
z
(
p
)));
i
=
c
,
c
=
a
,
a
=
B
(
r
,
30
),
r
=
o
,
o
=
h
}
o
=
q
(
o
,
s
),
r
=
q
(
r
,
l
),
a
=
q
(
a
,
f
),
c
=
q
(
c
,
d
),
i
=
q
(
i
,
m
)}
return
Array
(
o
,
r
,
a
,
c
,
i
)}
function
D
(
t
,
e
,
n
,
o
){
return
t
<
20
?
e
&
n
|~
e
&
o
:
t
<
40
?
e
^
n
^
o
:
t
<
60
?
e
&
n
|
e
&
o
|
n
&
o
:
e
^
n
^
o
}
function
z
(
t
){
return
t
<
20
?
1518500249
:
t
<
40
?
1859775393
:
t
<
60
?
-
1894007588
:
-
899497514
}
function
q
(
t
,
e
){
var
n
=
(
65535
&
t
)
+
(
65535
&
e
),
o
=
(
t
>>
16
)
+
(
e
>>
16
)
+
(
n
>>
16
);
return
o
<<
16
|
65535
&
n
}
function
B
(
t
,
e
){
return
t
<<
e
|
t
>>>
32
-
e
}
function
Y
(
t
){
for
(
var
e
=
Array
(),
n
=
(
1
<<
j
)
-
1
,
o
=
0
;
o
<
t
.
length
*
j
;
o
+=
j
)
e
[
o
>>
5
]
|=
(
t
.
charCodeAt
(
o
/
j
)
&
n
)
<<
24
-
o
%
32
;
return
e
}
function
N
(
t
){
for
(
var
e
=
A
?
"0123456789ABCDEF"
:
"0123456789abcdef"
,
n
=
""
,
o
=
0
;
o
<
4
*
t
.
length
;
o
++
)
n
+=
e
.
charAt
(
t
[
o
>>
2
]
>>
8
*
(
3
-
o
%
4
)
+
4
&
15
)
+
e
.
charAt
(
t
[
o
>>
2
]
>>
8
*
(
3
-
o
%
4
)
&
15
);
return
n
}
var
W
=
n
(
"0427"
),
F
=
{
setCookie
:
function
(
t
,
e
,
n
,
o
){
o
=
o
?
";domain="
+
o
:
""
;
var
r
=
n
,
a
=
new
Date
;
return
a
.
setTime
(
a
.
getTime
()
+
24
*
r
*
60
*
60
*
1
e3
),
document
.
cookie
=
t
+
"="
+
encodeURIComponent
(
e
)
+
";expires="
+
a
.
toGMTString
()
+
";path=/"
+
o
,
!
0
},
getCookie
:
function
(
t
){
for
(
var
e
=
document
.
cookie
,
n
=
e
.
split
(
"; "
),
o
=
0
;
o
<
n
.
length
;
o
++
){
var
r
=
n
[
o
].
split
(
"="
);
if
(
t
==
r
[
0
])
return
r
[
1
]}
return
null
},
delCookie
:
function
(
t
){
var
e
=
new
Date
;
e
.
setTime
(
e
.
getTime
()
-
1
);
var
n
=
this
.
getCookie
(
t
);
null
!=
n
&&
(
document
.
cookie
=
t
+
"="
+
n
+
";expires="
+
e
.
toGMTString
())},
getParams
:
function
(
t
){
var
e
=
this
.
getCookie
(
"Yo4teW_gid"
),
n
=
this
.
getCookie
(
"cache_time"
);
if
(
null
!=
n
)
var
o
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
);
else
{
o
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
)
+
window
.
fwtimes
;
this
.
setCookie
(
"cache_time"
,
window
.
fwtimes
,
1
,
window
.
cookieHostname
)}
var
a
=
[],
c
=
{},
i
=
""
,
u
=
""
,
s
=
""
,
l
=
{
pf
:
2
,
qwertyuiop
:
o
,
Yo4teW_gid
:
e
},
f
=
S
()({},
l
,
t
);
r
()(
f
).
forEach
(
function
(
t
,
e
,
n
){
a
.
push
(
t
)}),
a
=
a
.
sort
(),
a
.
forEach
(
function
(
t
,
e
,
n
){
c
[
a
[
e
]]
=
f
[
a
[
e
]]}),
r
()(
c
).
forEach
(
function
(
t
,
e
,
n
){
i
+=
t
+
"="
+
c
[
t
]}),
u
=
i
.
replace
(
/
[^
0-9a-zA-Z
]
/g
,
""
),
u
=
u
.
toUpperCase
();
for
(
var
d
=
0
;
d
<
u
.
length
;
d
++
)
"A"
!=
u
[
d
]
&&
"B"
!=
u
[
d
]
&&
"C"
!=
u
[
d
]
&&
(
s
+=
u
[
d
]);
i
=
M
(
s
);
var
m
=
S
()({},
t
,{
asdfghjkl
:
i
},{
qwertyuiop
:
o
},{
pf
:
2
});
return
W
.
stringify
(
m
)}};
a
[
"a"
].
use
(
y
[
"g"
]);
var
H
=
{
index
:{},
loading
:
!
0
},
L
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
$
=
{
index
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
H
.
loading
=!
0
;
var
o
=
F
.
getParams
();
_
.
index
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
H
.
loading
=!
1
,
0
==
e
.
err_code
?
n
({
type
:
"index"
,
data
:
e
.
data
}):
2
==
e
.
err_code
&&
Object
(
y
[
"g"
])({
message
:
"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间"
,
duration
:
1500
})}).
catch
(
function
(
t
){
H
.
loading
=!
1
})}},
G
=
{},
J
=
{
state
:
H
,
mutations
:
L
,
actions
:
$
,
getters
:
G
};
a
[
"a"
].
use
(
y
[
"g"
]);
var
U
=
{
cartCount
:
""
,
loginCheck
:
!
1
,
phpParams
:{}},
I
=
{
cartCount
:
function
(
t
,
e
){
t
.
cartCount
=
0
==
e
.
data
?
""
:
e
.
data
},
loginCheck
:
function
(
t
,
e
){
0
==
e
.
data
.
err_code
?
t
.
loginCheck
=!
0
:
11030
==
e
.
data
.
err_code
?
t
.
loginCheck
=!
0
:
t
.
loginCheck
=!
1
},
phpParams
:
function
(
t
,
e
){
t
.
phpParams
=
e
.
data
.
data
}},
R
=
{
cartCount
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
_
.
cartCount
().
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
n
({
type
:
"cartCount"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
loginCheck
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
_
.
loginCheck
().
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"loginCheck"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
customsrService
:
function
(
t
,
e
){
t
.
commit
;
var
n
=
{
pf
:
window
.
lxpf
,
searchModel
:
""
};
_
.
customsrService
(
n
).
then
(
function
(
t
){}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
getCommonParams
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
o
=
F
.
getParams
();
_
.
getCommonParams
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"phpParams"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})}},
Z
=
{},
K
=
{
state
:
U
,
mutations
:
I
,
actions
:
R
,
getters
:
Z
};
a
[
"a"
].
use
(
b
[
"a"
]);
var
Q
=
new
b
[
"a"
].
Store
({
modules
:{
home
:
J
,
common
:
K
}}),
V
=
function
(
t
){
var
e
=
new
Date
;
e
.
setTime
(
1
e3
*
t
);
var
n
=
e
.
getFullYear
(),
o
=
e
.
getMonth
()
+
1
;
o
=
o
<
10
?
"0"
+
o
:
o
;
var
r
=
e
.
getDate
();
r
=
r
<
10
?
"0"
+
r
:
r
;
var
a
=
e
.
getHours
();
a
=
a
<
10
?
"0"
+
a
:
a
;
var
c
=
e
.
getMinutes
(),
i
=
e
.
getSeconds
();
return
c
=
c
<
10
?
"0"
+
c
:
c
,
i
=
i
<
10
?
"0"
+
i
:
i
,
n
+
"-"
+
o
+
"-"
+
r
+
" "
},
X
=
{
dateTimeFormate
:
V
},
tt
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(){
document
.
body
.
scrollTop
=
0
,
document
.
documentElement
.
scrollTop
=
0
,
document
.
querySelector
(
".container-wrap"
).
scrollTop
=
0
},
!
1
)}},
et
=
{
install
:
function
(
t
){
t
.
directive
(
"backTop"
,
tt
)}},
nt
=
n
(
"897d"
),
ot
=
n
.
n
(
nt
);
n
(
"e1a5"
),
n
(
"bfd9"
);
r
()(
X
).
forEach
(
function
(
t
){
return
a
[
"a"
].
filter
(
t
,
X
[
t
])}),
a
[
"a"
].
use
(
et
),
a
[
"a"
].
prototype
.
$http
=
p
.
a
,
p
.
a
.
defaults
.
headers
.
post
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
,
p
.
a
.
defaults
.
withCredentials
=!
0
,
a
[
"a"
].
config
.
productionTip
=!
1
;
var
rt
=
F
.
getCookie
(
"Yo4teW_gid"
);
if
(
null
==
rt
){
var
at
=
ot
()(
""
);
F
.
setCookie
(
"Yo4teW_gid"
,
at
,
1
,
window
.
cookieHostname
)}
var
ct
=
F
.
getParams
();
_
.
wxaccess
(
ct
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
e
.
data
&&
(
window
.
location
.
href
=
e
.
data
)}),
new
a
[
"a"
]({
router
:
w
,
store
:
Q
,
render
:
function
(
t
){
return
t
(
d
)}}).
$mount
(
"#app"
)},
bfd9
:
function
(
t
,
e
,
n
){}});
\ No newline at end of file
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