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
c5122575
authored
Mar 13, 2019
by
肖康
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'XK_WX_LIST20190225' into Pre-release
parents
78ff2abc
8829ae38
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
5 deletions
src/directive/backTopWindow.js
view/index.html
view/js/app.eb7ccaa7.js → view/js/app.9dba2f3f.js
view/js/chunk-223709b6.65b0b80f.js → view/js/chunk-223709b6.328b24be.js
view/js/chunk-23ed6c71.e9193fb9.js → view/js/chunk-23ed6c71.ff52933a.js
view/js/chunk-2ec6c3d3.28f1dde5.js → view/js/chunk-2ec6c3d3.6422ac13.js
view/js/chunk-383c5e1e.80dc1a37.js → view/js/chunk-383c5e1e.b2282399.js
view/js/chunk-406d08fd.ed7cf486.js → view/js/chunk-406d08fd.ef47ca34.js
view/js/chunk-d7484a78.f593ad5b.js → view/js/chunk-d7484a78.beae2dac.js
src/directive/backTopWindow.js
View file @
c5122575
...
...
@@ -9,7 +9,14 @@ export default {
t
=
0
;
clearInterval
(
timer
);
}
if
(
document
.
documentElement
.
scrollTop
){
document
.
documentElement
.
scrollTop
=
t
;
}
else
if
(
document
.
body
.
scrollTop
){
document
.
body
.
scrollTop
=
t
;
}
else
{
document
.
querySelector
(
'html,body'
).
scrollTop
=
t
;
}
},
1
)
},
false
);
...
...
view/index.html
View file @
c5122575
<!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=
/h5/view/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-223709b6.045485d7.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-23ed6c71.7e7323ea.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-2ec6c3d3.c0f345b7.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-383c5e1e.d7e46390.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-406d08fd.43c91bcb.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-d7484a78.927a837d.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-223709b6.
65b0b80f.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-23ed6c71.e9193fb9.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-2ec6c3d3.28f1dde5.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-383c5e1e.80dc1a37.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-406d08fd.ed7cf486.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-d7484a78.f593ad5b.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.59ded326.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.eb7ccaa7
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.a0eaff0e.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.59ded326.css
rel=
stylesheet
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
stylesheet
></head><body
class=
boxsiz
><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=
/h5/view/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-223709b6.045485d7.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-23ed6c71.7e7323ea.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-2ec6c3d3.c0f345b7.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-383c5e1e.d7e46390.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-406d08fd.43c91bcb.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-d7484a78.927a837d.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-223709b6.
328b24be.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-23ed6c71.ff52933a.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-2ec6c3d3.6422ac13.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-383c5e1e.b2282399.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-406d08fd.ef47ca34.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-d7484a78.beae2dac.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.59ded326.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.9dba2f3f
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.a0eaff0e.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.59ded326.css
rel=
stylesheet
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
stylesheet
></head><body
class=
boxsiz
><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.a0eaff0e.js
></script><script
src=
//h5static.ichunt.com/js/app.eb7ccaa7.js
></script></body></html>
\ No newline at end of file
}
</script><script
src=
//h5static.ichunt.com/js/chunk-vendors.a0eaff0e.js
></script><script
src=
//h5static.ichunt.com/js/app.9dba2f3f.js
></script></body></html>
\ No newline at end of file
view/js/app.
eb7ccaa7
.js
→
view/js/app.
9dba2f3f
.js
View file @
c5122575
(
function
(
t
){
function
e
(
e
){
for
(
var
a
,
i
,
r
=
e
[
0
],
u
=
e
[
1
],
s
=
e
[
2
],
l
=
0
,
d
=
[];
l
<
r
.
length
;
l
++
)
i
=
r
[
l
],
o
[
i
]
&&
d
.
push
(
o
[
i
][
0
]),
o
[
i
]
=
0
;
for
(
a
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
a
)
&&
(
t
[
a
]
=
u
[
a
]);
f
&&
f
(
e
);
while
(
d
.
length
)
d
.
shift
()();
return
c
.
push
.
apply
(
c
,
s
||
[]),
n
()}
function
n
(){
for
(
var
t
,
e
=
0
;
e
<
c
.
length
;
e
++
){
for
(
var
n
=
c
[
e
],
a
=!
0
,
i
=
1
;
i
<
n
.
length
;
i
++
){
var
r
=
n
[
i
];
0
!==
o
[
r
]
&&
(
a
=!
1
)}
a
&&
(
c
.
splice
(
e
--
,
1
),
t
=
u
(
u
.
s
=
n
[
0
]))}
return
t
}
var
a
=
{},
i
=
{
app
:
0
},
o
=
{
app
:
0
},
c
=
[];
function
r
(
t
){
return
u
.
p
+
"js/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-223709b6"
:
"65b0b80f"
,
"chunk-23ed6c71"
:
"e9193fb9"
,
"chunk-2ec6c3d3"
:
"28f1dde5"
,
"chunk-383c5e1e"
:
"80dc1a37"
,
"chunk-406d08fd"
:
"ed7cf486"
,
"chunk-d7484a78"
:
"f593ad5b"
}[
t
]
+
".js"
}
function
u
(
e
){
if
(
a
[
e
])
return
a
[
e
].
exports
;
var
n
=
a
[
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-223709b6"
:
1
,
"chunk-23ed6c71"
:
1
,
"chunk-2ec6c3d3"
:
1
,
"chunk-383c5e1e"
:
1
,
"chunk-406d08fd"
:
1
,
"chunk-d7484a78"
:
1
};
i
[
t
]?
e
.
push
(
i
[
t
]):
0
!==
i
[
t
]
&&
n
[
t
]
&&
e
.
push
(
i
[
t
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
a
=
"css/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-223709b6"
:
"045485d7"
,
"chunk-23ed6c71"
:
"7e7323ea"
,
"chunk-2ec6c3d3"
:
"c0f345b7"
,
"chunk-383c5e1e"
:
"d7e46390"
,
"chunk-406d08fd"
:
"43c91bcb"
,
"chunk-d7484a78"
:
"927a837d"
}[
t
]
+
".css"
,
o
=
u
.
p
+
a
,
c
=
document
.
getElementsByTagName
(
"link"
),
r
=
0
;
r
<
c
.
length
;
r
++
){
var
s
=
c
[
r
],
l
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
l
===
a
||
l
===
o
))
return
e
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
r
=
0
;
r
<
d
.
length
;
r
++
){
s
=
d
[
r
],
l
=
s
.
getAttribute
(
"data-href"
);
if
(
l
===
a
||
l
===
o
)
return
e
()}
var
f
=
document
.
createElement
(
"link"
);
f
.
rel
=
"stylesheet"
,
f
.
type
=
"text/css"
,
f
.
onload
=
e
,
f
.
onerror
=
function
(
e
){
var
a
=
e
&&
e
.
target
&&
e
.
target
.
src
||
o
,
c
=
new
Error
(
"Loading CSS chunk "
+
t
+
" failed.\n("
+
a
+
")"
);
c
.
request
=
a
,
delete
i
[
t
],
f
.
parentNode
.
removeChild
(
f
),
n
(
c
)},
f
.
href
=
o
;
var
m
=
document
.
getElementsByTagName
(
"head"
)[
0
];
m
.
appendChild
(
f
)}).
then
(
function
(){
i
[
t
]
=
0
}));
var
a
=
o
[
t
];
if
(
0
!==
a
)
if
(
a
)
e
.
push
(
a
[
2
]);
else
{
var
c
=
new
Promise
(
function
(
e
,
n
){
a
=
o
[
t
]
=
[
e
,
n
]});
e
.
push
(
a
[
2
]
=
c
);
var
s
,
l
=
document
.
createElement
(
"script"
);
l
.
charset
=
"utf-8"
,
l
.
timeout
=
120
,
u
.
nc
&&
l
.
setAttribute
(
"nonce"
,
u
.
nc
),
l
.
src
=
r
(
t
),
s
=
function
(
e
){
l
.
onerror
=
l
.
onload
=
null
,
clearTimeout
(
d
);
var
n
=
o
[
t
];
if
(
0
!==
n
){
if
(
n
){
var
a
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
i
=
e
&&
e
.
target
&&
e
.
target
.
src
,
c
=
new
Error
(
"Loading chunk "
+
t
+
" failed.\n("
+
a
+
": "
+
i
+
")"
);
c
.
type
=
a
,
c
.
request
=
i
,
n
[
1
](
c
)}
o
[
t
]
=
void
0
}};
var
d
=
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
=
a
,
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
a
in
t
)
u
.
d
(
n
,
a
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
a
));
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
d
=
0
;
d
<
s
.
length
;
d
++
)
e
(
s
[
d
]);
var
f
=
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
a
=
n
(
"0ec6"
),
i
=
n
.
n
(
a
),
o
=
(
n
(
"612f"
),
n
(
"53da"
),
n
(
"40f8"
),
n
(
"8973"
)),
c
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"keep-alive"
,{
attrs
:{
exclude
:
"newsDetail"
}},[
n
(
"router-view"
,{
staticClass
:
"router-view"
})],
1
)],
1
)},
r
=
[],
u
=
{
name
:
"app"
},
s
=
u
,
l
=
n
(
"8c9c"
),
d
=
Object
(
l
[
"a"
])(
s
,
c
,
r
,
!
1
,
null
,
null
,
null
),
f
=
d
.
exports
,
m
=
n
(
"7f43"
),
h
=
n
.
n
(
m
),
p
=
(
n
(
"3a23"
),
n
(
"081a"
)),
g
=
function
(
t
){
return
n
.
e
(
"chunk-d7484a78"
).
then
(
function
(){
var
e
=
[
n
(
"9553"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
v
=
function
(
t
){
return
n
.
e
(
"chunk-383c5e1e"
).
then
(
function
(){
var
e
=
[
n
(
"2500"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
w
=
function
(
t
){
return
n
.
e
(
"chunk-406d08fd"
).
then
(
function
(){
var
e
=
[
n
(
"9055"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
b
=
function
(
t
){
return
n
.
e
(
"chunk-2ec6c3d3"
).
then
(
function
(){
var
e
=
[
n
(
"bd04"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
k
=
function
(
t
){
return
n
.
e
(
"chunk-23ed6c71"
).
then
(
function
(){
var
e
=
[
n
(
"2536"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
y
=
function
(
t
){
return
n
.
e
(
"chunk-223709b6"
).
then
(
function
(){
var
e
=
[
n
(
"832f"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)};
o
[
"a"
].
use
(
p
[
"a"
]);
var
A
=
[{
path
:
"/"
,
component
:
g
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/smt"
,
component
:
v
,
meta
:{
title
:
"SMT打样"
}},{
path
:
"/supplier"
,
component
:
w
,
meta
:{
title
:
"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"
}},{
path
:
"/wxlist"
,
name
:
"Wxlist"
,
component
:
b
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/news"
,
name
:
"News"
,
component
:
k
,
meta
:{
title
:
"猎芯网-新闻列表"
}},{
path
:
"/news/detail/:art_id/:cat_id"
,
name
:
"NewsDetail"
,
component
:
y
,
meta
:{
title
:
"猎芯网-新闻详情"
}},{
path
:
"*"
,
redirect
:
"/"
}];
A
.
forEach
(
function
(
t
){
t
.
path
=
t
.
path
||
"/"
+
(
t
.
name
||
""
)});
var
_
=
new
p
[
"a"
]({
routes
:
A
});
_
.
beforeEach
(
function
(
t
,
e
,
n
){
var
a
=
t
.
meta
&&
t
.
meta
.
title
;
a
&&
(
document
.
title
=
a
),
n
()});
var
C
,
x
,
S
=
n
(
"52c1"
),
T
=
n
(
"5101"
);
switch
(
window
.
location
.
hostname
){
case
"m.ichunt.com"
:
x
=
"https://m.ichunt.com/v3/"
,
C
=
"https://api.ichunt.com/"
;
break
;
case
"szm.ichunt.com"
:
C
=
"https://szapi.ichunt.com/"
,
x
=
"https://szm.ichunt.com/v3/"
;
break
;
case
"tm.ichunt.com"
:
x
=
"https://tm.ichunt.com/v3/"
,
C
=
"https://api.ichunt.com/"
;
break
;
case
"m.liexin.com"
:
x
=
"http://m.liexin.com/v3/"
,
C
=
"http://api.liexin.com/"
;
break
;
default
:
x
=
"/m/v3/"
,
C
=
"/apis/"
}
var
D
=
x
,
E
=
C
,
P
=
{
index
:
D
+
"index"
,
loginCheck
:
E
+
"login/check"
,
cartCount
:
E
+
"cart/count"
,
customsrService
:
E
+
"public/customsrservice"
,
getCommonParams
:
D
+
"getcommonparams"
,
wxaccess
:
D
+
"api/wxaccess"
,
checkAccountExists
:
E
+
"public/checkAccountExists"
,
customSmsVerify
:
E
+
"public/customSmsVerify"
,
chainFind
:
D
+
"Service/chainFind"
,
wechatArticle
:
E
+
"Wechat/WechatArticleJinJi/article"
,
newsArticle
:
E
+
"Article/Article/index"
,
newsArticleDetail
:
E
+
"Article/Article/details"
,
newsArticleDetailAd
:
D
+
"api/newsdetailad"
},
O
=
{
index
:
function
(
t
){
return
h
.
a
.
post
(
P
.
index
,
t
)},
loginCheck
:
function
(
t
){
return
h
.
a
.
get
(
P
.
loginCheck
,{
params
:{
data
:
t
}})},
cartCount
:
function
(
t
){
return
h
.
a
.
get
(
P
.
cartCount
,{
params
:{
data
:
t
}})},
customsrService
:
function
(
t
){
return
h
.
a
.
get
(
P
.
customsrService
,{
params
:{
data
:
t
}})},
getCommonParams
:
function
(
t
){
return
h
.
a
.
post
(
P
.
getCommonParams
,
t
)},
wxaccess
:
function
(
t
){
return
h
.
a
.
post
(
P
.
wxaccess
,
t
)},
checkAccountExists
:
function
(
t
){
return
h
.
a
.
post
(
P
.
checkAccountExists
,
t
)},
customSmsVerify
:
function
(
t
){
return
h
.
a
.
post
(
P
.
customSmsVerify
,
t
)},
chainFind
:
function
(
t
){
return
h
.
a
.
post
(
P
.
chainFind
,
t
)},
wechatArticle
:
function
(
t
){
return
h
.
a
.
post
(
P
.
wechatArticle
,
t
)},
newsArticle
:
function
(
t
){
return
h
.
a
.
post
(
P
.
newsArticle
,
t
)},
newsArticleDetail
:
function
(
t
){
return
h
.
a
.
post
(
P
.
newsArticleDetail
,
t
)},
newsArticleDetailAd
:
function
(
t
){
return
h
.
a
.
post
(
P
.
newsArticleDetailAd
,
t
)}},
j
=
(
n
(
"f91a"
),
n
(
"ab56"
),
n
(
"ab01"
)),
M
=
n
.
n
(
j
),
N
=
(
n
(
"ea65"
),
0
),
F
=
8
;
function
L
(
t
){
return
I
(
W
(
z
(
t
),
t
.
length
*
F
))}
function
W
(
t
,
e
){
t
[
e
>>
5
]
|=
128
<<
24
-
e
%
32
,
t
[
15
+
(
e
+
64
>>
9
<<
4
)]
=
e
;
for
(
var
n
=
Array
(
80
),
a
=
1732584193
,
i
=-
271733879
,
o
=-
1732584194
,
c
=
271733878
,
r
=-
1009589776
,
u
=
0
;
u
<
t
.
length
;
u
+=
16
){
for
(
var
s
=
a
,
l
=
i
,
d
=
o
,
f
=
c
,
m
=
r
,
h
=
0
;
h
<
80
;
h
++
){
n
[
h
]
=
h
<
16
?
t
[
u
+
h
]:
Y
(
n
[
h
-
3
]
^
n
[
h
-
8
]
^
n
[
h
-
14
]
^
n
[
h
-
16
],
1
);
var
p
=
B
(
B
(
Y
(
a
,
5
),
V
(
h
,
i
,
o
,
c
)),
B
(
B
(
r
,
n
[
h
]),
q
(
h
)));
r
=
c
,
c
=
o
,
o
=
Y
(
i
,
30
),
i
=
a
,
a
=
p
}
a
=
B
(
a
,
s
),
i
=
B
(
i
,
l
),
o
=
B
(
o
,
d
),
c
=
B
(
c
,
f
),
r
=
B
(
r
,
m
)}
return
Array
(
a
,
i
,
o
,
c
,
r
)}
function
V
(
t
,
e
,
n
,
a
){
return
t
<
20
?
e
&
n
|~
e
&
a
:
t
<
40
?
e
^
n
^
a
:
t
<
60
?
e
&
n
|
e
&
a
|
n
&
a
:
e
^
n
^
a
}
function
q
(
t
){
return
t
<
20
?
1518500249
:
t
<
40
?
1859775393
:
t
<
60
?
-
1894007588
:
-
899497514
}
function
B
(
t
,
e
){
var
n
=
(
65535
&
t
)
+
(
65535
&
e
),
a
=
(
t
>>
16
)
+
(
e
>>
16
)
+
(
n
>>
16
);
return
a
<<
16
|
65535
&
n
}
function
Y
(
t
,
e
){
return
t
<<
e
|
t
>>>
32
-
e
}
function
z
(
t
){
for
(
var
e
=
Array
(),
n
=
(
1
<<
F
)
-
1
,
a
=
0
;
a
<
t
.
length
*
F
;
a
+=
F
)
e
[
a
>>
5
]
|=
(
t
.
charCodeAt
(
a
/
F
)
&
n
)
<<
24
-
a
%
32
;
return
e
}
function
I
(
t
){
for
(
var
e
=
N
?
"0123456789ABCDEF"
:
"0123456789abcdef"
,
n
=
""
,
a
=
0
;
a
<
4
*
t
.
length
;
a
++
)
n
+=
e
.
charAt
(
t
[
a
>>
2
]
>>
8
*
(
3
-
a
%
4
)
+
4
&
15
)
+
e
.
charAt
(
t
[
a
>>
2
]
>>
8
*
(
3
-
a
%
4
)
&
15
);
return
n
}
var
J
=
n
(
"0427"
),
H
=
{
setCookie
:
function
(
t
,
e
,
n
,
a
){
a
=
a
?
";domain="
+
a
:
""
;
var
i
=
n
,
o
=
new
Date
;
return
o
.
setTime
(
o
.
getTime
()
+
24
*
i
*
60
*
60
*
1
e3
),
document
.
cookie
=
t
+
"="
+
encodeURIComponent
(
e
)
+
";expires="
+
o
.
toGMTString
()
+
";path=/"
+
a
,
!
0
},
getCookie
:
function
(
t
){
for
(
var
e
=
document
.
cookie
,
n
=
e
.
split
(
"; "
),
a
=
0
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
].
split
(
"="
);
if
(
t
==
i
[
0
])
return
i
[
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
a
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
);
else
{
a
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
)
+
window
.
fwtimes
;
this
.
setCookie
(
"cache_time"
,
window
.
fwtimes
,
1
,
window
.
cookieHostname
)}
var
o
=
[],
c
=
{},
r
=
""
,
u
=
""
,
s
=
""
,
l
=
{
pf
:
2
,
qwertyuiop
:
a
,
Yo4teW_gid
:
e
},
d
=
M
()({},
l
,
t
);
i
()(
d
).
forEach
(
function
(
t
,
e
,
n
){
o
.
push
(
t
)}),
o
=
o
.
sort
(),
o
.
forEach
(
function
(
t
,
e
,
n
){
c
[
o
[
e
]]
=
d
[
o
[
e
]]}),
i
()(
c
).
forEach
(
function
(
t
,
e
,
n
){
r
+=
t
+
"="
+
c
[
t
]}),
u
=
r
.
replace
(
/
[^
0-9a-zA-Z
]
/g
,
""
),
u
=
u
.
toUpperCase
();
for
(
var
f
=
0
;
f
<
u
.
length
;
f
++
)
"A"
!=
u
[
f
]
&&
"B"
!=
u
[
f
]
&&
"C"
!=
u
[
f
]
&&
(
s
+=
u
[
f
]);
r
=
L
(
s
);
var
m
=
M
()({},
t
,{
asdfghjkl
:
r
},{
qwertyuiop
:
a
},{
pf
:
2
});
return
J
.
stringify
(
m
)}};
o
[
"a"
].
use
(
T
[
"i"
]);
var
$
=
{
index
:{},
loading
:
!
0
},
G
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
U
=
{
index
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
$
.
loading
=!
0
;
var
a
=
H
.
getParams
();
O
.
index
(
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
$
.
loading
=!
1
,
0
==
e
.
err_code
?
n
({
type
:
"index"
,
data
:
e
.
data
}):
2
==
e
.
err_code
&&
Object
(
T
[
"i"
])({
message
:
"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
$
.
loading
=!
1
})}},
R
=
{},
Z
=
{
state
:
$
,
mutations
:
G
,
actions
:
U
,
getters
:
R
};
o
[
"a"
].
use
(
T
[
"i"
]);
var
K
=
{
cartCount
:
""
,
loginCheck
:
!
1
,
phpParams
:{}},
Q
=
{
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
}},
X
=
{
cartCount
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
O
.
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
;
O
.
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
:
""
};
O
.
customsrService
(
n
).
then
(
function
(
t
){}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
getCommonParams
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
a
=
H
.
getParams
();
O
.
getCommonParams
(
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"phpParams"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})}},
tt
=
{},
et
=
{
state
:
K
,
mutations
:
Q
,
actions
:
X
,
getters
:
tt
},
nt
=
n
(
"0427"
);
o
[
"a"
].
use
(
T
[
"i"
]);
var
at
=
{
loading
:
!
1
},
it
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
ot
=
{
checkAccountExists
:
function
(
t
,
e
){
t
.
commit
;
at
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
type
:
2
,
account
:
e
.
account
};
O
.
checkAccountExists
(
nt
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
at
.
loading
=!
1
,
0
!=
e
.
err_code
&&
Object
(
T
[
"i"
])({
message
:
"该手机号尚未注册,我们将为您自动生成猎芯网帐号"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
at
.
loading
=!
1
})},
customSmsVerify
:
function
(
t
,
e
){
t
.
commit
;
at
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
verify
:
""
,
mobile
:
e
.
mobile
};
O
.
customSmsVerify
(
nt
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
at
.
loading
=!
1
,
0
==
e
.
err_code
?
Object
(
T
[
"i"
])({
message
:
e
.
err_msg
,
duration
:
2
e3
}):
Object
(
T
[
"i"
])({
message
:
e
.
err_msg
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
at
.
loading
=!
1
})},
chainFind
:
function
(
t
,
e
){
t
.
commit
;
if
(
at
.
loading
=!
0
,
1
==
e
.
types
)
var
n
=
{
type
:
2
,
mobile
:
e
.
mobile
,
linkName
:
e
.
linkName
,
verifyCode
:
e
.
verifyCode
,
com_name
:
e
.
com_name
,
main_brand
:
e
.
main_brand
,
supplier_type
:
e
.
supplier_type
};
else
if
(
3
==
e
.
types
)
n
=
{
type
:
3
,
mobile
:
e
.
mobile
,
linkName
:
e
.
linkName
,
verifyCode
:
e
.
verifyCode
};
O
.
chainFind
(
nt
.
stringify
(
n
)).
then
(
function
(
t
){
var
n
=
t
.
data
;
at
.
loading
=!
1
,
1
==
n
.
errcode
?
Object
(
T
[
"i"
])({
message
:
n
.
errmsg
,
duration
:
3
e3
}):
2
==
n
.
errcode
?(
Object
(
T
[
"i"
])({
message
:
"已为您自动创建的猎芯网登录账号为"
+
e
.
mobile
+
"请使用免密码登录"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
)):(
Object
(
T
[
"i"
])({
message
:
"您已经提交成功,我们将会在2个工作日内联系您"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
))}).
catch
(
function
(
t
){
at
.
loading
=!
1
,
Object
(
T
[
"i"
])({
message
:
"网络出现问题,请重试"
,
duration
:
3
e3
})})}},
ct
=
{},
rt
=
{
state
:
at
,
mutations
:
it
,
actions
:
ot
,
getters
:
ct
},
ut
=
n
(
"0427"
);
o
[
"a"
].
use
(
T
[
"i"
]);
var
st
=
{
loadStatus
:
!
1
,
wechatArticle
:{},
wechatArticleList
:[],
finished
:
!
1
,
limits
:
1
},
lt
=
{
wechatArticle
:
function
(
t
,
e
){
t
.
wechatArticle
=
e
.
data
,
t
.
wechatArticleList
=
t
.
wechatArticleList
.
concat
(
e
.
data
.
list
),
t
.
limits
=
Math
.
ceil
(
e
.
data
.
total
/
6
),
e
.
page
>=
t
.
limits
&&
(
t
.
finished
=!
0
)}},
dt
=
{
wechatArticle
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
st
.
loadStatus
=!
0
;
var
a
=
{
type_id
:
e
.
type_id
,
page
:
e
.
page
,
limit
:
e
.
limit
};
O
.
wechatArticle
(
ut
.
stringify
(
a
)).
then
(
function
(
t
){
var
a
=
t
.
data
;
st
.
loadStatus
=!
1
,
0
==
a
.
err_code
&&
n
({
type
:
"wechatArticle"
,
data
:
a
.
data
,
page
:
e
.
page
,
limit
:
e
.
limit
})}).
catch
(
function
(
t
){
st
.
loadStatus
=!
1
})}},
ft
=
{},
mt
=
{
state
:
st
,
mutations
:
lt
,
actions
:
dt
,
getters
:
ft
},
ht
=
(
n
(
"b06f"
),
n
(
"0427"
));
o
[
"a"
].
use
(
T
[
"i"
]);
var
pt
=
{
finished
:
!
1
,
loadStatus
:
!
1
,
cat_list
:[],
content_list
:[],
rollbanner
:[],
p
:
1
,
limit
:
10
,
totalLimit
:
0
},
gt
=
{
newsArticle
:
function
(
t
,
e
){
t
.
rollbanner
=
e
.
data
.
rollbanner
,
t
.
cat_list
=
e
.
data
.
cat_list
,
1
==
t
.
p
?
t
.
content_list
=
e
.
data
.
content_list
:
t
.
content_list
=
t
.
content_list
.
concat
(
e
.
data
.
content_list
),
t
.
totalLimit
=
Math
.
ceil
(
Number
(
e
.
data
.
tatol_num
)
/
t
.
limit
),
t
.
p
>=
t
.
totalLimit
?
t
.
finished
=!
0
:
t
.
finished
=!
1
}},
vt
=
{
newsArticle
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
pt
.
loadStatus
=!
0
;
var
a
=
{
cat_id
:
e
.
cat_id
,
p
:
e
.
p
,
limit
:
e
.
limit
};
console
.
log
(
e
),
pt
.
p
=
e
.
p
,
pt
.
limit
=
e
.
limit
,
O
.
newsArticle
(
ht
.
stringify
(
a
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
pt
.
loadStatus
=!
1
,
0
==
e
.
err_code
&&
n
({
type
:
"newsArticle"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){
pt
.
loadStatus
=!
1
})}},
wt
=
{},
bt
=
{
state
:
pt
,
mutations
:
gt
,
actions
:
vt
,
getters
:
wt
},
kt
=
n
(
"0427"
);
o
[
"a"
].
use
(
T
[
"i"
]);
var
yt
=
{
loadStatus
:
!
1
,
newsDetailObj
:{},
newsDetailAd
:{}},
At
=
{
newsArticleDetail
:
function
(
t
,
e
){
t
.
newsDetailObj
=
e
.
data
},
newsArticleDetailAd
:
function
(
t
,
e
){
t
.
newsDetailAd
=
e
.
data
,
H
.
getCookie
(
"newsdetailpop"
)?
t
.
newsDetailAd
.
h5_news_ad_pop
=
""
:
H
.
setCookie
(
"newsdetailpop"
,
"1"
,
1
)}},
_t
=
{
newsArticleDetail
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
yt
.
newsDetailObj
=
{},
yt
.
loadStatus
=!
0
;
var
a
=
{
art_id
:
e
.
art_id
};
O
.
newsArticleDetail
(
kt
.
stringify
(
a
)).
then
(
function
(
t
){
yt
.
loadStatus
=!
1
;
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
n
({
type
:
"newsArticleDetail"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){
yt
.
loadStatus
=!
1
})},
newsArticleDetailAd
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
a
=
{
cat_id
:
e
.
cat_id
};
console
.
log
(
a
);
var
i
=
H
.
getParams
(
a
);
O
.
newsArticleDetailAd
(
i
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
n
({
type
:
"newsArticleDetailAd"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){})}},
Ct
=
{},
xt
=
{
state
:
yt
,
mutations
:
At
,
actions
:
_t
,
getters
:
Ct
};
o
[
"a"
].
use
(
S
[
"a"
]);
var
St
=
new
S
[
"a"
].
Store
({
modules
:{
home
:
Z
,
common
:
et
,
smt
:
rt
,
wxlist
:
mt
,
news
:
bt
,
newsdetail
:
xt
}}),
Tt
=
function
(
t
,
e
){
var
n
=
t
;
return
-
1
==
n
.
indexOf
(
"ptag"
)
&&
(
n
=
n
.
indexOf
(
"?"
)
>-
1
?
n
+
"&ptag="
+
e
:
n
+
"?ptag="
+
e
),
n
},
Dt
=
function
(
t
){
return
t
.
indexOf
(
"?"
)
>-
1
?
t
+
"&ptag=index-dynamic"
:
t
+
"?ptag=index-dynamic"
},
Et
=
function
(
t
){
var
e
=
new
Date
;
e
.
setTime
(
1
e3
*
t
);
var
n
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
=
a
<
10
?
"0"
+
a
:
a
;
var
i
=
e
.
getDate
();
i
=
i
<
10
?
"0"
+
i
:
i
;
var
o
=
e
.
getHours
();
o
=
o
<
10
?
"0"
+
o
:
o
;
var
c
=
e
.
getMinutes
(),
r
=
e
.
getSeconds
();
return
c
=
c
<
10
?
"0"
+
c
:
c
,
r
=
r
<
10
?
"0"
+
r
:
r
,
n
+
"-"
+
a
+
"-"
+
i
+
" "
},
Pt
=
{
dateTimeFormate
:
Et
,
urlParams
:
Dt
,
urlPatg
:
Tt
},
Ot
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(){
document
.
body
.
scrollTop
=
0
,
document
.
documentElement
.
scrollTop
=
0
,
document
.
querySelector
(
".container-wrap"
).
scrollTop
=
0
},
!
1
)}},
jt
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(
t
){
var
e
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
,
n
=
(
e
/
100
).
toFixed
(
0
),
a
=
setInterval
(
function
(){
e
-=
n
,
e
<=
0
&&
(
e
=
0
,
clearInterval
(
a
)),
document
.
documentElement
.
scrollTop
=
e
},
1
)},
!
1
)}},
Mt
=
{
install
:
function
(
t
){
t
.
directive
(
"backTop"
,
Ot
),
t
.
directive
(
"backTopWindow"
,
jt
)}},
Nt
=
n
(
"897d"
),
Ft
=
n
.
n
(
Nt
),
Lt
=
n
(
"5482"
),
Wt
=
n
.
n
(
Lt
);
n
(
"13f6"
),
n
(
"bfd9"
);
o
[
"a"
].
config
.
productionTip
=!
1
;
var
Vt
=
"production"
;
if
(
"production"
!=
Vt
)
new
Wt
.
a
;
i
()(
Pt
).
forEach
(
function
(
t
){
return
o
[
"a"
].
filter
(
t
,
Pt
[
t
])}),
o
[
"a"
].
use
(
Mt
),
o
[
"a"
].
prototype
.
$http
=
h
.
a
,
h
.
a
.
defaults
.
headers
.
post
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
,
h
.
a
.
defaults
.
withCredentials
=!
0
;
var
qt
=
H
.
getCookie
(
"Yo4teW_gid"
);
if
(
null
==
qt
){
var
Bt
=
Ft
()(
""
);
H
.
setCookie
(
"Yo4teW_gid"
,
Bt
,
1
,
window
.
cookieHostname
)}
var
Yt
=
H
.
getParams
();
O
.
wxaccess
(
Yt
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
e
.
data
&&
(
window
.
location
.
href
=
e
.
data
)}),
new
o
[
"a"
]({
router
:
_
,
store
:
St
,
render
:
function
(
t
){
return
t
(
f
)}}).
$mount
(
"#app"
)},
bfd9
:
function
(
t
,
e
,
n
){}});
\ No newline at end of file
(
function
(
t
){
function
e
(
e
){
for
(
var
a
,
i
,
r
=
e
[
0
],
u
=
e
[
1
],
s
=
e
[
2
],
l
=
0
,
d
=
[];
l
<
r
.
length
;
l
++
)
i
=
r
[
l
],
o
[
i
]
&&
d
.
push
(
o
[
i
][
0
]),
o
[
i
]
=
0
;
for
(
a
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
a
)
&&
(
t
[
a
]
=
u
[
a
]);
m
&&
m
(
e
);
while
(
d
.
length
)
d
.
shift
()();
return
c
.
push
.
apply
(
c
,
s
||
[]),
n
()}
function
n
(){
for
(
var
t
,
e
=
0
;
e
<
c
.
length
;
e
++
){
for
(
var
n
=
c
[
e
],
a
=!
0
,
i
=
1
;
i
<
n
.
length
;
i
++
){
var
r
=
n
[
i
];
0
!==
o
[
r
]
&&
(
a
=!
1
)}
a
&&
(
c
.
splice
(
e
--
,
1
),
t
=
u
(
u
.
s
=
n
[
0
]))}
return
t
}
var
a
=
{},
i
=
{
app
:
0
},
o
=
{
app
:
0
},
c
=
[];
function
r
(
t
){
return
u
.
p
+
"js/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-223709b6"
:
"328b24be"
,
"chunk-23ed6c71"
:
"ff52933a"
,
"chunk-2ec6c3d3"
:
"6422ac13"
,
"chunk-383c5e1e"
:
"b2282399"
,
"chunk-406d08fd"
:
"ef47ca34"
,
"chunk-d7484a78"
:
"beae2dac"
}[
t
]
+
".js"
}
function
u
(
e
){
if
(
a
[
e
])
return
a
[
e
].
exports
;
var
n
=
a
[
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-223709b6"
:
1
,
"chunk-23ed6c71"
:
1
,
"chunk-2ec6c3d3"
:
1
,
"chunk-383c5e1e"
:
1
,
"chunk-406d08fd"
:
1
,
"chunk-d7484a78"
:
1
};
i
[
t
]?
e
.
push
(
i
[
t
]):
0
!==
i
[
t
]
&&
n
[
t
]
&&
e
.
push
(
i
[
t
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
a
=
"css/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-223709b6"
:
"045485d7"
,
"chunk-23ed6c71"
:
"7e7323ea"
,
"chunk-2ec6c3d3"
:
"c0f345b7"
,
"chunk-383c5e1e"
:
"d7e46390"
,
"chunk-406d08fd"
:
"43c91bcb"
,
"chunk-d7484a78"
:
"927a837d"
}[
t
]
+
".css"
,
o
=
u
.
p
+
a
,
c
=
document
.
getElementsByTagName
(
"link"
),
r
=
0
;
r
<
c
.
length
;
r
++
){
var
s
=
c
[
r
],
l
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
l
===
a
||
l
===
o
))
return
e
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
r
=
0
;
r
<
d
.
length
;
r
++
){
s
=
d
[
r
],
l
=
s
.
getAttribute
(
"data-href"
);
if
(
l
===
a
||
l
===
o
)
return
e
()}
var
m
=
document
.
createElement
(
"link"
);
m
.
rel
=
"stylesheet"
,
m
.
type
=
"text/css"
,
m
.
onload
=
e
,
m
.
onerror
=
function
(
e
){
var
a
=
e
&&
e
.
target
&&
e
.
target
.
src
||
o
,
c
=
new
Error
(
"Loading CSS chunk "
+
t
+
" failed.\n("
+
a
+
")"
);
c
.
request
=
a
,
delete
i
[
t
],
m
.
parentNode
.
removeChild
(
m
),
n
(
c
)},
m
.
href
=
o
;
var
f
=
document
.
getElementsByTagName
(
"head"
)[
0
];
f
.
appendChild
(
m
)}).
then
(
function
(){
i
[
t
]
=
0
}));
var
a
=
o
[
t
];
if
(
0
!==
a
)
if
(
a
)
e
.
push
(
a
[
2
]);
else
{
var
c
=
new
Promise
(
function
(
e
,
n
){
a
=
o
[
t
]
=
[
e
,
n
]});
e
.
push
(
a
[
2
]
=
c
);
var
s
,
l
=
document
.
createElement
(
"script"
);
l
.
charset
=
"utf-8"
,
l
.
timeout
=
120
,
u
.
nc
&&
l
.
setAttribute
(
"nonce"
,
u
.
nc
),
l
.
src
=
r
(
t
),
s
=
function
(
e
){
l
.
onerror
=
l
.
onload
=
null
,
clearTimeout
(
d
);
var
n
=
o
[
t
];
if
(
0
!==
n
){
if
(
n
){
var
a
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
i
=
e
&&
e
.
target
&&
e
.
target
.
src
,
c
=
new
Error
(
"Loading chunk "
+
t
+
" failed.\n("
+
a
+
": "
+
i
+
")"
);
c
.
type
=
a
,
c
.
request
=
i
,
n
[
1
](
c
)}
o
[
t
]
=
void
0
}};
var
d
=
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
=
a
,
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
a
in
t
)
u
.
d
(
n
,
a
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
a
));
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
d
=
0
;
d
<
s
.
length
;
d
++
)
e
(
s
[
d
]);
var
m
=
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
a
=
n
(
"0ec6"
),
i
=
n
.
n
(
a
),
o
=
(
n
(
"612f"
),
n
(
"53da"
),
n
(
"40f8"
),
n
(
"8973"
)),
c
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"keep-alive"
,{
attrs
:{
exclude
:
"newsDetail"
}},[
n
(
"router-view"
,{
staticClass
:
"router-view"
})],
1
)],
1
)},
r
=
[],
u
=
{
name
:
"app"
},
s
=
u
,
l
=
n
(
"8c9c"
),
d
=
Object
(
l
[
"a"
])(
s
,
c
,
r
,
!
1
,
null
,
null
,
null
),
m
=
d
.
exports
,
f
=
n
(
"7f43"
),
h
=
n
.
n
(
f
),
p
=
(
n
(
"3a23"
),
n
(
"081a"
)),
g
=
function
(
t
){
return
n
.
e
(
"chunk-d7484a78"
).
then
(
function
(){
var
e
=
[
n
(
"9553"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
v
=
function
(
t
){
return
n
.
e
(
"chunk-383c5e1e"
).
then
(
function
(){
var
e
=
[
n
(
"2500"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
w
=
function
(
t
){
return
n
.
e
(
"chunk-406d08fd"
).
then
(
function
(){
var
e
=
[
n
(
"9055"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
b
=
function
(
t
){
return
n
.
e
(
"chunk-2ec6c3d3"
).
then
(
function
(){
var
e
=
[
n
(
"bd04"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
y
=
function
(
t
){
return
n
.
e
(
"chunk-23ed6c71"
).
then
(
function
(){
var
e
=
[
n
(
"2536"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
k
=
function
(
t
){
return
n
.
e
(
"chunk-223709b6"
).
then
(
function
(){
var
e
=
[
n
(
"832f"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)};
o
[
"a"
].
use
(
p
[
"a"
]);
var
A
=
[{
path
:
"/"
,
component
:
g
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/smt"
,
component
:
v
,
meta
:{
title
:
"SMT打样"
}},{
path
:
"/supplier"
,
component
:
w
,
meta
:{
title
:
"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"
}},{
path
:
"/wxlist"
,
name
:
"Wxlist"
,
component
:
b
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/news"
,
name
:
"News"
,
component
:
y
,
meta
:{
title
:
"猎芯网-新闻列表"
}},{
path
:
"/news/detail/:art_id/:cat_id"
,
name
:
"NewsDetail"
,
component
:
k
,
meta
:{
title
:
"猎芯网-新闻详情"
}},{
path
:
"*"
,
redirect
:
"/"
}];
A
.
forEach
(
function
(
t
){
t
.
path
=
t
.
path
||
"/"
+
(
t
.
name
||
""
)});
var
_
=
new
p
[
"a"
]({
routes
:
A
});
_
.
beforeEach
(
function
(
t
,
e
,
n
){
var
a
=
t
.
meta
&&
t
.
meta
.
title
;
a
&&
(
document
.
title
=
a
),
n
()});
var
C
,
x
,
S
=
n
(
"52c1"
),
T
=
n
(
"5101"
);
switch
(
window
.
location
.
hostname
){
case
"m.ichunt.com"
:
x
=
"https://m.ichunt.com/v3/"
,
C
=
"https://api.ichunt.com/"
;
break
;
case
"szm.ichunt.com"
:
C
=
"https://szapi.ichunt.com/"
,
x
=
"https://szm.ichunt.com/v3/"
;
break
;
case
"tm.ichunt.com"
:
x
=
"https://tm.ichunt.com/v3/"
,
C
=
"https://api.ichunt.com/"
;
break
;
case
"m.liexin.com"
:
x
=
"http://m.liexin.com/v3/"
,
C
=
"http://api.liexin.com/"
;
break
;
default
:
x
=
"/m/v3/"
,
C
=
"/apis/"
}
var
D
=
x
,
E
=
C
,
P
=
{
index
:
D
+
"index"
,
loginCheck
:
E
+
"login/check"
,
cartCount
:
E
+
"cart/count"
,
customsrService
:
E
+
"public/customsrservice"
,
getCommonParams
:
D
+
"getcommonparams"
,
wxaccess
:
D
+
"api/wxaccess"
,
checkAccountExists
:
E
+
"public/checkAccountExists"
,
customSmsVerify
:
E
+
"public/customSmsVerify"
,
chainFind
:
D
+
"Service/chainFind"
,
wechatArticle
:
E
+
"Wechat/WechatArticleJinJi/article"
,
newsArticle
:
E
+
"Article/Article/index"
,
newsArticleDetail
:
E
+
"Article/Article/details"
,
newsArticleDetailAd
:
D
+
"api/newsdetailad"
},
O
=
{
index
:
function
(
t
){
return
h
.
a
.
post
(
P
.
index
,
t
)},
loginCheck
:
function
(
t
){
return
h
.
a
.
get
(
P
.
loginCheck
,{
params
:{
data
:
t
}})},
cartCount
:
function
(
t
){
return
h
.
a
.
get
(
P
.
cartCount
,{
params
:{
data
:
t
}})},
customsrService
:
function
(
t
){
return
h
.
a
.
get
(
P
.
customsrService
,{
params
:{
data
:
t
}})},
getCommonParams
:
function
(
t
){
return
h
.
a
.
post
(
P
.
getCommonParams
,
t
)},
wxaccess
:
function
(
t
){
return
h
.
a
.
post
(
P
.
wxaccess
,
t
)},
checkAccountExists
:
function
(
t
){
return
h
.
a
.
post
(
P
.
checkAccountExists
,
t
)},
customSmsVerify
:
function
(
t
){
return
h
.
a
.
post
(
P
.
customSmsVerify
,
t
)},
chainFind
:
function
(
t
){
return
h
.
a
.
post
(
P
.
chainFind
,
t
)},
wechatArticle
:
function
(
t
){
return
h
.
a
.
post
(
P
.
wechatArticle
,
t
)},
newsArticle
:
function
(
t
){
return
h
.
a
.
post
(
P
.
newsArticle
,
t
)},
newsArticleDetail
:
function
(
t
){
return
h
.
a
.
post
(
P
.
newsArticleDetail
,
t
)},
newsArticleDetailAd
:
function
(
t
){
return
h
.
a
.
post
(
P
.
newsArticleDetailAd
,
t
)}},
j
=
(
n
(
"f91a"
),
n
(
"ab56"
),
n
(
"ab01"
)),
M
=
n
.
n
(
j
),
N
=
(
n
(
"ea65"
),
0
),
F
=
8
;
function
L
(
t
){
return
I
(
W
(
z
(
t
),
t
.
length
*
F
))}
function
W
(
t
,
e
){
t
[
e
>>
5
]
|=
128
<<
24
-
e
%
32
,
t
[
15
+
(
e
+
64
>>
9
<<
4
)]
=
e
;
for
(
var
n
=
Array
(
80
),
a
=
1732584193
,
i
=-
271733879
,
o
=-
1732584194
,
c
=
271733878
,
r
=-
1009589776
,
u
=
0
;
u
<
t
.
length
;
u
+=
16
){
for
(
var
s
=
a
,
l
=
i
,
d
=
o
,
m
=
c
,
f
=
r
,
h
=
0
;
h
<
80
;
h
++
){
n
[
h
]
=
h
<
16
?
t
[
u
+
h
]:
Y
(
n
[
h
-
3
]
^
n
[
h
-
8
]
^
n
[
h
-
14
]
^
n
[
h
-
16
],
1
);
var
p
=
B
(
B
(
Y
(
a
,
5
),
q
(
h
,
i
,
o
,
c
)),
B
(
B
(
r
,
n
[
h
]),
V
(
h
)));
r
=
c
,
c
=
o
,
o
=
Y
(
i
,
30
),
i
=
a
,
a
=
p
}
a
=
B
(
a
,
s
),
i
=
B
(
i
,
l
),
o
=
B
(
o
,
d
),
c
=
B
(
c
,
m
),
r
=
B
(
r
,
f
)}
return
Array
(
a
,
i
,
o
,
c
,
r
)}
function
q
(
t
,
e
,
n
,
a
){
return
t
<
20
?
e
&
n
|~
e
&
a
:
t
<
40
?
e
^
n
^
a
:
t
<
60
?
e
&
n
|
e
&
a
|
n
&
a
:
e
^
n
^
a
}
function
V
(
t
){
return
t
<
20
?
1518500249
:
t
<
40
?
1859775393
:
t
<
60
?
-
1894007588
:
-
899497514
}
function
B
(
t
,
e
){
var
n
=
(
65535
&
t
)
+
(
65535
&
e
),
a
=
(
t
>>
16
)
+
(
e
>>
16
)
+
(
n
>>
16
);
return
a
<<
16
|
65535
&
n
}
function
Y
(
t
,
e
){
return
t
<<
e
|
t
>>>
32
-
e
}
function
z
(
t
){
for
(
var
e
=
Array
(),
n
=
(
1
<<
F
)
-
1
,
a
=
0
;
a
<
t
.
length
*
F
;
a
+=
F
)
e
[
a
>>
5
]
|=
(
t
.
charCodeAt
(
a
/
F
)
&
n
)
<<
24
-
a
%
32
;
return
e
}
function
I
(
t
){
for
(
var
e
=
N
?
"0123456789ABCDEF"
:
"0123456789abcdef"
,
n
=
""
,
a
=
0
;
a
<
4
*
t
.
length
;
a
++
)
n
+=
e
.
charAt
(
t
[
a
>>
2
]
>>
8
*
(
3
-
a
%
4
)
+
4
&
15
)
+
e
.
charAt
(
t
[
a
>>
2
]
>>
8
*
(
3
-
a
%
4
)
&
15
);
return
n
}
var
J
=
n
(
"0427"
),
H
=
{
setCookie
:
function
(
t
,
e
,
n
,
a
){
a
=
a
?
";domain="
+
a
:
""
;
var
i
=
n
,
o
=
new
Date
;
return
o
.
setTime
(
o
.
getTime
()
+
24
*
i
*
60
*
60
*
1
e3
),
document
.
cookie
=
t
+
"="
+
encodeURIComponent
(
e
)
+
";expires="
+
o
.
toGMTString
()
+
";path=/"
+
a
,
!
0
},
getCookie
:
function
(
t
){
for
(
var
e
=
document
.
cookie
,
n
=
e
.
split
(
"; "
),
a
=
0
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
].
split
(
"="
);
if
(
t
==
i
[
0
])
return
i
[
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
a
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
);
else
{
a
=
Math
.
floor
((
new
Date
).
getTime
()
/
1
e3
)
+
window
.
fwtimes
;
this
.
setCookie
(
"cache_time"
,
window
.
fwtimes
,
1
,
window
.
cookieHostname
)}
var
o
=
[],
c
=
{},
r
=
""
,
u
=
""
,
s
=
""
,
l
=
{
pf
:
2
,
qwertyuiop
:
a
,
Yo4teW_gid
:
e
},
d
=
M
()({},
l
,
t
);
i
()(
d
).
forEach
(
function
(
t
,
e
,
n
){
o
.
push
(
t
)}),
o
=
o
.
sort
(),
o
.
forEach
(
function
(
t
,
e
,
n
){
c
[
o
[
e
]]
=
d
[
o
[
e
]]}),
i
()(
c
).
forEach
(
function
(
t
,
e
,
n
){
r
+=
t
+
"="
+
c
[
t
]}),
u
=
r
.
replace
(
/
[^
0-9a-zA-Z
]
/g
,
""
),
u
=
u
.
toUpperCase
();
for
(
var
m
=
0
;
m
<
u
.
length
;
m
++
)
"A"
!=
u
[
m
]
&&
"B"
!=
u
[
m
]
&&
"C"
!=
u
[
m
]
&&
(
s
+=
u
[
m
]);
r
=
L
(
s
);
var
f
=
M
()({},
t
,{
asdfghjkl
:
r
},{
qwertyuiop
:
a
},{
pf
:
2
});
return
J
.
stringify
(
f
)}};
o
[
"a"
].
use
(
T
[
"i"
]);
var
$
=
{
index
:{},
loading
:
!
0
},
G
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
U
=
{
index
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
$
.
loading
=!
0
;
var
a
=
H
.
getParams
();
O
.
index
(
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
$
.
loading
=!
1
,
0
==
e
.
err_code
?
n
({
type
:
"index"
,
data
:
e
.
data
}):
2
==
e
.
err_code
&&
Object
(
T
[
"i"
])({
message
:
"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
$
.
loading
=!
1
})}},
R
=
{},
Z
=
{
state
:
$
,
mutations
:
G
,
actions
:
U
,
getters
:
R
};
o
[
"a"
].
use
(
T
[
"i"
]);
var
K
=
{
cartCount
:
""
,
loginCheck
:
!
1
,
phpParams
:{}},
Q
=
{
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
}},
X
=
{
cartCount
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
O
.
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
;
O
.
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
:
""
};
O
.
customsrService
(
n
).
then
(
function
(
t
){}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
getCommonParams
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
a
=
H
.
getParams
();
O
.
getCommonParams
(
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"phpParams"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})}},
tt
=
{},
et
=
{
state
:
K
,
mutations
:
Q
,
actions
:
X
,
getters
:
tt
},
nt
=
n
(
"0427"
);
o
[
"a"
].
use
(
T
[
"i"
]);
var
at
=
{
loading
:
!
1
},
it
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
ot
=
{
checkAccountExists
:
function
(
t
,
e
){
t
.
commit
;
at
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
type
:
2
,
account
:
e
.
account
};
O
.
checkAccountExists
(
nt
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
at
.
loading
=!
1
,
0
!=
e
.
err_code
&&
Object
(
T
[
"i"
])({
message
:
"该手机号尚未注册,我们将为您自动生成猎芯网帐号"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
at
.
loading
=!
1
})},
customSmsVerify
:
function
(
t
,
e
){
t
.
commit
;
at
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
verify
:
""
,
mobile
:
e
.
mobile
};
O
.
customSmsVerify
(
nt
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
at
.
loading
=!
1
,
0
==
e
.
err_code
?
Object
(
T
[
"i"
])({
message
:
e
.
err_msg
,
duration
:
2
e3
}):
Object
(
T
[
"i"
])({
message
:
e
.
err_msg
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
at
.
loading
=!
1
})},
chainFind
:
function
(
t
,
e
){
t
.
commit
;
if
(
at
.
loading
=!
0
,
1
==
e
.
types
)
var
n
=
{
type
:
2
,
mobile
:
e
.
mobile
,
linkName
:
e
.
linkName
,
verifyCode
:
e
.
verifyCode
,
com_name
:
e
.
com_name
,
main_brand
:
e
.
main_brand
,
supplier_type
:
e
.
supplier_type
};
else
if
(
3
==
e
.
types
)
n
=
{
type
:
3
,
mobile
:
e
.
mobile
,
linkName
:
e
.
linkName
,
verifyCode
:
e
.
verifyCode
};
O
.
chainFind
(
nt
.
stringify
(
n
)).
then
(
function
(
t
){
var
n
=
t
.
data
;
at
.
loading
=!
1
,
1
==
n
.
errcode
?
Object
(
T
[
"i"
])({
message
:
n
.
errmsg
,
duration
:
3
e3
}):
2
==
n
.
errcode
?(
Object
(
T
[
"i"
])({
message
:
"已为您自动创建的猎芯网登录账号为"
+
e
.
mobile
+
"请使用免密码登录"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
)):(
Object
(
T
[
"i"
])({
message
:
"您已经提交成功,我们将会在2个工作日内联系您"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
))}).
catch
(
function
(
t
){
at
.
loading
=!
1
,
Object
(
T
[
"i"
])({
message
:
"网络出现问题,请重试"
,
duration
:
3
e3
})})}},
ct
=
{},
rt
=
{
state
:
at
,
mutations
:
it
,
actions
:
ot
,
getters
:
ct
},
ut
=
n
(
"0427"
);
o
[
"a"
].
use
(
T
[
"i"
]);
var
st
=
{
loadStatus
:
!
1
,
wechatArticle
:{},
wechatArticleList
:[],
finished
:
!
1
,
limits
:
1
},
lt
=
{
wechatArticle
:
function
(
t
,
e
){
t
.
wechatArticle
=
e
.
data
,
t
.
wechatArticleList
=
t
.
wechatArticleList
.
concat
(
e
.
data
.
list
),
t
.
limits
=
Math
.
ceil
(
e
.
data
.
total
/
6
),
e
.
page
>=
t
.
limits
&&
(
t
.
finished
=!
0
)}},
dt
=
{
wechatArticle
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
st
.
loadStatus
=!
0
;
var
a
=
{
type_id
:
e
.
type_id
,
page
:
e
.
page
,
limit
:
e
.
limit
};
O
.
wechatArticle
(
ut
.
stringify
(
a
)).
then
(
function
(
t
){
var
a
=
t
.
data
;
st
.
loadStatus
=!
1
,
0
==
a
.
err_code
&&
n
({
type
:
"wechatArticle"
,
data
:
a
.
data
,
page
:
e
.
page
,
limit
:
e
.
limit
})}).
catch
(
function
(
t
){
st
.
loadStatus
=!
1
})}},
mt
=
{},
ft
=
{
state
:
st
,
mutations
:
lt
,
actions
:
dt
,
getters
:
mt
},
ht
=
(
n
(
"b06f"
),
n
(
"0427"
));
o
[
"a"
].
use
(
T
[
"i"
]);
var
pt
=
{
finished
:
!
1
,
loadStatus
:
!
1
,
cat_list
:[],
content_list
:[],
rollbanner
:[],
p
:
1
,
limit
:
10
,
totalLimit
:
0
},
gt
=
{
newsArticle
:
function
(
t
,
e
){
t
.
rollbanner
=
e
.
data
.
rollbanner
,
t
.
cat_list
=
e
.
data
.
cat_list
,
1
==
t
.
p
?
t
.
content_list
=
e
.
data
.
content_list
:
t
.
content_list
=
t
.
content_list
.
concat
(
e
.
data
.
content_list
),
t
.
totalLimit
=
Math
.
ceil
(
Number
(
e
.
data
.
tatol_num
)
/
t
.
limit
),
t
.
p
>=
t
.
totalLimit
?
t
.
finished
=!
0
:
t
.
finished
=!
1
}},
vt
=
{
newsArticle
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
pt
.
loadStatus
=!
0
;
var
a
=
{
cat_id
:
e
.
cat_id
,
p
:
e
.
p
,
limit
:
e
.
limit
};
console
.
log
(
e
),
pt
.
p
=
e
.
p
,
pt
.
limit
=
e
.
limit
,
O
.
newsArticle
(
ht
.
stringify
(
a
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
pt
.
loadStatus
=!
1
,
0
==
e
.
err_code
&&
n
({
type
:
"newsArticle"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){
pt
.
loadStatus
=!
1
})}},
wt
=
{},
bt
=
{
state
:
pt
,
mutations
:
gt
,
actions
:
vt
,
getters
:
wt
},
yt
=
n
(
"0427"
);
o
[
"a"
].
use
(
T
[
"i"
]);
var
kt
=
{
loadStatus
:
!
1
,
newsDetailObj
:{},
newsDetailAd
:{}},
At
=
{
newsArticleDetail
:
function
(
t
,
e
){
t
.
newsDetailObj
=
e
.
data
},
newsArticleDetailAd
:
function
(
t
,
e
){
t
.
newsDetailAd
=
e
.
data
,
H
.
getCookie
(
"newsdetailpop"
)?
t
.
newsDetailAd
.
h5_news_ad_pop
=
""
:
H
.
setCookie
(
"newsdetailpop"
,
"1"
,
1
)}},
_t
=
{
newsArticleDetail
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
kt
.
newsDetailObj
=
{},
kt
.
loadStatus
=!
0
;
var
a
=
{
art_id
:
e
.
art_id
};
O
.
newsArticleDetail
(
yt
.
stringify
(
a
)).
then
(
function
(
t
){
kt
.
loadStatus
=!
1
;
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
n
({
type
:
"newsArticleDetail"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){
kt
.
loadStatus
=!
1
})},
newsArticleDetailAd
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
a
=
{
cat_id
:
e
.
cat_id
};
console
.
log
(
a
);
var
i
=
H
.
getParams
(
a
);
O
.
newsArticleDetailAd
(
i
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
n
({
type
:
"newsArticleDetailAd"
,
data
:
e
.
data
})}).
catch
(
function
(
t
){})}},
Ct
=
{},
xt
=
{
state
:
kt
,
mutations
:
At
,
actions
:
_t
,
getters
:
Ct
};
o
[
"a"
].
use
(
S
[
"a"
]);
var
St
=
new
S
[
"a"
].
Store
({
modules
:{
home
:
Z
,
common
:
et
,
smt
:
rt
,
wxlist
:
ft
,
news
:
bt
,
newsdetail
:
xt
}}),
Tt
=
function
(
t
,
e
){
var
n
=
t
;
return
-
1
==
n
.
indexOf
(
"ptag"
)
&&
(
n
=
n
.
indexOf
(
"?"
)
>-
1
?
n
+
"&ptag="
+
e
:
n
+
"?ptag="
+
e
),
n
},
Dt
=
function
(
t
){
return
t
.
indexOf
(
"?"
)
>-
1
?
t
+
"&ptag=index-dynamic"
:
t
+
"?ptag=index-dynamic"
},
Et
=
function
(
t
){
var
e
=
new
Date
;
e
.
setTime
(
1
e3
*
t
);
var
n
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
=
a
<
10
?
"0"
+
a
:
a
;
var
i
=
e
.
getDate
();
i
=
i
<
10
?
"0"
+
i
:
i
;
var
o
=
e
.
getHours
();
o
=
o
<
10
?
"0"
+
o
:
o
;
var
c
=
e
.
getMinutes
(),
r
=
e
.
getSeconds
();
return
c
=
c
<
10
?
"0"
+
c
:
c
,
r
=
r
<
10
?
"0"
+
r
:
r
,
n
+
"-"
+
a
+
"-"
+
i
+
" "
},
Pt
=
{
dateTimeFormate
:
Et
,
urlParams
:
Dt
,
urlPatg
:
Tt
},
Ot
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(){
document
.
body
.
scrollTop
=
0
,
document
.
documentElement
.
scrollTop
=
0
,
document
.
querySelector
(
".container-wrap"
).
scrollTop
=
0
},
!
1
)}},
jt
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(
t
){
var
e
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
,
n
=
(
e
/
100
).
toFixed
(
0
),
a
=
setInterval
(
function
(){
e
-=
n
,
e
<=
0
&&
(
e
=
0
,
clearInterval
(
a
)),
document
.
documentElement
.
scrollTop
?
document
.
documentElement
.
scrollTop
=
e
:
document
.
body
.
scrollTop
?
document
.
body
.
scrollTop
=
e
:
document
.
querySelector
(
"html,body"
).
scrollTop
=
e
},
1
)},
!
1
)}},
Mt
=
{
install
:
function
(
t
){
t
.
directive
(
"backTop"
,
Ot
),
t
.
directive
(
"backTopWindow"
,
jt
)}},
Nt
=
n
(
"897d"
),
Ft
=
n
.
n
(
Nt
),
Lt
=
n
(
"5482"
),
Wt
=
n
.
n
(
Lt
);
n
(
"13f6"
),
n
(
"bfd9"
);
o
[
"a"
].
config
.
productionTip
=!
1
;
var
qt
=
"production"
;
if
(
"production"
!=
qt
)
new
Wt
.
a
;
i
()(
Pt
).
forEach
(
function
(
t
){
return
o
[
"a"
].
filter
(
t
,
Pt
[
t
])}),
o
[
"a"
].
use
(
Mt
),
o
[
"a"
].
prototype
.
$http
=
h
.
a
,
h
.
a
.
defaults
.
headers
.
post
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
,
h
.
a
.
defaults
.
withCredentials
=!
0
;
var
Vt
=
H
.
getCookie
(
"Yo4teW_gid"
);
if
(
null
==
Vt
){
var
Bt
=
Ft
()(
""
);
H
.
setCookie
(
"Yo4teW_gid"
,
Bt
,
1
,
window
.
cookieHostname
)}
var
Yt
=
H
.
getParams
();
O
.
wxaccess
(
Yt
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
e
.
data
&&
(
window
.
location
.
href
=
e
.
data
)}),
new
o
[
"a"
]({
router
:
_
,
store
:
St
,
render
:
function
(
t
){
return
t
(
m
)}}).
$mount
(
"#app"
)},
bfd9
:
function
(
t
,
e
,
n
){}});
\ No newline at end of file
view/js/chunk-223709b6.
65b0b80f
.js
→
view/js/chunk-223709b6.
328b24be
.js
View file @
c5122575
File moved
view/js/chunk-23ed6c71.
e9193fb9
.js
→
view/js/chunk-23ed6c71.
ff52933a
.js
View file @
c5122575
File moved
view/js/chunk-2ec6c3d3.
28f1dde5
.js
→
view/js/chunk-2ec6c3d3.
6422ac13
.js
View file @
c5122575
File moved
view/js/chunk-383c5e1e.
80dc1a37
.js
→
view/js/chunk-383c5e1e.
b2282399
.js
View file @
c5122575
File moved
view/js/chunk-406d08fd.e
d7cf486
.js
→
view/js/chunk-406d08fd.e
f47ca34
.js
View file @
c5122575
File moved
view/js/chunk-d7484a78.
f593ad5b
.js
→
view/js/chunk-d7484a78.
beae2dac
.js
View file @
c5122575
File moved
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