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
ae48fc22
authored
Feb 22, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
f9b0f2dd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
src/filters/formate.js
view/index.html
view/js/app.e4814454.js → view/js/app.583e82a0.js
src/filters/formate.js
View file @
ae48fc22
import
Util
from
'../util/index'
export
const
urlParams
=
(
value
)
=>
{
if
(
value
.
indexOf
(
'?'
))
{
if
(
value
.
indexOf
(
'?'
)
>
-
1
)
{
return
value
+
'&ptag=index-dynamic'
;
}
else
{
return
value
+
'?ptag=index-dynamic'
;
...
...
view/index.html
View file @
ae48fc22
<!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-1144b73a.43c91bcb.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-37ba70a3.d7e46390.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-5498eef5.e5216386.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-1144b73a.dcaaca52.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-37ba70a3.58777a98.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-5498eef5.dfdb390f.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.
e4814454
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.a6fd0b8b.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.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=
/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-1144b73a.43c91bcb.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-37ba70a3.d7e46390.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/chunk-5498eef5.e5216386.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-1144b73a.dcaaca52.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-37ba70a3.58777a98.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-5498eef5.dfdb390f.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.
583e82a0
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.a6fd0b8b.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.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.a6fd0b8b.js
></script><script
src=
//h5static.ichunt.com/js/app.e4814454.js
></script></body></html>
\ No newline at end of file
}
</script><script
src=
//h5static.ichunt.com/js/chunk-vendors.a6fd0b8b.js
></script><script
src=
//h5static.ichunt.com/js/app.583e82a0.js
></script></body></html>
\ No newline at end of file
view/js/app.
e4814454
.js
→
view/js/app.
583e82a0
.js
View file @
ae48fc22
(
function
(
t
){
function
e
(
e
){
for
(
var
o
,
a
,
i
=
e
[
0
],
u
=
e
[
1
],
s
=
e
[
2
],
m
=
0
,
d
=
[];
m
<
i
.
length
;
m
++
)
a
=
i
[
m
],
r
[
a
]
&&
d
.
push
(
r
[
a
][
0
]),
r
[
a
]
=
0
;
for
(
o
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
o
)
&&
(
t
[
o
]
=
u
[
o
]);
l
&&
l
(
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
],
o
=!
0
,
a
=
1
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
];
0
!==
r
[
i
]
&&
(
o
=!
1
)}
o
&&
(
c
.
splice
(
e
--
,
1
),
t
=
u
(
u
.
s
=
n
[
0
]))}
return
t
}
var
o
=
{},
a
=
{
app
:
0
},
r
=
{
app
:
0
},
c
=
[];
function
i
(
t
){
return
u
.
p
+
"js/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-1144b73a"
:
"dcaaca52"
,
"chunk-37ba70a3"
:
"58777a98"
,
"chunk-5498eef5"
:
"dfdb390f"
}[
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-1144b73a"
:
1
,
"chunk-37ba70a3"
:
1
,
"chunk-5498eef5"
:
1
};
a
[
t
]?
e
.
push
(
a
[
t
]):
0
!==
a
[
t
]
&&
n
[
t
]
&&
e
.
push
(
a
[
t
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
o
=
"css/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-1144b73a"
:
"43c91bcb"
,
"chunk-37ba70a3"
:
"d7e46390"
,
"chunk-5498eef5"
:
"e5216386"
}[
t
]
+
".css"
,
r
=
u
.
p
+
o
,
c
=
document
.
getElementsByTagName
(
"link"
),
i
=
0
;
i
<
c
.
length
;
i
++
){
var
s
=
c
[
i
],
m
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
m
===
o
||
m
===
r
))
return
e
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
i
=
0
;
i
<
d
.
length
;
i
++
){
s
=
d
[
i
],
m
=
s
.
getAttribute
(
"data-href"
);
if
(
m
===
o
||
m
===
r
)
return
e
()}
var
l
=
document
.
createElement
(
"link"
);
l
.
rel
=
"stylesheet"
,
l
.
type
=
"text/css"
,
l
.
onload
=
e
,
l
.
onerror
=
function
(
e
){
var
o
=
e
&&
e
.
target
&&
e
.
target
.
src
||
r
,
c
=
new
Error
(
"Loading CSS chunk "
+
t
+
" failed.\n("
+
o
+
")"
);
c
.
request
=
o
,
delete
a
[
t
],
l
.
parentNode
.
removeChild
(
l
),
n
(
c
)},
l
.
href
=
r
;
var
f
=
document
.
getElementsByTagName
(
"head"
)[
0
];
f
.
appendChild
(
l
)}).
then
(
function
(){
a
[
t
]
=
0
}));
var
o
=
r
[
t
];
if
(
0
!==
o
)
if
(
o
)
e
.
push
(
o
[
2
]);
else
{
var
c
=
new
Promise
(
function
(
e
,
n
){
o
=
r
[
t
]
=
[
e
,
n
]});
e
.
push
(
o
[
2
]
=
c
);
var
s
,
m
=
document
.
createElement
(
"script"
);
m
.
charset
=
"utf-8"
,
m
.
timeout
=
120
,
u
.
nc
&&
m
.
setAttribute
(
"nonce"
,
u
.
nc
),
m
.
src
=
i
(
t
),
s
=
function
(
e
){
m
.
onerror
=
m
.
onload
=
null
,
clearTimeout
(
d
);
var
n
=
r
[
t
];
if
(
0
!==
n
){
if
(
n
){
var
o
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
a
=
e
&&
e
.
target
&&
e
.
target
.
src
,
c
=
new
Error
(
"Loading chunk "
+
t
+
" failed.\n("
+
o
+
": "
+
a
+
")"
);
c
.
type
=
o
,
c
.
request
=
a
,
n
[
1
](
c
)}
r
[
t
]
=
void
0
}};
var
d
=
setTimeout
(
function
(){
s
({
type
:
"timeout"
,
target
:
m
})},
12
e4
);
m
.
onerror
=
m
.
onload
=
s
,
document
.
head
.
appendChild
(
m
)}
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"
]
||
[],
m
=
s
.
push
.
bind
(
s
);
s
.
push
=
e
,
s
=
s
.
slice
();
for
(
var
d
=
0
;
d
<
s
.
length
;
d
++
)
e
(
s
[
d
]);
var
l
=
m
;
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"
),
a
=
n
.
n
(
o
),
r
=
(
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
,
m
=
n
(
"fc05"
),
d
=
Object
(
m
[
"a"
])(
s
,
c
,
i
,
!
1
,
null
,
null
,
null
),
l
=
d
.
exports
,
f
=
n
(
"7f43"
),
h
=
n
.
n
(
f
),
p
=
(
n
(
"0a16"
),
n
(
"081a"
)),
g
=
function
(
t
){
return
n
.
e
(
"chunk-5498eef5"
).
then
(
function
(){
var
e
=
[
n
(
"9553"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
v
=
function
(
t
){
return
n
.
e
(
"chunk-37ba70a3"
).
then
(
function
(){
var
e
=
[
n
(
"2500"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
b
=
function
(
t
){
return
n
.
e
(
"chunk-1144b73a"
).
then
(
function
(){
var
e
=
[
n
(
"9055"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)};
r
[
"a"
].
use
(
p
[
"a"
]);
var
k
=
[{
path
:
"/"
,
component
:
g
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/smt"
,
component
:
v
,
meta
:{
title
:
"SMT打样"
}},{
path
:
"/supplier"
,
component
:
b
,
meta
:{
title
:
"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"
}},{
path
:
"*"
,
redirect
:
"/"
}];
k
.
forEach
(
function
(
t
){
t
.
path
=
t
.
path
||
"/"
+
(
t
.
name
||
""
)});
var
y
=
new
p
[
"a"
]({
routes
:
k
});
y
.
beforeEach
(
function
(
t
,
e
,
n
){
var
o
=
t
.
meta
&&
t
.
meta
.
title
;
o
&&
(
document
.
title
=
o
),
n
()});
var
w
,
C
,
x
=
n
(
"52c1"
),
_
=
n
(
"01c5"
);
switch
(
window
.
location
.
hostname
){
case
"www.ichunt.com"
:
w
=
"https://api.ichunt.com/"
;
break
;
case
"m.ichunt.com"
:
C
=
"https://m.ichunt.com/v3/"
,
w
=
"https://api.ichunt.com/"
;
break
;
case
"sz.ichunt.com"
:
w
=
"https://szapi.ichunt.com/"
;
break
;
case
"szm.ichunt.com"
:
w
=
"https://szapi.ichunt.com/"
,
C
=
"https://szm.ichunt.com/v3/"
;
break
;
case
"t.ichunt.com"
:
w
=
"https://api.ichunt.com/"
;
break
;
case
"tm.ichunt.com"
:
C
=
"https://tm.ichunt.com/v3/"
,
w
=
"https://api.ichunt.com/"
;
break
;
case
"www.liexin.com"
:
w
=
"http://api.liexin.com/"
;
break
;
case
"m.liexin.com"
:
C
=
"http://m.liexin.com/v3/"
,
w
=
"http://api.liexin.com/"
;
break
;
default
:
C
=
"/m/v3/"
,
w
=
"/apis/"
}
var
T
=
C
,
S
=
w
,
E
=
{
index
:
T
+
"index"
,
loginCheck
:
S
+
"login/check"
,
cartCount
:
S
+
"cart/count"
,
customsrService
:
S
+
"public/customsrservice"
,
getCommonParams
:
T
+
"getcommonparams"
,
wxaccess
:
T
+
"api/wxaccess"
,
checkAccountExists
:
S
+
"public/checkAccountExists"
,
customSmsVerify
:
S
+
"public/customSmsVerify"
,
chainFind
:
T
+
"Service/chainFind"
},
P
=
{
index
:
function
(
t
){
return
h
.
a
.
post
(
E
.
index
,
t
)},
loginCheck
:
function
(
t
){
return
h
.
a
.
get
(
E
.
loginCheck
,{
params
:{
data
:
t
}})},
cartCount
:
function
(
t
){
return
h
.
a
.
get
(
E
.
cartCount
,{
params
:{
data
:
t
}})},
customsrService
:
function
(
t
){
return
h
.
a
.
get
(
E
.
customsrService
,{
params
:{
data
:
t
}})},
getCommonParams
:
function
(
t
){
return
h
.
a
.
post
(
E
.
getCommonParams
,
t
)},
wxaccess
:
function
(
t
){
return
h
.
a
.
post
(
E
.
wxaccess
,
t
)},
checkAccountExists
:
function
(
t
){
return
h
.
a
.
post
(
E
.
checkAccountExists
,
t
)},
customSmsVerify
:
function
(
t
){
return
h
.
a
.
post
(
E
.
customSmsVerify
,
t
)},
chainFind
:
function
(
t
){
return
h
.
a
.
post
(
E
.
chainFind
,
t
)}},
j
=
(
n
(
"ac74"
),
n
(
"9029"
),
n
(
"ab01"
)),
A
=
n
.
n
(
j
),
O
=
(
n
(
"4ddc"
),
0
),
M
=
8
;
function
F
(
t
){
return
Y
(
N
(
B
(
t
),
t
.
length
*
M
))}
function
N
(
t
,
e
){
t
[
e
>>
5
]
|=
128
<<
24
-
e
%
32
,
t
[
15
+
(
e
+
64
>>
9
<<
4
)]
=
e
;
for
(
var
n
=
Array
(
80
),
o
=
1732584193
,
a
=-
271733879
,
r
=-
1732584194
,
c
=
271733878
,
i
=-
1009589776
,
u
=
0
;
u
<
t
.
length
;
u
+=
16
){
for
(
var
s
=
o
,
m
=
a
,
d
=
r
,
l
=
c
,
f
=
i
,
h
=
0
;
h
<
80
;
h
++
){
n
[
h
]
=
h
<
16
?
t
[
u
+
h
]:
q
(
n
[
h
-
3
]
^
n
[
h
-
8
]
^
n
[
h
-
14
]
^
n
[
h
-
16
],
1
);
var
p
=
V
(
V
(
q
(
o
,
5
),
D
(
h
,
a
,
r
,
c
)),
V
(
V
(
i
,
n
[
h
]),
z
(
h
)));
i
=
c
,
c
=
r
,
r
=
q
(
a
,
30
),
a
=
o
,
o
=
p
}
o
=
V
(
o
,
s
),
a
=
V
(
a
,
m
),
r
=
V
(
r
,
d
),
c
=
V
(
c
,
l
),
i
=
V
(
i
,
f
)}
return
Array
(
o
,
a
,
r
,
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
V
(
t
,
e
){
var
n
=
(
65535
&
t
)
+
(
65535
&
e
),
o
=
(
t
>>
16
)
+
(
e
>>
16
)
+
(
n
>>
16
);
return
o
<<
16
|
65535
&
n
}
function
q
(
t
,
e
){
return
t
<<
e
|
t
>>>
32
-
e
}
function
B
(
t
){
for
(
var
e
=
Array
(),
n
=
(
1
<<
M
)
-
1
,
o
=
0
;
o
<
t
.
length
*
M
;
o
+=
M
)
e
[
o
>>
5
]
|=
(
t
.
charCodeAt
(
o
/
M
)
&
n
)
<<
24
-
o
%
32
;
return
e
}
function
Y
(
t
){
for
(
var
e
=
O
?
"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"
),
H
=
{
setCookie
:
function
(
t
,
e
,
n
,
o
){
o
=
o
?
";domain="
+
o
:
""
;
var
a
=
n
,
r
=
new
Date
;
return
r
.
setTime
(
r
.
getTime
()
+
24
*
a
*
60
*
60
*
1
e3
),
document
.
cookie
=
t
+
"="
+
encodeURIComponent
(
e
)
+
";expires="
+
r
.
toGMTString
()
+
";path=/"
+
o
,
!
0
},
getCookie
:
function
(
t
){
for
(
var
e
=
document
.
cookie
,
n
=
e
.
split
(
"; "
),
o
=
0
;
o
<
n
.
length
;
o
++
){
var
a
=
n
[
o
].
split
(
"="
);
if
(
t
==
a
[
0
])
return
a
[
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
r
=
[],
c
=
{},
i
=
""
,
u
=
""
,
s
=
""
,
m
=
{
pf
:
2
,
qwertyuiop
:
o
,
Yo4teW_gid
:
e
},
d
=
A
()({},
m
,
t
);
a
()(
d
).
forEach
(
function
(
t
,
e
,
n
){
r
.
push
(
t
)}),
r
=
r
.
sort
(),
r
.
forEach
(
function
(
t
,
e
,
n
){
c
[
r
[
e
]]
=
d
[
r
[
e
]]}),
a
()(
c
).
forEach
(
function
(
t
,
e
,
n
){
i
+=
t
+
"="
+
c
[
t
]}),
u
=
i
.
replace
(
/
[^
0-9a-zA-Z
]
/g
,
""
),
u
=
u
.
toUpperCase
();
for
(
var
l
=
0
;
l
<
u
.
length
;
l
++
)
"A"
!=
u
[
l
]
&&
"B"
!=
u
[
l
]
&&
"C"
!=
u
[
l
]
&&
(
s
+=
u
[
l
]);
i
=
F
(
s
);
var
f
=
A
()({},
t
,{
asdfghjkl
:
i
},{
qwertyuiop
:
o
},{
pf
:
2
});
return
W
.
stringify
(
f
)}};
r
[
"a"
].
use
(
_
[
"g"
]);
var
L
=
{
index
:{},
loading
:
!
0
},
$
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
G
=
{
index
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
L
.
loading
=!
0
;
var
o
=
H
.
getParams
();
P
.
index
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
L
.
loading
=!
1
,
0
==
e
.
err_code
?
n
({
type
:
"index"
,
data
:
e
.
data
}):
2
==
e
.
err_code
&&
Object
(
_
[
"g"
])({
message
:
"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
L
.
loading
=!
1
})}},
I
=
{},
J
=
{
state
:
L
,
mutations
:
$
,
actions
:
G
,
getters
:
I
};
r
[
"a"
].
use
(
_
[
"g"
]);
var
U
=
{
cartCount
:
""
,
loginCheck
:
!
1
,
phpParams
:{}},
R
=
{
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
}},
Z
=
{
cartCount
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
P
.
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
;
P
.
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
:
""
};
P
.
customsrService
(
n
).
then
(
function
(
t
){}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
getCommonParams
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
o
=
H
.
getParams
();
P
.
getCommonParams
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"phpParams"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})}},
K
=
{},
Q
=
{
state
:
U
,
mutations
:
R
,
actions
:
Z
,
getters
:
K
},
X
=
n
(
"0427"
);
r
[
"a"
].
use
(
_
[
"g"
]);
var
tt
=
{
loading
:
!
1
},
et
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
nt
=
{
checkAccountExists
:
function
(
t
,
e
){
t
.
commit
;
tt
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
type
:
2
,
account
:
e
.
account
};
P
.
checkAccountExists
(
X
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
tt
.
loading
=!
1
,
0
!=
e
.
err_code
&&
Object
(
_
[
"g"
])({
message
:
"该手机号尚未注册,我们将为您自动生成猎芯网帐号"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
tt
.
loading
=!
1
})},
customSmsVerify
:
function
(
t
,
e
){
t
.
commit
;
tt
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
verify
:
""
,
mobile
:
e
.
mobile
};
P
.
customSmsVerify
(
X
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
tt
.
loading
=!
1
,
0
==
e
.
err_code
?
Object
(
_
[
"g"
])({
message
:
e
.
err_msg
,
duration
:
2
e3
}):
Object
(
_
[
"g"
])({
message
:
e
.
err_msg
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
tt
.
loading
=!
1
})},
chainFind
:
function
(
t
,
e
){
t
.
commit
;
if
(
tt
.
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
};
P
.
chainFind
(
X
.
stringify
(
n
)).
then
(
function
(
t
){
var
n
=
t
.
data
;
tt
.
loading
=!
1
,
1
==
n
.
errcode
?
Object
(
_
[
"g"
])({
message
:
n
.
errmsg
,
duration
:
3
e3
}):
2
==
n
.
errcode
?(
Object
(
_
[
"g"
])({
message
:
"已为您自动创建的猎芯网登录账号为"
+
e
.
mobile
+
"请使用免密码登录"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
)):(
Object
(
_
[
"g"
])({
message
:
"您已经提交成功,我们将会在2个工作日内联系您"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
))}).
catch
(
function
(
t
){
tt
.
loading
=!
1
,
Object
(
_
[
"g"
])({
message
:
"网络出现问题,请重试"
,
duration
:
3
e3
})})}},
ot
=
{},
at
=
{
state
:
tt
,
mutations
:
et
,
actions
:
nt
,
getters
:
ot
};
r
[
"a"
].
use
(
x
[
"a"
]);
var
rt
=
new
x
[
"a"
].
Store
({
modules
:{
home
:
J
,
common
:
Q
,
smt
:
at
}}),
ct
=
function
(
t
){
return
t
.
indexOf
(
"?"
)?
t
+
"&ptag=index-dynamic"
:
t
+
"?ptag=index-dynamic"
},
it
=
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
a
=
e
.
getDate
();
a
=
a
<
10
?
"0"
+
a
:
a
;
var
r
=
e
.
getHours
();
r
=
r
<
10
?
"0"
+
r
:
r
;
var
c
=
e
.
getMinutes
(),
i
=
e
.
getSeconds
();
return
c
=
c
<
10
?
"0"
+
c
:
c
,
i
=
i
<
10
?
"0"
+
i
:
i
,
n
+
"-"
+
o
+
"-"
+
a
+
" "
},
ut
=
{
dateTimeFormate
:
it
,
urlParams
:
ct
},
st
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(){
document
.
body
.
scrollTop
=
0
,
document
.
documentElement
.
scrollTop
=
0
,
document
.
querySelector
(
".container-wrap"
).
scrollTop
=
0
},
!
1
)}},
mt
=
{
install
:
function
(
t
){
t
.
directive
(
"backTop"
,
st
)}},
dt
=
n
(
"897d"
),
lt
=
n
.
n
(
dt
),
ft
=
n
(
"c501"
),
ht
=
n
.
n
(
ft
);
n
(
"d6f9"
),
n
(
"bfd9"
);
r
[
"a"
].
config
.
productionTip
=!
1
;
var
pt
=
"production"
;
if
(
"production"
!=
pt
)
new
ht
.
a
;
a
()(
ut
).
forEach
(
function
(
t
){
return
r
[
"a"
].
filter
(
t
,
ut
[
t
])}),
r
[
"a"
].
use
(
mt
),
r
[
"a"
].
prototype
.
$http
=
h
.
a
,
h
.
a
.
defaults
.
headers
.
post
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
,
h
.
a
.
defaults
.
withCredentials
=!
0
;
var
gt
=
H
.
getCookie
(
"Yo4teW_gid"
);
if
(
null
==
gt
){
var
vt
=
lt
()(
""
);
H
.
setCookie
(
"Yo4teW_gid"
,
vt
,
1
,
window
.
cookieHostname
)}
var
bt
=
H
.
getParams
();
P
.
wxaccess
(
bt
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
e
.
data
&&
(
window
.
location
.
href
=
e
.
data
)}),
new
r
[
"a"
]({
router
:
y
,
store
:
rt
,
render
:
function
(
t
){
return
t
(
l
)}}).
$mount
(
"#app"
)},
bfd9
:
function
(
t
,
e
,
n
){}});
\ No newline at end of file
(
function
(
t
){
function
e
(
e
){
for
(
var
o
,
a
,
i
=
e
[
0
],
u
=
e
[
1
],
s
=
e
[
2
],
m
=
0
,
d
=
[];
m
<
i
.
length
;
m
++
)
a
=
i
[
m
],
r
[
a
]
&&
d
.
push
(
r
[
a
][
0
]),
r
[
a
]
=
0
;
for
(
o
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
o
)
&&
(
t
[
o
]
=
u
[
o
]);
l
&&
l
(
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
],
o
=!
0
,
a
=
1
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
];
0
!==
r
[
i
]
&&
(
o
=!
1
)}
o
&&
(
c
.
splice
(
e
--
,
1
),
t
=
u
(
u
.
s
=
n
[
0
]))}
return
t
}
var
o
=
{},
a
=
{
app
:
0
},
r
=
{
app
:
0
},
c
=
[];
function
i
(
t
){
return
u
.
p
+
"js/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-1144b73a"
:
"dcaaca52"
,
"chunk-37ba70a3"
:
"58777a98"
,
"chunk-5498eef5"
:
"dfdb390f"
}[
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-1144b73a"
:
1
,
"chunk-37ba70a3"
:
1
,
"chunk-5498eef5"
:
1
};
a
[
t
]?
e
.
push
(
a
[
t
]):
0
!==
a
[
t
]
&&
n
[
t
]
&&
e
.
push
(
a
[
t
]
=
new
Promise
(
function
(
e
,
n
){
for
(
var
o
=
"css/"
+
({}[
t
]
||
t
)
+
"."
+
{
"chunk-1144b73a"
:
"43c91bcb"
,
"chunk-37ba70a3"
:
"d7e46390"
,
"chunk-5498eef5"
:
"e5216386"
}[
t
]
+
".css"
,
r
=
u
.
p
+
o
,
c
=
document
.
getElementsByTagName
(
"link"
),
i
=
0
;
i
<
c
.
length
;
i
++
){
var
s
=
c
[
i
],
m
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
m
===
o
||
m
===
r
))
return
e
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
i
=
0
;
i
<
d
.
length
;
i
++
){
s
=
d
[
i
],
m
=
s
.
getAttribute
(
"data-href"
);
if
(
m
===
o
||
m
===
r
)
return
e
()}
var
l
=
document
.
createElement
(
"link"
);
l
.
rel
=
"stylesheet"
,
l
.
type
=
"text/css"
,
l
.
onload
=
e
,
l
.
onerror
=
function
(
e
){
var
o
=
e
&&
e
.
target
&&
e
.
target
.
src
||
r
,
c
=
new
Error
(
"Loading CSS chunk "
+
t
+
" failed.\n("
+
o
+
")"
);
c
.
request
=
o
,
delete
a
[
t
],
l
.
parentNode
.
removeChild
(
l
),
n
(
c
)},
l
.
href
=
r
;
var
f
=
document
.
getElementsByTagName
(
"head"
)[
0
];
f
.
appendChild
(
l
)}).
then
(
function
(){
a
[
t
]
=
0
}));
var
o
=
r
[
t
];
if
(
0
!==
o
)
if
(
o
)
e
.
push
(
o
[
2
]);
else
{
var
c
=
new
Promise
(
function
(
e
,
n
){
o
=
r
[
t
]
=
[
e
,
n
]});
e
.
push
(
o
[
2
]
=
c
);
var
s
,
m
=
document
.
createElement
(
"script"
);
m
.
charset
=
"utf-8"
,
m
.
timeout
=
120
,
u
.
nc
&&
m
.
setAttribute
(
"nonce"
,
u
.
nc
),
m
.
src
=
i
(
t
),
s
=
function
(
e
){
m
.
onerror
=
m
.
onload
=
null
,
clearTimeout
(
d
);
var
n
=
r
[
t
];
if
(
0
!==
n
){
if
(
n
){
var
o
=
e
&&
(
"load"
===
e
.
type
?
"missing"
:
e
.
type
),
a
=
e
&&
e
.
target
&&
e
.
target
.
src
,
c
=
new
Error
(
"Loading chunk "
+
t
+
" failed.\n("
+
o
+
": "
+
a
+
")"
);
c
.
type
=
o
,
c
.
request
=
a
,
n
[
1
](
c
)}
r
[
t
]
=
void
0
}};
var
d
=
setTimeout
(
function
(){
s
({
type
:
"timeout"
,
target
:
m
})},
12
e4
);
m
.
onerror
=
m
.
onload
=
s
,
document
.
head
.
appendChild
(
m
)}
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"
]
||
[],
m
=
s
.
push
.
bind
(
s
);
s
.
push
=
e
,
s
=
s
.
slice
();
for
(
var
d
=
0
;
d
<
s
.
length
;
d
++
)
e
(
s
[
d
]);
var
l
=
m
;
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"
),
a
=
n
.
n
(
o
),
r
=
(
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
,
m
=
n
(
"fc05"
),
d
=
Object
(
m
[
"a"
])(
s
,
c
,
i
,
!
1
,
null
,
null
,
null
),
l
=
d
.
exports
,
f
=
n
(
"7f43"
),
h
=
n
.
n
(
f
),
p
=
(
n
(
"0a16"
),
n
(
"081a"
)),
g
=
function
(
t
){
return
n
.
e
(
"chunk-5498eef5"
).
then
(
function
(){
var
e
=
[
n
(
"9553"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
v
=
function
(
t
){
return
n
.
e
(
"chunk-37ba70a3"
).
then
(
function
(){
var
e
=
[
n
(
"2500"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
b
=
function
(
t
){
return
n
.
e
(
"chunk-1144b73a"
).
then
(
function
(){
var
e
=
[
n
(
"9055"
)];
t
.
apply
(
null
,
e
)}.
bind
(
this
)).
catch
(
n
.
oe
)};
r
[
"a"
].
use
(
p
[
"a"
]);
var
k
=
[{
path
:
"/"
,
component
:
g
,
meta
:{
title
:
"猎芯网"
}},{
path
:
"/smt"
,
component
:
v
,
meta
:{
title
:
"SMT打样"
}},{
path
:
"/supplier"
,
component
:
b
,
meta
:{
title
:
"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"
}},{
path
:
"*"
,
redirect
:
"/"
}];
k
.
forEach
(
function
(
t
){
t
.
path
=
t
.
path
||
"/"
+
(
t
.
name
||
""
)});
var
y
=
new
p
[
"a"
]({
routes
:
k
});
y
.
beforeEach
(
function
(
t
,
e
,
n
){
var
o
=
t
.
meta
&&
t
.
meta
.
title
;
o
&&
(
document
.
title
=
o
),
n
()});
var
w
,
C
,
x
=
n
(
"52c1"
),
_
=
n
(
"01c5"
);
switch
(
window
.
location
.
hostname
){
case
"www.ichunt.com"
:
w
=
"https://api.ichunt.com/"
;
break
;
case
"m.ichunt.com"
:
C
=
"https://m.ichunt.com/v3/"
,
w
=
"https://api.ichunt.com/"
;
break
;
case
"sz.ichunt.com"
:
w
=
"https://szapi.ichunt.com/"
;
break
;
case
"szm.ichunt.com"
:
w
=
"https://szapi.ichunt.com/"
,
C
=
"https://szm.ichunt.com/v3/"
;
break
;
case
"t.ichunt.com"
:
w
=
"https://api.ichunt.com/"
;
break
;
case
"tm.ichunt.com"
:
C
=
"https://tm.ichunt.com/v3/"
,
w
=
"https://api.ichunt.com/"
;
break
;
case
"www.liexin.com"
:
w
=
"http://api.liexin.com/"
;
break
;
case
"m.liexin.com"
:
C
=
"http://m.liexin.com/v3/"
,
w
=
"http://api.liexin.com/"
;
break
;
default
:
C
=
"/m/v3/"
,
w
=
"/apis/"
}
var
T
=
C
,
S
=
w
,
E
=
{
index
:
T
+
"index"
,
loginCheck
:
S
+
"login/check"
,
cartCount
:
S
+
"cart/count"
,
customsrService
:
S
+
"public/customsrservice"
,
getCommonParams
:
T
+
"getcommonparams"
,
wxaccess
:
T
+
"api/wxaccess"
,
checkAccountExists
:
S
+
"public/checkAccountExists"
,
customSmsVerify
:
S
+
"public/customSmsVerify"
,
chainFind
:
T
+
"Service/chainFind"
},
P
=
{
index
:
function
(
t
){
return
h
.
a
.
post
(
E
.
index
,
t
)},
loginCheck
:
function
(
t
){
return
h
.
a
.
get
(
E
.
loginCheck
,{
params
:{
data
:
t
}})},
cartCount
:
function
(
t
){
return
h
.
a
.
get
(
E
.
cartCount
,{
params
:{
data
:
t
}})},
customsrService
:
function
(
t
){
return
h
.
a
.
get
(
E
.
customsrService
,{
params
:{
data
:
t
}})},
getCommonParams
:
function
(
t
){
return
h
.
a
.
post
(
E
.
getCommonParams
,
t
)},
wxaccess
:
function
(
t
){
return
h
.
a
.
post
(
E
.
wxaccess
,
t
)},
checkAccountExists
:
function
(
t
){
return
h
.
a
.
post
(
E
.
checkAccountExists
,
t
)},
customSmsVerify
:
function
(
t
){
return
h
.
a
.
post
(
E
.
customSmsVerify
,
t
)},
chainFind
:
function
(
t
){
return
h
.
a
.
post
(
E
.
chainFind
,
t
)}},
j
=
(
n
(
"ac74"
),
n
(
"9029"
),
n
(
"ab01"
)),
A
=
n
.
n
(
j
),
O
=
(
n
(
"4ddc"
),
0
),
M
=
8
;
function
F
(
t
){
return
Y
(
N
(
B
(
t
),
t
.
length
*
M
))}
function
N
(
t
,
e
){
t
[
e
>>
5
]
|=
128
<<
24
-
e
%
32
,
t
[
15
+
(
e
+
64
>>
9
<<
4
)]
=
e
;
for
(
var
n
=
Array
(
80
),
o
=
1732584193
,
a
=-
271733879
,
r
=-
1732584194
,
c
=
271733878
,
i
=-
1009589776
,
u
=
0
;
u
<
t
.
length
;
u
+=
16
){
for
(
var
s
=
o
,
m
=
a
,
d
=
r
,
l
=
c
,
f
=
i
,
h
=
0
;
h
<
80
;
h
++
){
n
[
h
]
=
h
<
16
?
t
[
u
+
h
]:
q
(
n
[
h
-
3
]
^
n
[
h
-
8
]
^
n
[
h
-
14
]
^
n
[
h
-
16
],
1
);
var
p
=
V
(
V
(
q
(
o
,
5
),
D
(
h
,
a
,
r
,
c
)),
V
(
V
(
i
,
n
[
h
]),
z
(
h
)));
i
=
c
,
c
=
r
,
r
=
q
(
a
,
30
),
a
=
o
,
o
=
p
}
o
=
V
(
o
,
s
),
a
=
V
(
a
,
m
),
r
=
V
(
r
,
d
),
c
=
V
(
c
,
l
),
i
=
V
(
i
,
f
)}
return
Array
(
o
,
a
,
r
,
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
V
(
t
,
e
){
var
n
=
(
65535
&
t
)
+
(
65535
&
e
),
o
=
(
t
>>
16
)
+
(
e
>>
16
)
+
(
n
>>
16
);
return
o
<<
16
|
65535
&
n
}
function
q
(
t
,
e
){
return
t
<<
e
|
t
>>>
32
-
e
}
function
B
(
t
){
for
(
var
e
=
Array
(),
n
=
(
1
<<
M
)
-
1
,
o
=
0
;
o
<
t
.
length
*
M
;
o
+=
M
)
e
[
o
>>
5
]
|=
(
t
.
charCodeAt
(
o
/
M
)
&
n
)
<<
24
-
o
%
32
;
return
e
}
function
Y
(
t
){
for
(
var
e
=
O
?
"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"
),
H
=
{
setCookie
:
function
(
t
,
e
,
n
,
o
){
o
=
o
?
";domain="
+
o
:
""
;
var
a
=
n
,
r
=
new
Date
;
return
r
.
setTime
(
r
.
getTime
()
+
24
*
a
*
60
*
60
*
1
e3
),
document
.
cookie
=
t
+
"="
+
encodeURIComponent
(
e
)
+
";expires="
+
r
.
toGMTString
()
+
";path=/"
+
o
,
!
0
},
getCookie
:
function
(
t
){
for
(
var
e
=
document
.
cookie
,
n
=
e
.
split
(
"; "
),
o
=
0
;
o
<
n
.
length
;
o
++
){
var
a
=
n
[
o
].
split
(
"="
);
if
(
t
==
a
[
0
])
return
a
[
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
r
=
[],
c
=
{},
i
=
""
,
u
=
""
,
s
=
""
,
m
=
{
pf
:
2
,
qwertyuiop
:
o
,
Yo4teW_gid
:
e
},
d
=
A
()({},
m
,
t
);
a
()(
d
).
forEach
(
function
(
t
,
e
,
n
){
r
.
push
(
t
)}),
r
=
r
.
sort
(),
r
.
forEach
(
function
(
t
,
e
,
n
){
c
[
r
[
e
]]
=
d
[
r
[
e
]]}),
a
()(
c
).
forEach
(
function
(
t
,
e
,
n
){
i
+=
t
+
"="
+
c
[
t
]}),
u
=
i
.
replace
(
/
[^
0-9a-zA-Z
]
/g
,
""
),
u
=
u
.
toUpperCase
();
for
(
var
l
=
0
;
l
<
u
.
length
;
l
++
)
"A"
!=
u
[
l
]
&&
"B"
!=
u
[
l
]
&&
"C"
!=
u
[
l
]
&&
(
s
+=
u
[
l
]);
i
=
F
(
s
);
var
f
=
A
()({},
t
,{
asdfghjkl
:
i
},{
qwertyuiop
:
o
},{
pf
:
2
});
return
W
.
stringify
(
f
)}};
r
[
"a"
].
use
(
_
[
"g"
]);
var
L
=
{
index
:{},
loading
:
!
0
},
$
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
G
=
{
index
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
L
.
loading
=!
0
;
var
o
=
H
.
getParams
();
P
.
index
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
L
.
loading
=!
1
,
0
==
e
.
err_code
?
n
({
type
:
"index"
,
data
:
e
.
data
}):
2
==
e
.
err_code
&&
Object
(
_
[
"g"
])({
message
:
"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
L
.
loading
=!
1
})}},
I
=
{},
J
=
{
state
:
L
,
mutations
:
$
,
actions
:
G
,
getters
:
I
};
r
[
"a"
].
use
(
_
[
"g"
]);
var
U
=
{
cartCount
:
""
,
loginCheck
:
!
1
,
phpParams
:{}},
R
=
{
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
}},
Z
=
{
cartCount
:
function
(
t
,
e
){
var
n
=
t
.
commit
;
P
.
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
;
P
.
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
:
""
};
P
.
customsrService
(
n
).
then
(
function
(
t
){}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})},
getCommonParams
:
function
(
t
,
e
){
var
n
=
t
.
commit
,
o
=
H
.
getParams
();
P
.
getCommonParams
(
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
n
({
type
:
"phpParams"
,
data
:
e
})}).
catch
(
function
(
t
){
console
.
log
(
"网络出现问题,请重试"
)})}},
K
=
{},
Q
=
{
state
:
U
,
mutations
:
R
,
actions
:
Z
,
getters
:
K
},
X
=
n
(
"0427"
);
r
[
"a"
].
use
(
_
[
"g"
]);
var
tt
=
{
loading
:
!
1
},
et
=
{
index
:
function
(
t
,
e
){
t
.
index
=
e
.
data
}},
nt
=
{
checkAccountExists
:
function
(
t
,
e
){
t
.
commit
;
tt
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
type
:
2
,
account
:
e
.
account
};
P
.
checkAccountExists
(
X
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
tt
.
loading
=!
1
,
0
!=
e
.
err_code
&&
Object
(
_
[
"g"
])({
message
:
"该手机号尚未注册,我们将为您自动生成猎芯网帐号"
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
tt
.
loading
=!
1
})},
customSmsVerify
:
function
(
t
,
e
){
t
.
commit
;
tt
.
loading
=!
0
;
var
n
=
{
pf
:
2
,
verify
:
""
,
mobile
:
e
.
mobile
};
P
.
customSmsVerify
(
X
.
stringify
(
n
)).
then
(
function
(
t
){
var
e
=
t
.
data
;
tt
.
loading
=!
1
,
0
==
e
.
err_code
?
Object
(
_
[
"g"
])({
message
:
e
.
err_msg
,
duration
:
2
e3
}):
Object
(
_
[
"g"
])({
message
:
e
.
err_msg
,
duration
:
3
e3
})}).
catch
(
function
(
t
){
tt
.
loading
=!
1
})},
chainFind
:
function
(
t
,
e
){
t
.
commit
;
if
(
tt
.
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
};
P
.
chainFind
(
X
.
stringify
(
n
)).
then
(
function
(
t
){
var
n
=
t
.
data
;
tt
.
loading
=!
1
,
1
==
n
.
errcode
?
Object
(
_
[
"g"
])({
message
:
n
.
errmsg
,
duration
:
3
e3
}):
2
==
n
.
errcode
?(
Object
(
_
[
"g"
])({
message
:
"已为您自动创建的猎芯网登录账号为"
+
e
.
mobile
+
"请使用免密码登录"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
)):(
Object
(
_
[
"g"
])({
message
:
"您已经提交成功,我们将会在2个工作日内联系您"
,
duration
:
3
e3
}),
setTimeout
(
function
(){
window
.
location
.
reload
()},
3
e3
))}).
catch
(
function
(
t
){
tt
.
loading
=!
1
,
Object
(
_
[
"g"
])({
message
:
"网络出现问题,请重试"
,
duration
:
3
e3
})})}},
ot
=
{},
at
=
{
state
:
tt
,
mutations
:
et
,
actions
:
nt
,
getters
:
ot
};
r
[
"a"
].
use
(
x
[
"a"
]);
var
rt
=
new
x
[
"a"
].
Store
({
modules
:{
home
:
J
,
common
:
Q
,
smt
:
at
}}),
ct
=
function
(
t
){
return
t
.
indexOf
(
"?"
)
>-
1
?
t
+
"&ptag=index-dynamic"
:
t
+
"?ptag=index-dynamic"
},
it
=
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
a
=
e
.
getDate
();
a
=
a
<
10
?
"0"
+
a
:
a
;
var
r
=
e
.
getHours
();
r
=
r
<
10
?
"0"
+
r
:
r
;
var
c
=
e
.
getMinutes
(),
i
=
e
.
getSeconds
();
return
c
=
c
<
10
?
"0"
+
c
:
c
,
i
=
i
<
10
?
"0"
+
i
:
i
,
n
+
"-"
+
o
+
"-"
+
a
+
" "
},
ut
=
{
dateTimeFormate
:
it
,
urlParams
:
ct
},
st
=
{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(){
document
.
body
.
scrollTop
=
0
,
document
.
documentElement
.
scrollTop
=
0
,
document
.
querySelector
(
".container-wrap"
).
scrollTop
=
0
},
!
1
)}},
mt
=
{
install
:
function
(
t
){
t
.
directive
(
"backTop"
,
st
)}},
dt
=
n
(
"897d"
),
lt
=
n
.
n
(
dt
),
ft
=
n
(
"c501"
),
ht
=
n
.
n
(
ft
);
n
(
"d6f9"
),
n
(
"bfd9"
);
r
[
"a"
].
config
.
productionTip
=!
1
;
var
pt
=
"production"
;
if
(
"production"
!=
pt
)
new
ht
.
a
;
a
()(
ut
).
forEach
(
function
(
t
){
return
r
[
"a"
].
filter
(
t
,
ut
[
t
])}),
r
[
"a"
].
use
(
mt
),
r
[
"a"
].
prototype
.
$http
=
h
.
a
,
h
.
a
.
defaults
.
headers
.
post
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
,
h
.
a
.
defaults
.
withCredentials
=!
0
;
var
gt
=
H
.
getCookie
(
"Yo4teW_gid"
);
if
(
null
==
gt
){
var
vt
=
lt
()(
""
);
H
.
setCookie
(
"Yo4teW_gid"
,
vt
,
1
,
window
.
cookieHostname
)}
var
bt
=
H
.
getParams
();
P
.
wxaccess
(
bt
).
then
(
function
(
t
){
var
e
=
t
.
data
;
0
==
e
.
err_code
&&
e
.
data
&&
(
window
.
location
.
href
=
e
.
data
)}),
new
r
[
"a"
]({
router
:
y
,
store
:
rt
,
render
:
function
(
t
){
return
t
(
l
)}}).
$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