Commit 58f05d90 by 施宇

h5搜索

parent 577b9d07
......@@ -14,7 +14,7 @@ const state = {
zyOrly: 0, //0代表自营,1代表联营
zyFilter: false,
zyRank: false,
zyFilterData: {}
zyFilterData: {},//过滤数据
}
const mutations = {
searchList(state, payload) {
......@@ -32,6 +32,7 @@ const actions = {
getZyData({
commit
}, payload) {
console.log(payload)
var params = {
'goods_name/condition': 'liexin',
com_rank: 1,
......
......@@ -28,97 +28,107 @@
<span class="font">仅显示有货</span>
</p>
<ul class="total-rank">
<li :class="{'act':zyRankInit == 0}">综合</li>
<li :class="{'act':zyRankInit == 1}">
<li :class="{'act':zyRankInit == 0}" @click="changezyRankInit(0)">综合</li>
<li
:class="{'act':zyRankInit == 1 ||zyRankInit == 2}"
@click="changezyRankInit('kc')"
>
库存
<span>
<i class="icon-top"></i>
<i class="icon-bot"></i>
<i :class="{'icon-top':true,'bright':zyRankInit == 1}"></i>
<i :class="{'icon-bot':true,'bright':zyRankInit == 2}"></i>
</span>
</li>
<li class="single rank-2">
<li
:class="{'act':zyRankInit == 3 ||zyRankInit == 4}"
@click="changezyRankInit('jg')"
>
价格
<span>
<i class="icon-top"></i>
<i class="icon-bot"></i>
<i :class="{'icon-top':true,'bright':zyRankInit == 3}"></i>
<i :class="{'icon-bot':true,'bright':zyRankInit == 4}"></i>
</span>
</li>
</ul>
</div>
<div class="sift-box self-sift" v-show="zyFilter">
<dl class="sift-class">
<dt>
分类筛选
<i class="icon iconfont icon-xiangxia"></i>
</dt>
<dd class="list-single">
<span class="shuzu" style="display: :none"></span>
<ul class="clr sift-ul">
<li>
<i class="fr iconfont icon-gou1"></i>
<span>贴片电容</span>
</li>
<div class="sift-box" v-show="zyFilter">
<dl :class="{'p_act': zyFilterInit == 0}">
<dt @click="changeZyFilterInit(0)">{{classFilter}}</dt>
<dd :style="{'display':zyFilterInit == 0?'block':'none'}">
<ul class="clr">
<template v-if="zyFilterData.class_id2">
<li
v-for="(v,k) in zyFilterData.class_id2"
@click="addFilterData(k,'class_id2')"
:class="{'check':v.check}"
>
<span>{{v.name}}</span>
</li>
</template>
</ul>
<div class="button">
<a href="#" class="but font cancel">重置</a>
<a href="#" class="but-blue confirm">确定</a>
<a class="cancel" @click="reset('class_id2')">重置</a>
<a class="confirm" @click="addPostData('class_id2')">确定</a>
</div>
</dd>
</dl>
<dl class="sift-brand">
<dt>
制造商
<i class="icon iconfont icon-xiangxia"></i>
</dt>
<dd class="list-single">
<span class="shuzu" style="display: :none"></span>
<ul class="clr sift-ul">
<li>
<i class="fr iconfont icon-gou1"></i>
<span>YAGEO(国巨)</span>
</li>
<dl :class="{'p_act': zyFilterInit == 1}">
<dt @click="changeZyFilterInit(1)">{{brand}}</dt>
<dd :style="{'display':zyFilterInit == 1?'block':'none'}">
<ul class="clr">
<template v-if="zyFilterData.brand_id">
<li
v-for="(v,k) in zyFilterData.brand_id"
@click="addFilterData(k,'brand_id')"
:class="{'check':v.check}"
>
<span>{{v.name}}</span>
</li>
</template>
</ul>
<div class="button">
<a href="#" class="cancel">重置</a>
<a href="#" class="confirm">确定</a>
<a class="cancel" @click="reset('brand_id')">重置</a>
<a class="confirm" @click="addPostData('brand_id')">确定</a>
</div>
</dd>
</dl>
<dl class="sift-encap">
<dt>
封装规格
<i class="icon iconfont icon-xiangxia"></i>
</dt>
<dd class="list-single">
<span class="shuzu" style="display: :none"></span>
<ul class="clr sift-ul">
<li>
<i class="fr iconfont icon-gou1"></i>
<span>0805</span>
</li>
<dl :class="{'p_act': zyFilterInit == 2}">
<dt @click="changeZyFilterInit(2)">{{encap}}</dt>
<dd :style="{'display':zyFilterInit == 2?'block':'none'}">
<ul class="clr">
<template v-if="zyFilterData.encap">
<li
v-for="(v,k) in zyFilterData.encap"
@click="addFilterData(k,'encap')"
:class="{'check':v.check}"
>
<span>{{v.name}}</span>
</li>
</template>
</ul>
<div class="button">
<a href="#" class="but font cancel">重置</a>
<a href="#" class="but-blue confirm">确定</a>
<a class="cancel" @click="reset('encap')">重置</a>
<a class="confirm" @click="addPostData('encap')">>确定</a>
</div>
</dd>
</dl>
<dl class="sift-packing">
<dt>
包装筛选
<i class="icon iconfont icon-xiangxia"></i>
</dt>
<dd class="list-single">
<span class="shuzu" style="display: :none"></span>
<ul class="clr sift-ul">
<li>
<i class="fr iconfont icon-gou1"></i>
<span>圆盘</span>
</li>
<dl :class="{'p_act': zyFilterInit == 3}">
<dt @click="changeZyFilterInit(3)">{{packing}}</dt>
<dd :style="{'display':zyFilterInit == 3?'block':'none'}">
<ul class="clr">
<template v-if="zyFilterData.packing">
<li
v-for="(v,k) in zyFilterData.packing"
@click="addFilterData(k,'packing')"
:class="{'check':v.check}"
>
<span>{{v.name}}</span>
</li>
</template>
</ul>
<div class="button">
<a href="#" class="but font cancel">重置</a>
<a href="#" class="but-blue confirm">确定</a>
<a class="cancel" @click="reset('packing')">重置</a>
<a class="confirm" @click="addPostData('packing')">确定</a>
</div>
</dd>
</dl>
......@@ -206,33 +216,171 @@ export default {
return {
goodsName: "",
initTab: 0,
zyFilterInit: 0,
zyRankInit: 0 //0综合 1库存多到少 2//库存少到多 3//价格高到低 4//价格低到高
zyFilterInit: -1,
zyRankInit: 0, //0综合 1库存多到少 2//库存少到多 3//价格高到低 4//价格低到高
classFilter: "分类筛选",
brand: "制造商",
encap: "封装规格",
packing: "包装筛选",
classArr: [],
brandArr: [],
encapArr: [],
packingArr: [],
classStr: "",
brandStr: "",
encapStr: "",
packingStr: "",
paramsData: {}
};
},
created() {
let goodsName = decodeURIComponent(this.$route.query.k);
document.title = goodsName + "采购_猎芯网最新报价";
this.goodsName = goodsName;
this.$store.dispatch({
type: "getZyData"
});
this.paramsData = { p: 2, "goods_name/condition": this.goodsName };
this.getZyData();
},
computed: {
...mapState({
zyOrly: state => state.searchlist.zyOrly,
zyFilter: state => state.searchlist.zyFilter,
zyRank: state => state.searchlist.zyRank
zyRank: state => state.searchlist.zyRank,
zyFilterData: state => state.searchlist.zyFilterData
})
},
watch: {
zyOrly(now) {
this.initTab = now;
},
zyRankInit(now) {
this.paramsData = { p: 2, "goods_name/condition": this.goodsName };
if (now == 0) {
this.paramsData.com_rank = 1;
} else if (now == 1) {
this.paramsData.stock_rank = 2;
} else if (now == 2) {
this.paramsData.stock_rank = 1;
} else if (now == 3) {
this.paramsData.single_rank = 1;
} else if (now == 4) {
this.paramsData.single_rank = 2;
}
}
},
methods: {
getZyData(params) {
// if (this.classStr) {
// this.params["class_id2/condition"] = this.classStr;
// } else {
// delete this.params["class_id2/condition"];
// }
// if (this.brandStr) {
// this.params["brand_id/condition"] = this.brandStr;
// } else {
// delete this.params["class_id2/condition"];
// }
// if (this.encapStr) {
// this.params["encap/condition"] = this.encapStr;
// } else {
// delete this.params["encap/condition"];
// }
// if (this.packingStr) {
// this.params["packing/condition"] = this.packingStr;
// } else {
// delete this.params["packing/condition"];
// }
console.log(this.paramsData)
this.$store.dispatch({
type: "getZyData",
data: {
params: this.paramsData
}
});
},
changeInitTab(i) {
this.initTab = i;
},
changezyRankInit(i) {
if (i == "kc") {
if (this.zyRankInit == 1) {
this.zyRankInit = 2;
} else {
this.zyRankInit = 1;
}
} else if (i == "jg") {
if (this.zyRankInit == 3) {
this.zyRankInit = 4;
} else {
this.zyRankInit = 3;
}
} else {
this.zyRankInit = i;
}
},
changeZyFilterInit(i) {
if (this.zyFilterInit == i) {
this.zyFilterInit = -1;
} else {
this.zyFilterInit = i;
}
},
addFilterData(k, type) {
let isChecked = false;
let arr = [];
let id = this.zyFilterData[type][k].id;
if (!this.zyFilterData[type][k].check) {
isChecked = true;
this.$set(this.zyFilterData[type][k], "check", true);
} else {
isChecked = false;
this.$set(this.zyFilterData[type][k], "check", false);
}
if (type == "class_id2") {
arr = this.classArr;
} else if (type == "brand_id") {
arr = this.brandArr;
} else if (type == "encap") {
arr = this.encapArr;
} else if (type == "packing") {
arr = this.packingArr;
}
if (isChecked) {
arr.push(id);
} else {
let idIndex = arr.indexOf(id);
arr.splice(idIndex, 1);
}
},
reset(type) {
//重置筛选数据
let arr = [];
for (let i = 0; i < this.zyFilterData[type].length; i++) {
this.$set(this.zyFilterData[type][i], "check", false);
}
if (type == "class_id2") {
arr = this.classArr;
} else if (type == "brand_id") {
arr = this.brandArr;
} else if (type == "encap") {
arr = this.encapArr;
} else if (type == "packing") {
arr = his.packingAr;
}
arr = [];
},
addPostData(type) {
//添加筛选数据
this.zyFilterInit = -1;
if (type == "class_id2") {
this.classStr = this.classArr.join();
} else if (type == "brand_id") {
this.brandStr = this.brandArr.join();
} else if (type == "encap") {
this.encapStr = this.encapArr.join();
} else if (type == "packing") {
this.packingStr = this.packingArr.join();
}
this.getZyData();
}
}
};
......@@ -457,6 +605,10 @@ export default {
padding: 0 10px;
height: 32px;
line-height: 32px;
&.check {
border: 1px solid #1080d0;
color: #1080d0;
}
}
}
.button {
......
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:10px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}.search-list{border-top:1px solid transparent}.search-list,.search-list *{-webkit-box-sizing:border-box;box-sizing:border-box}.search-list .search-list-header{position:fixed;z-index:10;top:0;left:0;right:0;height:44px;border-bottom:1px solid #b2b1b2!important;background:#f3f3f3}.search-list .search-list-header .icon-xiangzuo{font-size:18px;color:#666;padding:12px 11px}.search-list .search-list-header .search{position:absolute;left:40px;right:40px;background:#fff;height:30px;margin:7px 0;border-radius:15px;padding:5px 10px 5px 30px}.search-list .search-list-header .search .van-icon{position:absolute;left:10px;height:20px;line-height:21px}.search-list .search-list-header .search .van-cell{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0;line-height:21px;font-size:12px;color:#333}.search-list .search-list-header .menu{top:12px}.search-list .search-cont{padding-top:44px}.search-list .search-cont .search-tab{background-color:#fff;font-size:15px;font-weight:400;height:44px;position:relative;overflow:hidden;width:100%;table-layout:fixed;border-bottom:1px solid #d6d7dc;padding:0 2%}.search-list .search-cont .search-tab:before{content:"|";color:#999;position:absolute;left:50%;line-height:42px}.search-list .search-cont .search-tab li{width:30%;margin:0 10%;float:left;color:#666;font-size:16px;line-height:41px;border:none;text-align:center}.search-list .search-cont .search-tab li:last-child{border-right:0}.search-list .search-cont .search-tab li.act{border-bottom:2px solid #1080d0;color:#1080d0;background:none}.search-list .search-sift{width:100%;position:relative}.search-list .search-sift .title-cut{padding:0 10px;font-size:14px;overflow:hidden;height:40px;line-height:40px;border-bottom:1px solid #d6d7dc;background-color:#fff}.search-list .search-sift .title-cut p{color:#999}.search-list .search-sift .title-cut p.act i.icon-xuanzhongqian{color:#1080d0}.search-list .search-sift .title-cut p i{margin-right:5px;font-size:15px;display:inline-block;vertical-align:sub}.search-list .search-sift .title-cut p .font{color:#333}.search-list .search-sift .title-cut li{float:left;margin-right:.96rem}.search-list .search-sift .title-cut li.act{color:#1080d0}.search-list .search-sift .title-cut li span{display:block;float:right;position:relative;width:10px;height:20px;left:5px;top:10px}.search-list .search-sift .title-cut li span i{position:absolute;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-width:5px 4px}.search-list .search-sift .title-cut li span i.icon-top{top:-1px;right:0;border-bottom-color:#666}.search-list .search-sift .title-cut li span i.icon-top.bright{border-bottom-color:#1080d0}.search-list .search-sift .title-cut li span i.icon-bot{top:11px;right:0;border-top-color:#666}.search-list .search-sift .title-cut li span i.icon-bot.bright{border-top-color:#1080d0}.search-list .search-sift .sift-box{position:relative;padding-top:5px;padding-left:2.5%;height:40px;line-height:40px;border-bottom:1px solid #d6d7dc;background-color:#fff}.search-list .search-sift .sift-box dl{float:left;width:22.5%;margin-right:2.5%;height:35px}.search-list .search-sift .sift-box dl.p_act{border:1px solid #d6d7dc;border-bottom:none}.search-list .search-sift .sift-box dl.p_act dt{background:#fff;height:34px;line-height:28px;border-bottom:1px solid #fff}.search-list .search-sift .sift-box dl dt{text-align:center;font-size:12px;height:30px;line-height:30px;background:#f3f3f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px}.search-list .search-sift .sift-box dl dt i{font-size:12px;margin-left:5px}.search-list .search-sift .sift-box dl dd{display:none;position:absolute;top:40px;left:0;width:100%;bottom:140px;z-index:3}.search-list .search-sift .sift-box dl dd ul{background:#fff;padding-bottom:3px;height:200px;overflow-x:auto}.search-list .search-sift .sift-box dl dd ul li{width:46%;float:left;color:#333;font-size:14px;margin:0 2%;border:1px solid #fff;margin-top:3px;padding:0 10px;height:32px;line-height:32px}.search-list .search-sift .sift-box dl dd .button{border-top:1px solid #d6d7dc;height:40px;line-height:40px;background:#fff;-webkit-box-shadow:0 2px 5px #eee;box-shadow:0 2px 5px #eee}.search-list .search-sift .sift-box dl dd .button a{width:50%;font-size:14px;height:39px;line-height:39px;display:block;float:left;text-align:center}.search-list .search-sift .sift-box dl dd .button a.cancel{color:#333;border-radius:5px}.search-list .search-sift .sift-box dl dd .button a.confirm{background:#1080d0;color:#fff;text-decoration:none;border:none}
\ No newline at end of file
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:10px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}.search-list{border-top:1px solid transparent}.search-list,.search-list *{-webkit-box-sizing:border-box;box-sizing:border-box}.search-list .search-list-header{position:fixed;z-index:10;top:0;left:0;right:0;height:44px;border-bottom:1px solid #b2b1b2!important;background:#f3f3f3}.search-list .search-list-header .icon-xiangzuo{font-size:18px;color:#666;padding:12px 11px}.search-list .search-list-header .search{position:absolute;left:40px;right:40px;background:#fff;height:30px;margin:7px 0;border-radius:15px;padding:5px 10px 5px 30px}.search-list .search-list-header .search .van-icon{position:absolute;left:10px;height:20px;line-height:21px}.search-list .search-list-header .search .van-cell{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0;line-height:21px;font-size:12px;color:#333}.search-list .search-list-header .menu{top:12px}.search-list .search-cont{padding-top:44px}.search-list .search-cont .search-tab{background-color:#fff;font-size:15px;font-weight:400;height:44px;position:relative;overflow:hidden;width:100%;table-layout:fixed;border-bottom:1px solid #d6d7dc;padding:0 2%}.search-list .search-cont .search-tab:before{content:"|";color:#999;position:absolute;left:50%;line-height:42px}.search-list .search-cont .search-tab li{width:30%;margin:0 10%;float:left;color:#666;font-size:16px;line-height:41px;border:none;text-align:center}.search-list .search-cont .search-tab li:last-child{border-right:0}.search-list .search-cont .search-tab li.act{border-bottom:2px solid #1080d0;color:#1080d0;background:none}.search-list .search-sift{width:100%;position:relative}.search-list .search-sift .title-cut{padding:0 10px;font-size:14px;overflow:hidden;height:40px;line-height:40px;border-bottom:1px solid #d6d7dc;background-color:#fff}.search-list .search-sift .title-cut p{color:#999}.search-list .search-sift .title-cut p.act i.icon-xuanzhongqian{color:#1080d0}.search-list .search-sift .title-cut p i{margin-right:5px;font-size:15px;display:inline-block;vertical-align:sub}.search-list .search-sift .title-cut p .font{color:#333}.search-list .search-sift .title-cut li{float:left;margin-right:.96rem}.search-list .search-sift .title-cut li.act{color:#1080d0}.search-list .search-sift .title-cut li span{display:block;float:right;position:relative;width:10px;height:20px;left:5px;top:10px}.search-list .search-sift .title-cut li span i{position:absolute;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-width:5px 4px}.search-list .search-sift .title-cut li span i.icon-top{top:-1px;right:0;border-bottom-color:#666}.search-list .search-sift .title-cut li span i.icon-top.bright{border-bottom-color:#1080d0}.search-list .search-sift .title-cut li span i.icon-bot{top:11px;right:0;border-top-color:#666}.search-list .search-sift .title-cut li span i.icon-bot.bright{border-top-color:#1080d0}.search-list .search-sift .sift-box{position:relative;padding-top:5px;padding-left:2.5%;height:40px;line-height:40px;border-bottom:1px solid #d6d7dc;background-color:#fff}.search-list .search-sift .sift-box dl{float:left;width:22.5%;margin-right:2.5%;height:35px}.search-list .search-sift .sift-box dl.p_act{border:1px solid #d6d7dc;border-bottom:none}.search-list .search-sift .sift-box dl.p_act dt{background:#fff;height:34px;line-height:28px;border-bottom:1px solid #fff}.search-list .search-sift .sift-box dl dt{text-align:center;font-size:12px;height:30px;line-height:30px;background:#f3f3f3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px}.search-list .search-sift .sift-box dl dt i{font-size:12px;margin-left:5px}.search-list .search-sift .sift-box dl dd{display:none;position:absolute;top:40px;left:0;width:100%;bottom:140px;z-index:3}.search-list .search-sift .sift-box dl dd ul{background:#fff;padding-bottom:3px;height:200px;overflow-x:auto}.search-list .search-sift .sift-box dl dd ul li{width:46%;float:left;color:#333;font-size:14px;margin:0 2%;border:1px solid #fff;margin-top:3px;padding:0 10px;height:32px;line-height:32px}.search-list .search-sift .sift-box dl dd ul li.check{border:1px solid #1080d0;color:#1080d0}.search-list .search-sift .sift-box dl dd .button{border-top:1px solid #d6d7dc;height:40px;line-height:40px;background:#fff;-webkit-box-shadow:0 2px 5px #eee;box-shadow:0 2px 5px #eee}.search-list .search-sift .sift-box dl dd .button a{width:50%;font-size:14px;height:39px;line-height:39px;display:block;float:left;text-align:center}.search-list .search-sift .sift-box dl dd .button a.cancel{color:#333;border-radius:5px}.search-list .search-sift .sift-box dl dd .button a.confirm{background:#1080d0;color:#fff;text-decoration:none;border:none}
\ No newline at end of file
<!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-12fa088d.af566868.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1433552d.d1368d40.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-178fc040.398c037f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1acedf28.16c2a686.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2270c3f3.6c7ec024.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-33b3c771.33dc63c8.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-33c6c73c.2f69d6fc.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-39df84b0.c0f345b7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-49cd095b.500818db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4ae3e765.bcecf0d4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5a11c6eb.045485d7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-720da9ec.5ae39b63.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-73b3e1a8.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9f633194.42743190.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ac3e3c56.b3348642.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-12fa088d.6d86713a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1433552d.0a222ef5.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-178fc040.e571dbf6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1acedf28.b5b2248f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2270c3f3.359bd554.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-33b3c771.c4694d3b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-33c6c73c.bcf0954a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-39df84b0.5774d5ad.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-49cd095b.03363915.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4ae3e765.2a9a5999.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5a11c6eb.b643cbb0.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-720da9ec.43a7ce12.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-73b3e1a8.85ce7648.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9f633194.a342f0aa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ac3e3c56.ec03c4b0.js rel=prefetch><link href=//h5static.ichunt.com/css/app.b0927897.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.4a9b0375.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.98ff748b.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.0f3ebbbe.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.4a9b0375.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.b0927897.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-12fa088d.af566868.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1433552d.31d0ed91.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-178fc040.398c037f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1acedf28.16c2a686.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2270c3f3.6c7ec024.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-33b3c771.33dc63c8.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-33c6c73c.2f69d6fc.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-39df84b0.c0f345b7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-49cd095b.500818db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4ae3e765.bcecf0d4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5a11c6eb.045485d7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-720da9ec.5ae39b63.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-73b3e1a8.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9f633194.42743190.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ac3e3c56.b3348642.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-12fa088d.6d86713a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1433552d.4ce0a292.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-178fc040.e571dbf6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1acedf28.b5b2248f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2270c3f3.359bd554.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-33b3c771.c4694d3b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-33c6c73c.bcf0954a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-39df84b0.5774d5ad.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-49cd095b.03363915.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4ae3e765.2a9a5999.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5a11c6eb.b643cbb0.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-720da9ec.43a7ce12.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-73b3e1a8.85ce7648.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9f633194.a342f0aa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ac3e3c56.ec03c4b0.js rel=prefetch><link href=//h5static.ichunt.com/css/app.b0927897.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.4a9b0375.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.438c1d90.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.0f3ebbbe.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.4a9b0375.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.b0927897.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.0f3ebbbe.js></script><script src=//h5static.ichunt.com/js/app.98ff748b.js></script></body></html>
\ No newline at end of file
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.0f3ebbbe.js></script><script src=//h5static.ichunt.com/js/app.438c1d90.js></script></body></html>
\ No newline at end of file
(function(t){function e(e){for(var a,i,r=e[0],s=e[1],u=e[2],d=0,l=[];d<r.length;d++)i=r[d],o[i]&&l.push(o[i][0]),o[i]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);f&&f(e);while(l.length)l.shift()();return c.push.apply(c,u||[]),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=s(s.s=n[0]))}return t}var a={},i={app:0},o={app:0},c=[];function r(t){return s.p+"js/"+({}[t]||t)+"."+{"chunk-12fa088d":"6d86713a","chunk-1433552d":"0a222ef5","chunk-178fc040":"e571dbf6","chunk-1acedf28":"b5b2248f","chunk-2270c3f3":"359bd554","chunk-33b3c771":"c4694d3b","chunk-33c6c73c":"bcf0954a","chunk-39df84b0":"5774d5ad","chunk-49cd095b":"03363915","chunk-4ae3e765":"2a9a5999","chunk-5a11c6eb":"b643cbb0","chunk-720da9ec":"43a7ce12","chunk-73b3e1a8":"85ce7648","chunk-9f633194":"a342f0aa","chunk-ac3e3c56":"ec03c4b0"}[t]+".js"}function s(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,s),n.l=!0,n.exports}s.e=function(t){var e=[],n={"chunk-12fa088d":1,"chunk-1433552d":1,"chunk-178fc040":1,"chunk-1acedf28":1,"chunk-2270c3f3":1,"chunk-33b3c771":1,"chunk-33c6c73c":1,"chunk-39df84b0":1,"chunk-49cd095b":1,"chunk-4ae3e765":1,"chunk-5a11c6eb":1,"chunk-720da9ec":1,"chunk-73b3e1a8":1,"chunk-9f633194":1,"chunk-ac3e3c56":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-12fa088d":"af566868","chunk-1433552d":"d1368d40","chunk-178fc040":"398c037f","chunk-1acedf28":"16c2a686","chunk-2270c3f3":"6c7ec024","chunk-33b3c771":"33dc63c8","chunk-33c6c73c":"2f69d6fc","chunk-39df84b0":"c0f345b7","chunk-49cd095b":"500818db","chunk-4ae3e765":"bcecf0d4","chunk-5a11c6eb":"045485d7","chunk-720da9ec":"5ae39b63","chunk-73b3e1a8":"d7e46390","chunk-9f633194":"42743190","chunk-ac3e3c56":"b3348642"}[t]+".css",o=s.p+a,c=document.getElementsByTagName("link"),r=0;r<c.length;r++){var u=c[r],d=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(d===a||d===o))return e()}var l=document.getElementsByTagName("style");for(r=0;r<l.length;r++){u=l[r],d=u.getAttribute("data-href");if(d===a||d===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.code="CSS_CHUNK_LOAD_FAILED",c.request=a,delete i[t],f.parentNode.removeChild(f),n(c)},f.href=o;var h=document.getElementsByTagName("head")[0];h.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 u,d=document.createElement("script");d.charset="utf-8",d.timeout=120,s.nc&&d.setAttribute("nonce",s.nc),d.src=r(t),u=function(e){d.onerror=d.onload=null,clearTimeout(l);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 l=setTimeout(function(){u({type:"timeout",target:d})},12e4);d.onerror=d.onload=u,document.head.appendChild(d)}return Promise.all(e)},s.m=t,s.c=a,s.d=function(t,e,n){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)s.d(n,a,function(e){return t[e]}.bind(null,a));return n},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="//h5static.ichunt.com/",s.oe=function(t){throw t};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],d=u.push.bind(u);u.push=e,u=u.slice();for(var l=0;l<u.length;l++)e(u[l]);var f=d;c.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"365c":function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return p});var a,i,o,c,r,s=n("3f47"),u=n("7f43"),d=n.n(u);switch(window.location.hostname){case"m.ichunt.com":o="https://www.ichunt.com/v3/",i="https://m.ichunt.com/v3/",a="https://api.ichunt.com/",c="https://so12.ichunt.com",r="https://so12.ichunt.com";break;case"szm.ichunt.com":a="https://szapi.ichunt.com/",i="https://szm.ichunt.com/v3/",o="https://sz.ichunt.com/v3/",c="https://tso.ichunt.com",r="https://szso.ichunt.com";break;case"tm.ichunt.com":i="https://tm.ichunt.com/v3/",a="https://api.ichunt.com/",o="https://t.ichunt.com/v3/",c="https://tso.ichunt.com",r="https://szso.ichunt.com";break;case"m.liexin.com":i="http://m.liexin.com/v3/",a="http://api.liexin.com/",o="http://www.liexin.com/v3/",c="https://tso.ichunt.com",r="https://szso.ichunt.com";break;default:i="/m/v3/",a="/apis/"}var l=o,f=i,h=a,m={index:f+"index",loginCheck:h+"login/check",cartCount:h+"cart/count",customsrService:h+"public/customsrservice",getCommonParams:f+"getcommonparams",wxaccess:f+"api/wxaccess",checkAccountExists:h+"public/checkAccountExists",customSmsVerify:h+"public/customSmsVerify",chainFind:f+"Service/chainFind",wechatArticle:h+"Wechat/WechatArticleJinJi/article",newsArticle:h+"Article/Article/index",newsArticleDetail:h+"Article/Article/details",newsArticleDetailAd:f+"api/newsdetailad",actionLogin:h+"login/action",smsVerify:h+"public/smsVerify",feedback:h+"help/help/feedback",getUserCurrentPoint:h+"/point/getUserCurrentPoint",isSignInToday:h+"signIn/isSignInToday",signIn:h+"signIn/signIn",checkMktScore:h+"user/checkMktScore",getPointPrize:h+"point/getPointPrize",exchangePrize:h+"point/exchangePrize",getUserPointExchangeDetail:h+"point/getUserPointExchangeDetail",recvlist:h+"address/recvlist",pointruleApi:f+"api/pointrule",getUserPointDetail:h+"point/getUserPointDetail",getUserPointExchangeList:h+"point/getUserPointExchangeList",getHotGoods:f+"api/hotGoods",searchZy:c+"/search/ZiYing/index",searchLy:r+"/search/getData/index",searchLyEs:r+"/search/es/index"},p={index:function(t){return d.a.post(m.index,t)},loginCheck:function(t){return d.a.get(m.loginCheck,{params:Object(s["a"])({},t)})},smsVerify:function(t){return d.a.post(m.smsVerify,t)},actionLogin:function(t){return d.a.post(m.actionLogin,t)},feedback:function(t){return d.a.post(m.feedback,t)},cartCount:function(t){return d.a.get(m.cartCount,{params:Object(s["a"])({},t)})},customsrService:function(t){return d.a.get(m.customsrService,{params:Object(s["a"])({},t)})},getCommonParams:function(t){return d.a.post(m.getCommonParams,t)},wxaccess:function(t){return d.a.post(m.wxaccess,t)},checkAccountExists:function(t){return d.a.post(m.checkAccountExists,t)},customSmsVerify:function(t){return d.a.post(m.customSmsVerify,t)},chainFind:function(t){return d.a.post(m.chainFind,t)},wechatArticle:function(t){return d.a.post(m.wechatArticle,t)},newsArticle:function(t){return d.a.post(m.newsArticle,t)},newsArticleDetail:function(t){return d.a.post(m.newsArticleDetail,t)},newsArticleDetailAd:function(t){return d.a.post(m.newsArticleDetailAd,t)},getUserCurrentPoint:function(t){return d.a.post(m.getUserCurrentPoint,t)},isSignInToday:function(t){return d.a.post(m.isSignInToday,t)},signIn:function(t){return d.a.post(m.signIn,t)},checkMktScore:function(t){return d.a.post(m.checkMktScore,t)},getPointPrize:function(t){return d.a.post(m.getPointPrize,t)},exchangePrize:function(t){return d.a.post(m.exchangePrize,t)},recvlist:function(t){return d.a.post(m.recvlist,t)},getUserPointExchangeDetail:function(t){return d.a.post(m.getUserPointExchangeDetail,t)},pointruleApi:function(t){return d.a.post(m.pointruleApi,t)},getUserPointDetail:function(t){return d.a.post(m.getUserPointDetail,t)},getUserPointExchangeList:function(t){return d.a.post(m.getUserPointExchangeList,t)},getHotGoodsList:function(t){return d.a.post(m.getHotGoods,t)},getZyData:function(t){return d.a.post(m.searchZy,t)},getLyData:function(t){return d.a.post(m.searchLy,t)},getLyEsData:function(t){return d.a.post(m.searchLyEs,t)}}},4260:function(t,e,n){"use strict";n("f91a"),n("ab56");var a=n("997e"),i=n.n(a),o=(n("612f"),n("208e")),c=n.n(o),r=(n("ea65"),0),s=8;function u(t){return g(d(p(t),t.length*s))}function d(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,s=0;s<t.length;s+=16){for(var u=a,d=i,p=o,g=c,v=r,b=0;b<80;b++){n[b]=b<16?t[s+b]:m(n[b-3]^n[b-8]^n[b-14]^n[b-16],1);var y=h(h(m(a,5),l(b,i,o,c)),h(h(r,n[b]),f(b)));r=c,c=o,o=m(i,30),i=a,a=y}a=h(a,u),i=h(i,d),o=h(o,p),c=h(c,g),r=h(r,v)}return Array(a,i,o,c,r)}function l(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 f(t){return t<20?1518500249:t<40?1859775393:t<60?-1894007588:-899497514}function h(t,e){var n=(65535&t)+(65535&e),a=(t>>16)+(e>>16)+(n>>16);return a<<16|65535&n}function m(t,e){return t<<e|t>>>32-e}function p(t){for(var e=Array(),n=(1<<s)-1,a=0;a<t.length*s;a+=s)e[a>>5]|=(t.charCodeAt(a/s)&n)<<24-a%32;return e}function g(t){for(var e=r?"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 v=n("fed1");e["a"]={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*1e3),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()/1e3);else{a=Math.floor((new Date).getTime()/1e3)+window.fwtimes;this.setCookie("cache_time",window.fwtimes,1,window.cookieHostname)}var o=[],r={},s="",d="",l="",f={pf:2,qwertyuiop:a,Yo4teW_gid:e},h=c()({},f,t);i()(h).forEach(function(t,e,n){o.push(t)}),o=o.sort(),o.forEach(function(t,e,n){r[o[e]]=h[o[e]]}),i()(r).forEach(function(t,e,n){s+=t+"="+r[t]}),d=s.replace(/[^0-9a-zA-Z]/g,""),d=d.toUpperCase();for(var m=0;m<d.length;m++)"A"!=d[m]&&"B"!=d[m]&&"C"!=d[m]&&(l+=d[m]);s=u(l);var p=c()({},t,{asdfghjkl:s},{qwertyuiop:a},{pf:2});return v.stringify(p)},isLogin:function(){var t=0;return this.getCookie("Yo4teW_uid")&&(t=2,this.getCookie("Yo4teW_skey")&&(t=1)),t},loginBack:function(){},compare:function(t,e){return function(n,a){var i=n[t],o=a[t];return e?i-o:o-i}},distinct:function(t){var e,n,a=t,i=[],o=a.length;for(e=0;e<o;e++){for(n=e+1;n<o;n++)a[e]===a[n]&&(n=++e);i.push(a[e])}return i}}},"56d7":function(t,e,n){"use strict";n.r(e);var a=n("3f46"),i=n.n(a),o=n("3f47"),c=n("997e"),r=n.n(c),s=(n("612f"),n("53da"),n("40f8"),n("6e6d")),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("keep-alive",{attrs:{exclude:"newsDetail,pointchange,searchIndex"}},[n("router-view",{staticClass:"router-view"})],1)],1)},d=[],l={name:"app"},f=l,h=n("17cc"),m=Object(h["a"])(f,u,d,!1,null,null,null),p=m.exports,g=n("7f43"),v=n.n(g),b=(n("3a23"),n("1e6f")),y=function(t){return n.e("chunk-720da9ec").then(function(){var e=[n("9553")];t.apply(null,e)}.bind(this)).catch(n.oe)},_=function(t){return n.e("chunk-73b3e1a8").then(function(){var e=[n("2500")];t.apply(null,e)}.bind(this)).catch(n.oe)},k=function(t){return n.e("chunk-178fc040").then(function(){var e=[n("9055")];t.apply(null,e)}.bind(this)).catch(n.oe)},w=function(t){return n.e("chunk-39df84b0").then(function(){var e=[n("bd04")];t.apply(null,e)}.bind(this)).catch(n.oe)},x=function(t){return n.e("chunk-4ae3e765").then(function(){var e=[n("2536")];t.apply(null,e)}.bind(this)).catch(n.oe)},C=function(t){return n.e("chunk-5a11c6eb").then(function(){var e=[n("832f")];t.apply(null,e)}.bind(this)).catch(n.oe)},S=function(t){return n.e("chunk-33b3c771").then(function(){var e=[n("f825")];t.apply(null,e)}.bind(this)).catch(n.oe)},P=function(t){return n.e("chunk-1acedf28").then(function(){var e=[n("9c63")];t.apply(null,e)}.bind(this)).catch(n.oe)},j=function(t){return n.e("chunk-ac3e3c56").then(function(){var e=[n("c46d")];t.apply(null,e)}.bind(this)).catch(n.oe)},A=function(t){return n.e("chunk-9f633194").then(function(){var e=[n("ca8b")];t.apply(null,e)}.bind(this)).catch(n.oe)},D=function(t){return n.e("chunk-2270c3f3").then(function(){var e=[n("4835")];t.apply(null,e)}.bind(this)).catch(n.oe)},L=function(t){return n.e("chunk-49cd095b").then(function(){var e=[n("0224")];t.apply(null,e)}.bind(this)).catch(n.oe)},z=function(t){return n.e("chunk-12fa088d").then(function(){var e=[n("9646")];t.apply(null,e)}.bind(this)).catch(n.oe)},O=function(t){return n.e("chunk-33c6c73c").then(function(){var e=[n("6c47")];t.apply(null,e)}.bind(this)).catch(n.oe)},T=function(t){return n.e("chunk-1433552d").then(function(){var e=[n("4545")];t.apply(null,e)}.bind(this)).catch(n.oe)};s["a"].use(b["a"]);var E=[{path:"/",component:y,meta:{title:"猎芯网"}},{path:"/smt",component:_,meta:{title:"SMT打样"}},{path:"/supplier",component:k,meta:{title:"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"}},{path:"/wxlist",name:"Wxlist",component:w,meta:{title:"猎芯网"}},{path:"/news",name:"News",component:x,meta:{title:"猎芯网-新闻列表"}},{path:"/seo",name:"Seo",component:S,meta:{title:"猎芯网——京东战投元器件商城"}},{path:"/findthing",name:"Findthing",component:P,meta:{title:"猎芯网——快速找料"}},{path:"/pointmall",name:"Pointmall",component:j,meta:{title:"积分商城"}},{path:"/pointchange",name:"Pointchange",component:L,meta:{title:"兑换成功",back:!0}},{path:"/exchange",component:D,meta:{title:"兑换记录",back:!0}},{path:"/point",component:A,meta:{title:"积分明细",back:!0}},{path:"/pointrule",component:z,meta:{title:"积分规则"}},{path:"/news/detail/:art_id/:cat_id",name:"NewsDetail",component:C,meta:{title:"猎芯网-新闻详情"}},{path:"/searchIndex",component:O,meta:{title:"搜索型号"}},{path:"/searchList",component:T,meta:{title:""}},{path:"*",redirect:"/"}];E.forEach(function(t){t.path=t.path||"/"+(t.name||"")});var I=new b["a"]({routes:E}),U=n("52c1"),M=n("a4c0"),F=n("365c"),V=n("4260");s["a"].use(M["j"]);var W={index:{},loading:!0},Y={index:function(t,e){t.index=e.data}},G={index:function(t,e){var n=t.commit;W.loading=!0;var a=V["a"].getParams();F["b"].index(a).then(function(t){var e=t.data;W.loading=!1,0==e.err_code?n({type:"index",data:e.data}):2==e.err_code&&Object(M["j"])({message:"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间",duration:3e3})}).catch(function(t){W.loading=!1})}},N={},R={state:W,mutations:Y,actions:G,getters:N};s["a"].use(M["j"]);var H={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}},Z={cartCount:function(t,e){var n=t.commit;F["b"].cartCount().then(function(t){var e=t.data;0==e.err_code&&n({type:"cartCount",data:e.datacartCount})}).catch(function(t){})},loginCheck:function(t,e){var n=t.commit;F["b"].loginCheck().then(function(t){var e=t.data;n({type:"loginCheck",data:e})}).catch(function(t){})},customsrService:function(t,e){t.commit;var n={pf:window.lxpf,searchModel:""};F["b"].customsrService(n).then(function(t){}).catch(function(t){})},getCommonParams:function(t,e){var n=t.commit,a=V["a"].getParams();F["b"].getCommonParams(a).then(function(t){var e=t.data;n({type:"phpParams",data:e})}).catch(function(t){})}},B={},J={state:H,mutations:q,actions:Z,getters:B},$=n("fed1");s["a"].use(M["j"]);var K={loading:!1},Q={index:function(t,e){t.index=e.data}},X={checkAccountExists:function(t,e){t.commit;K.loading=!0;var n={pf:2,type:2,account:e.account};F["b"].checkAccountExists($.stringify(n)).then(function(t){var e=t.data;K.loading=!1,0!=e.err_code&&Object(M["j"])({message:"该手机号尚未注册,我们将为您自动生成猎芯网帐号",duration:3e3})}).catch(function(t){K.loading=!1})},customSmsVerify:function(t,e){t.commit;K.loading=!0;var n={pf:2,verify:"",mobile:e.mobile};F["b"].customSmsVerify($.stringify(n)).then(function(t){var e=t.data;K.loading=!1,0==e.err_code?Object(M["j"])({message:e.err_msg,duration:2e3}):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){K.loading=!1})},chainFind:function(t,e){t.commit;if(K.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};F["b"].chainFind($.stringify(n)).then(function(t){var n=t.data;K.loading=!1,1==n.errcode?Object(M["j"])({message:n.errmsg,duration:3e3}):2==n.errcode?(Object(M["j"])({message:"已为您自动创建的猎芯网登录账号为"+e.mobile+"请使用免密码登录",duration:3e3}),setTimeout(function(){window.location.reload()},3e3)):(Object(M["j"])({message:"您已经提交成功,我们将会在2个工作日内联系您",duration:3e3}),setTimeout(function(){window.location.reload()},3e3))}).catch(function(t){K.loading=!1,Object(M["j"])({message:"网络出现问题,请重试",duration:3e3})})}},tt={},et={state:K,mutations:Q,actions:X,getters:tt},nt=n("fed1");s["a"].use(M["j"]);var at={loadStatus:!1,wechatArticle:{},wechatArticleList:[],finished:!1,limits:1},it={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)}},ot={wechatArticle:function(t,e){var n=t.commit;at.loadStatus=!0;var a={type_id:e.type_id,page:e.page,limit:e.limit};F["b"].wechatArticle(nt.stringify(a)).then(function(t){var a=t.data;at.loadStatus=!1,0==a.err_code&&n({type:"wechatArticle",data:a.data,page:e.page,limit:e.limit})}).catch(function(t){at.loadStatus=!1})}},ct={},rt={state:at,mutations:it,actions:ot,getters:ct},st=(n("b06f"),n("fed1"));s["a"].use(M["j"]);var ut={finished:!1,loadStatus:!1,cat_list:[],content_list:[],rollbanner:[],p:1,limit:10,totalLimit:0},dt={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}},lt={newsArticle:function(t,e){var n=t.commit;ut.loadStatus=!0;var a={cat_id:e.cat_id,p:e.p,limit:e.limit};ut.p=e.p,ut.limit=e.limit,F["b"].newsArticle(st.stringify(a)).then(function(t){var e=t.data;ut.loadStatus=!1,0==e.err_code&&n({type:"newsArticle",data:e.data})}).catch(function(t){ut.loadStatus=!1})}},ft={},ht={state:ut,mutations:dt,actions:lt,getters:ft},mt=n("fed1");s["a"].use(M["j"]);var pt={loadStatus:!1,newsDetailObj:{},newsDetailAd:{}},gt={newsArticleDetail:function(t,e){t.newsDetailObj=e.data},newsArticleDetailAd:function(t,e){t.newsDetailAd=e.data,V["a"].getCookie("newsdetailpop")?t.newsDetailAd.h5_news_ad_pop="":V["a"].setCookie("newsdetailpop","1",1)}},vt={newsArticleDetail:function(t,e){var n=t.commit;pt.newsDetailObj={},pt.loadStatus=!0;var a={art_id:e.art_id};F["b"].newsArticleDetail(mt.stringify(a)).then(function(t){pt.loadStatus=!1;var e=t.data;0==e.err_code&&n({type:"newsArticleDetail",data:e.data})}).catch(function(t){pt.loadStatus=!1})},newsArticleDetailAd:function(t,e){var n=t.commit,a={cat_id:e.cat_id},i=V["a"].getParams(a);F["b"].newsArticleDetailAd(i).then(function(t){var e=t.data;0==e.err_code&&n({type:"newsArticleDetailAd",data:e.data})}).catch(function(t){})}},bt={},yt={state:pt,mutations:gt,actions:vt,getters:bt},_t=n("fed1");s["a"].use(M["j"]);var kt={loading:!1,form1ImgShow:!1,form2ImgShow:!1,form1CodeStatus:!1,form2CodeStatus:!1,isRegLogin:!1},wt={smsVerify:function(t,e){}},xt={smsVerify:function(t,e){var n=t.commit;kt.form1CodeStatus=!1,kt.loading=!0;var a={mobile:e.mobile,verify:e.verify,channel:1};F["b"].smsVerify(_t.stringify(a)).then(function(t){var a=t.data;kt.loading=!1;var i="form2"==e.types?"form2":"form1";kt[i+"ImgShow"]=!1,0==a.err_code?(Object(M["j"])({message:a.err_msg,duration:2e3}),kt[i+"CodeStatus"]=!0,n({type:"smsVerify",data:a.data})):23019==a.err_code||11008==a.err_code||11011==a.err_code?(Object(M["j"])({message:a.err_msg,duration:2e3}),kt[i+"ImgShow"]=!0):Object(M["j"])({message:a.err_msg,duration:3e3})}).catch(function(t){kt.loading=!1})},actionLogin:function(t,e){var n=t.commit;kt.loading=!0,kt.isRegLogin=!1;var a={account:e.account,sms_verify:e.sms_verify};F["b"].actionLogin(_t.stringify(a)).then(function(t){var a=t.data;if(kt.loading=!1,0==a.err_code){if("form1"==e.form_name)return Object(M["j"])({message:"提交成功",duration:2e3}),void setTimeout(function(){window.location.href="/"},2e3);kt.isRegLogin=!0,n({type:"actionLogin",data:a.data})}else Object(M["j"])({message:a.err_msg,duration:3e3})}).catch(function(t){kt.loading=!1})},feedback:function(t,e){var n=t.commit;kt.loading=!0;var a={type:e.types,content:e.content,mobile:e.mobile,source:window.location.href};F["b"].feedback(_t.stringify(a)).then(function(t){var e=t.data;kt.loading=!1,0==e.err_code?(Object(M["j"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:e.data})):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){kt.loading=!1})}},Ct={},St={state:kt,mutations:wt,actions:xt,getters:Ct},Pt=n("fed1");s["a"].use(M["j"]);var jt={loading:!1,form1ImgShow:!1,form1CodeStatus:!1,isRegLogin:!1},At={},Dt={smsVerify1:function(t,e){var n=t.commit;jt.form1CodeStatus=!1,jt.loading=!0;var a={mobile:e.mobile,verify:e.verify,channel:1};F["b"].smsVerify(Pt.stringify(a)).then(function(t){var e=t.data;jt.loading=!1,jt["form1ImgShow"]=!1,0==e.err_code?(Object(M["j"])({message:e.err_msg,duration:2e3}),jt["form1CodeStatus"]=!0,n({type:"smsVerify",data:e.data})):23019==e.err_code||11008==e.err_code||11011==e.err_code?(Object(M["j"])({message:e.err_msg,duration:2e3}),jt["form1ImgShow"]=!0):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){jt.loading=!1})},actionLogin1:function(t,e){var n=t.commit;jt.loading=!0,jt.isRegLogin=!1;var a={account:e.account,sms_verify:e.sms_verify};F["b"].actionLogin(Pt.stringify(a)).then(function(t){var e=t.data;jt.loading=!1,0==e.err_code?(jt.isRegLogin=!0,n({type:"actionLogin",data:e.data})):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){jt.loading=!1})},feedback1:function(t,e){var n=t.commit;jt.loading=!0;var a={type:e.types,content:e.content,mobile:e.mobile,source:window.location.href};F["b"].feedback(Pt.stringify(a)).then(function(t){var e=t.data;jt.loading=!1,0==e.err_code?(Object(M["j"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:e.data})):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){jt.loading=!1})}},Lt={},zt={state:jt,mutations:At,actions:Dt,getters:Lt},Ot=(n("ab56"),n("f91a"),n("fed1"));s["a"].use(M["j"]);var Tt={loginUrl:"/v3/login?referer="+encodeURIComponent(window.location.href),userInfo:"",loading:!1,getUserCurrentPoint:0,isSignInToday:!1,isSignInTodayStateGo:!1,checkInfoState:!1,navlist:[],listdata:[]},Et={getPointPrize:function(t,e){var n=e.data||[];if(n.length>0){for(var a=[],i=[],o=[],c=[],r=0;r<n.length;r++)a.push(n[r]["prize_type"]),c.push(n[r]["prize_sort"]),i.push(n[r]["prize_type_text"].replace(/\s/g,""));a=V["a"].distinct(a),i=V["a"].distinct(i),c=V["a"].distinct(c);for(var s=0;s<a.length;s++)o.push({prise_type:a[s],prise_type_text:i[s],prize_sort:c[s]});o=o.sort(V["a"].compare("prise_type",1)),t.navlist=o,t.listdata=n}}},It={getPointPrize:function(t,e){var n=t.commit;Tt.loading=!0;var a={limit:1e3};F["b"].getPointPrize(Ot.stringify(a)).then(function(t){Tt.loading=!1;var e=t.data;0==e.errcode&&n({type:"getPointPrize",data:e.data.data})}).catch(function(t){Tt.loading=!1})},loginCheckp:function(t,e){t.commit;F["b"].loginCheck().then(function(t){var e=t.data;0!=e.err_code&&11030!=e.err_code||(Tt.userInfo=e.data)})},getUserCurrentPoint:function(t,e){t.commit;var n={user_id:V["a"].getCookie("Yo4teW_uid")};F["b"].getUserCurrentPoint(Ot.stringify(n)).then(function(t){var e=t.data;0==e.errcode&&(Tt.getUserCurrentPoint=e.data)})},isSignInToday:function(t,e){t.commit;F["b"].isSignInToday().then(function(t){var e=t.data;0==e.err_code&&(Tt.isSignInToday=e.data)})},signIn:function(t,e){t.commit;Tt.loading=!0,F["b"].signIn().then(function(t){Tt.loading=!1;var e=t.data;0==e.err_code&&(Tt.isSignInToday=!0,Tt.isSignInTodayStateGo=!0,Object(M["j"])({message:"签到完成,恭喜您获得100个积分!",duration:3e3}))}).catch(function(t){Tt.loading=!1})},checkMktScore:function(t,e){t.commit;Tt.loading=!0,F["b"].checkMktScore().then(function(t){Tt.loading=!1;var e=t.data;0==e.err_code&&(1==e.data?Tt.checkInfoState=!0:Tt.checkInfoState=!1)}).catch(function(t){Tt.loading=!1})},exchangePrize:function(t,e){t.commit;Tt.loading=!0;var n={user_id:V["a"].getCookie("Yo4teW_uid"),point_prize_id:e.point_prize_id};F["b"].exchangePrize(Ot.stringify(n)).then(function(t){Tt.loading=!1;var e=t.data;if(0==e.errcode){var n=e.data.point_exchange_id;window.location.href="/h5/view/#/pointchange?point_exchange_id="+n+"&prize_type="+e.data.prize_type}else Object(M["j"])({message:e.errmsg,duration:2500})}).catch(function(t){Tt.loading=!1})}},Ut={},Mt={state:Tt,mutations:Et,actions:It,getters:Ut},Ft=n("fed1");s["a"].use(M["j"]);var Vt={loading:!1,prize_info:"",prize_types:"",address_id:"",address_info:"",adressApiState:!1},Wt={},Yt={getUserPointExchangeDetail:function(t,e){t.commit;Vt.loading=!0;var n={point_exchange_id:e.point_exchange_id};F["b"].getUserPointExchangeDetail(Ft.stringify(n)).then(function(t){Vt.loading=!1;var e=t.data;0==e.errcode&&(Vt.prize_info=e.data.prize_info,Vt.prize_types=e.data.prize_info.prize_type,e.data.address_info?(Vt.address_info=e.data.address_info,Vt.address_info.point_addressp=1,Vt.address_id=e.data.prize_info.address_id):Vt.adressApiState=!0)}).catch(function(t){Vt.loading=!1})},recvlist:function(t,e){t.commit;F["b"].recvlist().then(function(t){var e=t.data;if(0==e.err_code){var n=e.data||[];if(n.length>0)for(var a=0;a<n.length;a++)1==n[a].is_default&&(Vt.address_info=n[a],Vt.address_id=n[a].address_id)}})}},Gt={},Nt={state:Vt,mutations:Wt,actions:Yt,getters:Gt};s["a"].use(M["j"]);var Rt={loading:!1,ruledata:""},Ht={},qt={pointruleApi:function(t,e){t.commit;Rt.loading=!0,F["b"].pointruleApi().then(function(t){Rt.loading=!1;var e=t.data;0==e.err_code&&(Rt.ruledata=e.data.data[0])}).catch(function(t){Rt.loading=!1})}},Zt={},Bt={state:Rt,mutations:Ht,actions:qt,getters:Zt},Jt=n("fed1");s["a"].use(M["j"]);var $t={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},Kt={getUserPointDetail:function(t,e){1==e.data.current_page?t.detaillist=e.data.data:t.detaillist=t.detaillist.concat(e.data.data),t.totalLimit=e.data.last_page,e.data.current_page>=e.data.last_page?t.finished=!0:t.finished=!1}},Qt={getUserPointDetail:function(t,e){var n=t.commit;$t.loadStatus=!0;var a={page:e.page,limit:e.limit,user_id:V["a"].getCookie("Yo4teW_uid"),flow_type:e.flow_type};1==e.page&&($t.finished=!1,$t.detaillist=[]),F["b"].getUserPointDetail(Jt.stringify(a)).then(function(t){var e=t.data;$t.loadStatus=!1,0==e.errcode&&n({type:"getUserPointDetail",data:e.data})}).catch(function(t){$t.loadStatus=!1})},getUserCurrentPointdetail:function(t,e){t.commit;var n={user_id:V["a"].getCookie("Yo4teW_uid")};F["b"].getUserCurrentPoint(Jt.stringify(n)).then(function(t){var e=t.data;0==e.errcode&&($t.getUserCurrentPoint=e.data)})}},Xt={},te={state:$t,mutations:Kt,actions:Qt,getters:Xt},ee=n("fed1");s["a"].use(M["j"]);var ne={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},ae={getUserPointExchangeList:function(t,e){1==e.data.current_page?t.detaillist=e.data.data:t.detaillist=t.detaillist.concat(e.data.data),t.totalLimit=e.data.last_page,e.data.current_page>=e.data.last_page?t.finished=!0:t.finished=!1}},ie={getUserPointExchangeList:function(t,e){var n=t.commit;ne.loadStatus=!0;var a={page:e.page,limit:e.limit,user_id:V["a"].getCookie("Yo4teW_uid"),prize_type:e.prize_type};1==e.page&&(ne.finished=!1,ne.detaillist=[]),F["b"].getUserPointExchangeList(ee.stringify(a)).then(function(t){var e=t.data;ne.loadStatus=!1,0==e.errcode&&n({type:"getUserPointExchangeList",data:e.data})}).catch(function(t){ne.loadStatus=!1})}},oe={},ce={state:ne,mutations:ae,actions:ie,getters:oe};s["a"].use(M["j"]);var re={searchHotGoods:[]},se={getSearchHotGoods:function(){var t=M["j"].loading({duration:0,forbidClick:!0,loadingType:"spinner",message:"加载中"});F["b"].getHotGoodsList().then(function(e){var n=e.data;0==n.err_code&&(t.clear(),re.searchHotGoods=n.data.data)}).catch(function(e){t.clear()})}},ue={state:re,actions:se},de=n("fed1");s["a"].use(M["j"]);var le={zyOrly:0,zyFilter:!1,zyRank:!1,zyFilterData:{}},fe={searchList:function(t,e){"filter"==e.type?(t.zyFilter=e.bool,t.zyFilterData=e.data):"rank"==e.type&&(t.zyRank=e.bool)}},he={getZyData:function(t,e){var n=t.commit,a={"goods_name/condition":"liexin",com_rank:1,p:1};F["b"].getZyData(de.stringify(a)).then(function(t){var e=t.data;0==e.error_code?(e.data.aggs&&n("searchList",{type:"filter",bool:!0,data:e.data.aggs}),0!==e.data.total&&n("searchList",{type:"rank",bool:!0,data:e.data.aggs})):le.zyOrly=1}).catch(function(t){})}},me={state:le,actions:he,mutations:fe};s["a"].use(U["a"]);var pe=new U["a"].Store({modules:{home:R,common:J,smt:et,wxlist:rt,news:ht,newsdetail:yt,seo:St,findthing:zt,pointmall:Mt,pointchange:Nt,pointrule:Bt,pointdetail:te,exchange:ce,searchindex:ue,searchlist:me}}),ge=function(t,e){var n=t;return-1==n.indexOf("ptag")&&(n=n.indexOf("?")>-1?n+"&ptag="+e:n+"?ptag="+e),n},ve=function(t){return encodeURIComponent(t)},be=function(t){return t.indexOf("?")>-1?t+"&ptag=index-dynamic":t+"?ptag=index-dynamic"},ye=function(t,e){var n=new Date(1e3*t);function a(t){return t<10&&(t="0"+t),t}var i=n.getFullYear(),o=n.getMonth()+1,c=n.getDate(),r=n.getHours(),s=n.getMinutes(),u=n.getSeconds();return i+"-"+a(o)+"-"+a(c)+" "+a(r)+":"+a(s)+":"+a(u)},_e={dateTimeFormate:ye,urlParams:be,urlPatg:ge,urlEncode:ve},ke={bind:function(t,e){t.addEventListener("click",function(){var t=document.querySelector(".container-wrap").scrollTop,e=(t/100).toFixed(0),n=setInterval(function(){t-=e,t<=0&&(t=0,clearInterval(n)),document.querySelector(".container-wrap").scrollTop=t},1)},!1)}},we={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)}},xe={install:function(t){t.directive("backTop",ke),t.directive("backTopWindow",we)}},Ce=n("897d"),Se=n.n(Ce),Pe=n("5482"),je=n.n(Pe);n("39b3"),n("bfd9");s["a"].config.productionTip=!1;var Ae="production";if("production"!=Ae)new je.a;r()(_e).forEach(function(t){return s["a"].filter(t,_e[t])}),s["a"].use(xe),s["a"].prototype.$http=v.a,v.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",v.a.defaults.withCredentials=!0,v.a.interceptors.request.use(function(t){if("post"==t.method)t.data?-1==t.data.indexOf("&pf=2")&&(t.data+="&pf="+window.lxpf):t.data="pf="+window.lxpf;else if("get"==t.method){var e=r()(t.params);e.length?-1==e.indexOf("pf")&&(t.params=Object(o["a"])({pf:window.lxpf},t.params)):t.params={pf:window.lxpf}}return t},function(t){return i.a.reject(t)});var De=V["a"].getCookie("Yo4teW_gid");if(null==De){var Le=Se()("");V["a"].setCookie("Yo4teW_gid",Le,1,window.cookieHostname)}var ze={urlhash:window.location.hash};ze=V["a"].getParams(ze),F["b"].wxaccess(ze).then(function(t){var e=t.data;0==e.err_code&&e.data&&(window.location.href=e.data)}),I.beforeEach(function(t,e,n){var a=t.meta&&t.meta.title;a&&(document.title=a);var i=t.meta.back||"";if(i){var o=!!V["a"].isLogin();o?n():window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)}else n()}),new s["a"]({router:I,store:pe,render:function(t){return t(p)}}).$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],s=e[1],u=e[2],d=0,l=[];d<r.length;d++)i=r[d],o[i]&&l.push(o[i][0]),o[i]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t[a]=s[a]);f&&f(e);while(l.length)l.shift()();return c.push.apply(c,u||[]),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=s(s.s=n[0]))}return t}var a={},i={app:0},o={app:0},c=[];function r(t){return s.p+"js/"+({}[t]||t)+"."+{"chunk-12fa088d":"6d86713a","chunk-1433552d":"4ce0a292","chunk-178fc040":"e571dbf6","chunk-1acedf28":"b5b2248f","chunk-2270c3f3":"359bd554","chunk-33b3c771":"c4694d3b","chunk-33c6c73c":"bcf0954a","chunk-39df84b0":"5774d5ad","chunk-49cd095b":"03363915","chunk-4ae3e765":"2a9a5999","chunk-5a11c6eb":"b643cbb0","chunk-720da9ec":"43a7ce12","chunk-73b3e1a8":"85ce7648","chunk-9f633194":"a342f0aa","chunk-ac3e3c56":"ec03c4b0"}[t]+".js"}function s(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,s),n.l=!0,n.exports}s.e=function(t){var e=[],n={"chunk-12fa088d":1,"chunk-1433552d":1,"chunk-178fc040":1,"chunk-1acedf28":1,"chunk-2270c3f3":1,"chunk-33b3c771":1,"chunk-33c6c73c":1,"chunk-39df84b0":1,"chunk-49cd095b":1,"chunk-4ae3e765":1,"chunk-5a11c6eb":1,"chunk-720da9ec":1,"chunk-73b3e1a8":1,"chunk-9f633194":1,"chunk-ac3e3c56":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-12fa088d":"af566868","chunk-1433552d":"31d0ed91","chunk-178fc040":"398c037f","chunk-1acedf28":"16c2a686","chunk-2270c3f3":"6c7ec024","chunk-33b3c771":"33dc63c8","chunk-33c6c73c":"2f69d6fc","chunk-39df84b0":"c0f345b7","chunk-49cd095b":"500818db","chunk-4ae3e765":"bcecf0d4","chunk-5a11c6eb":"045485d7","chunk-720da9ec":"5ae39b63","chunk-73b3e1a8":"d7e46390","chunk-9f633194":"42743190","chunk-ac3e3c56":"b3348642"}[t]+".css",o=s.p+a,c=document.getElementsByTagName("link"),r=0;r<c.length;r++){var u=c[r],d=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(d===a||d===o))return e()}var l=document.getElementsByTagName("style");for(r=0;r<l.length;r++){u=l[r],d=u.getAttribute("data-href");if(d===a||d===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.code="CSS_CHUNK_LOAD_FAILED",c.request=a,delete i[t],f.parentNode.removeChild(f),n(c)},f.href=o;var h=document.getElementsByTagName("head")[0];h.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 u,d=document.createElement("script");d.charset="utf-8",d.timeout=120,s.nc&&d.setAttribute("nonce",s.nc),d.src=r(t),u=function(e){d.onerror=d.onload=null,clearTimeout(l);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 l=setTimeout(function(){u({type:"timeout",target:d})},12e4);d.onerror=d.onload=u,document.head.appendChild(d)}return Promise.all(e)},s.m=t,s.c=a,s.d=function(t,e,n){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)s.d(n,a,function(e){return t[e]}.bind(null,a));return n},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="//h5static.ichunt.com/",s.oe=function(t){throw t};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],d=u.push.bind(u);u.push=e,u=u.slice();for(var l=0;l<u.length;l++)e(u[l]);var f=d;c.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"365c":function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return p});var a,i,o,c,r,s=n("3f47"),u=n("7f43"),d=n.n(u);switch(window.location.hostname){case"m.ichunt.com":o="https://www.ichunt.com/v3/",i="https://m.ichunt.com/v3/",a="https://api.ichunt.com/",c="https://so12.ichunt.com",r="https://so12.ichunt.com";break;case"szm.ichunt.com":a="https://szapi.ichunt.com/",i="https://szm.ichunt.com/v3/",o="https://sz.ichunt.com/v3/",c="https://tso.ichunt.com",r="https://szso.ichunt.com";break;case"tm.ichunt.com":i="https://tm.ichunt.com/v3/",a="https://api.ichunt.com/",o="https://t.ichunt.com/v3/",c="https://tso.ichunt.com",r="https://szso.ichunt.com";break;case"m.liexin.com":i="http://m.liexin.com/v3/",a="http://api.liexin.com/",o="http://www.liexin.com/v3/",c="https://tso.ichunt.com",r="https://szso.ichunt.com";break;default:i="/m/v3/",a="/apis/"}var l=o,f=i,h=a,m={index:f+"index",loginCheck:h+"login/check",cartCount:h+"cart/count",customsrService:h+"public/customsrservice",getCommonParams:f+"getcommonparams",wxaccess:f+"api/wxaccess",checkAccountExists:h+"public/checkAccountExists",customSmsVerify:h+"public/customSmsVerify",chainFind:f+"Service/chainFind",wechatArticle:h+"Wechat/WechatArticleJinJi/article",newsArticle:h+"Article/Article/index",newsArticleDetail:h+"Article/Article/details",newsArticleDetailAd:f+"api/newsdetailad",actionLogin:h+"login/action",smsVerify:h+"public/smsVerify",feedback:h+"help/help/feedback",getUserCurrentPoint:h+"/point/getUserCurrentPoint",isSignInToday:h+"signIn/isSignInToday",signIn:h+"signIn/signIn",checkMktScore:h+"user/checkMktScore",getPointPrize:h+"point/getPointPrize",exchangePrize:h+"point/exchangePrize",getUserPointExchangeDetail:h+"point/getUserPointExchangeDetail",recvlist:h+"address/recvlist",pointruleApi:f+"api/pointrule",getUserPointDetail:h+"point/getUserPointDetail",getUserPointExchangeList:h+"point/getUserPointExchangeList",getHotGoods:f+"api/hotGoods",searchZy:c+"/search/ZiYing/index",searchLy:r+"/search/getData/index",searchLyEs:r+"/search/es/index"},p={index:function(t){return d.a.post(m.index,t)},loginCheck:function(t){return d.a.get(m.loginCheck,{params:Object(s["a"])({},t)})},smsVerify:function(t){return d.a.post(m.smsVerify,t)},actionLogin:function(t){return d.a.post(m.actionLogin,t)},feedback:function(t){return d.a.post(m.feedback,t)},cartCount:function(t){return d.a.get(m.cartCount,{params:Object(s["a"])({},t)})},customsrService:function(t){return d.a.get(m.customsrService,{params:Object(s["a"])({},t)})},getCommonParams:function(t){return d.a.post(m.getCommonParams,t)},wxaccess:function(t){return d.a.post(m.wxaccess,t)},checkAccountExists:function(t){return d.a.post(m.checkAccountExists,t)},customSmsVerify:function(t){return d.a.post(m.customSmsVerify,t)},chainFind:function(t){return d.a.post(m.chainFind,t)},wechatArticle:function(t){return d.a.post(m.wechatArticle,t)},newsArticle:function(t){return d.a.post(m.newsArticle,t)},newsArticleDetail:function(t){return d.a.post(m.newsArticleDetail,t)},newsArticleDetailAd:function(t){return d.a.post(m.newsArticleDetailAd,t)},getUserCurrentPoint:function(t){return d.a.post(m.getUserCurrentPoint,t)},isSignInToday:function(t){return d.a.post(m.isSignInToday,t)},signIn:function(t){return d.a.post(m.signIn,t)},checkMktScore:function(t){return d.a.post(m.checkMktScore,t)},getPointPrize:function(t){return d.a.post(m.getPointPrize,t)},exchangePrize:function(t){return d.a.post(m.exchangePrize,t)},recvlist:function(t){return d.a.post(m.recvlist,t)},getUserPointExchangeDetail:function(t){return d.a.post(m.getUserPointExchangeDetail,t)},pointruleApi:function(t){return d.a.post(m.pointruleApi,t)},getUserPointDetail:function(t){return d.a.post(m.getUserPointDetail,t)},getUserPointExchangeList:function(t){return d.a.post(m.getUserPointExchangeList,t)},getHotGoodsList:function(t){return d.a.post(m.getHotGoods,t)},getZyData:function(t){return d.a.post(m.searchZy,t)},getLyData:function(t){return d.a.post(m.searchLy,t)},getLyEsData:function(t){return d.a.post(m.searchLyEs,t)}}},4260:function(t,e,n){"use strict";n("f91a"),n("ab56");var a=n("997e"),i=n.n(a),o=(n("612f"),n("208e")),c=n.n(o),r=(n("ea65"),0),s=8;function u(t){return g(d(p(t),t.length*s))}function d(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,s=0;s<t.length;s+=16){for(var u=a,d=i,p=o,g=c,v=r,b=0;b<80;b++){n[b]=b<16?t[s+b]:m(n[b-3]^n[b-8]^n[b-14]^n[b-16],1);var y=h(h(m(a,5),l(b,i,o,c)),h(h(r,n[b]),f(b)));r=c,c=o,o=m(i,30),i=a,a=y}a=h(a,u),i=h(i,d),o=h(o,p),c=h(c,g),r=h(r,v)}return Array(a,i,o,c,r)}function l(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 f(t){return t<20?1518500249:t<40?1859775393:t<60?-1894007588:-899497514}function h(t,e){var n=(65535&t)+(65535&e),a=(t>>16)+(e>>16)+(n>>16);return a<<16|65535&n}function m(t,e){return t<<e|t>>>32-e}function p(t){for(var e=Array(),n=(1<<s)-1,a=0;a<t.length*s;a+=s)e[a>>5]|=(t.charCodeAt(a/s)&n)<<24-a%32;return e}function g(t){for(var e=r?"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 v=n("fed1");e["a"]={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*1e3),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()/1e3);else{a=Math.floor((new Date).getTime()/1e3)+window.fwtimes;this.setCookie("cache_time",window.fwtimes,1,window.cookieHostname)}var o=[],r={},s="",d="",l="",f={pf:2,qwertyuiop:a,Yo4teW_gid:e},h=c()({},f,t);i()(h).forEach(function(t,e,n){o.push(t)}),o=o.sort(),o.forEach(function(t,e,n){r[o[e]]=h[o[e]]}),i()(r).forEach(function(t,e,n){s+=t+"="+r[t]}),d=s.replace(/[^0-9a-zA-Z]/g,""),d=d.toUpperCase();for(var m=0;m<d.length;m++)"A"!=d[m]&&"B"!=d[m]&&"C"!=d[m]&&(l+=d[m]);s=u(l);var p=c()({},t,{asdfghjkl:s},{qwertyuiop:a},{pf:2});return v.stringify(p)},isLogin:function(){var t=0;return this.getCookie("Yo4teW_uid")&&(t=2,this.getCookie("Yo4teW_skey")&&(t=1)),t},loginBack:function(){},compare:function(t,e){return function(n,a){var i=n[t],o=a[t];return e?i-o:o-i}},distinct:function(t){var e,n,a=t,i=[],o=a.length;for(e=0;e<o;e++){for(n=e+1;n<o;n++)a[e]===a[n]&&(n=++e);i.push(a[e])}return i}}},"56d7":function(t,e,n){"use strict";n.r(e);var a=n("3f46"),i=n.n(a),o=n("3f47"),c=n("997e"),r=n.n(c),s=(n("612f"),n("53da"),n("40f8"),n("6e6d")),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("keep-alive",{attrs:{exclude:"newsDetail,pointchange,searchIndex"}},[n("router-view",{staticClass:"router-view"})],1)],1)},d=[],l={name:"app"},f=l,h=n("17cc"),m=Object(h["a"])(f,u,d,!1,null,null,null),p=m.exports,g=n("7f43"),v=n.n(g),b=(n("3a23"),n("1e6f")),y=function(t){return n.e("chunk-720da9ec").then(function(){var e=[n("9553")];t.apply(null,e)}.bind(this)).catch(n.oe)},_=function(t){return n.e("chunk-73b3e1a8").then(function(){var e=[n("2500")];t.apply(null,e)}.bind(this)).catch(n.oe)},k=function(t){return n.e("chunk-178fc040").then(function(){var e=[n("9055")];t.apply(null,e)}.bind(this)).catch(n.oe)},w=function(t){return n.e("chunk-39df84b0").then(function(){var e=[n("bd04")];t.apply(null,e)}.bind(this)).catch(n.oe)},x=function(t){return n.e("chunk-4ae3e765").then(function(){var e=[n("2536")];t.apply(null,e)}.bind(this)).catch(n.oe)},C=function(t){return n.e("chunk-5a11c6eb").then(function(){var e=[n("832f")];t.apply(null,e)}.bind(this)).catch(n.oe)},S=function(t){return n.e("chunk-33b3c771").then(function(){var e=[n("f825")];t.apply(null,e)}.bind(this)).catch(n.oe)},P=function(t){return n.e("chunk-1acedf28").then(function(){var e=[n("9c63")];t.apply(null,e)}.bind(this)).catch(n.oe)},j=function(t){return n.e("chunk-ac3e3c56").then(function(){var e=[n("c46d")];t.apply(null,e)}.bind(this)).catch(n.oe)},A=function(t){return n.e("chunk-9f633194").then(function(){var e=[n("ca8b")];t.apply(null,e)}.bind(this)).catch(n.oe)},D=function(t){return n.e("chunk-2270c3f3").then(function(){var e=[n("4835")];t.apply(null,e)}.bind(this)).catch(n.oe)},L=function(t){return n.e("chunk-49cd095b").then(function(){var e=[n("0224")];t.apply(null,e)}.bind(this)).catch(n.oe)},z=function(t){return n.e("chunk-12fa088d").then(function(){var e=[n("9646")];t.apply(null,e)}.bind(this)).catch(n.oe)},O=function(t){return n.e("chunk-33c6c73c").then(function(){var e=[n("6c47")];t.apply(null,e)}.bind(this)).catch(n.oe)},T=function(t){return n.e("chunk-1433552d").then(function(){var e=[n("4545")];t.apply(null,e)}.bind(this)).catch(n.oe)};s["a"].use(b["a"]);var E=[{path:"/",component:y,meta:{title:"猎芯网"}},{path:"/smt",component:_,meta:{title:"SMT打样"}},{path:"/supplier",component:k,meta:{title:"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"}},{path:"/wxlist",name:"Wxlist",component:w,meta:{title:"猎芯网"}},{path:"/news",name:"News",component:x,meta:{title:"猎芯网-新闻列表"}},{path:"/seo",name:"Seo",component:S,meta:{title:"猎芯网——京东战投元器件商城"}},{path:"/findthing",name:"Findthing",component:P,meta:{title:"猎芯网——快速找料"}},{path:"/pointmall",name:"Pointmall",component:j,meta:{title:"积分商城"}},{path:"/pointchange",name:"Pointchange",component:L,meta:{title:"兑换成功",back:!0}},{path:"/exchange",component:D,meta:{title:"兑换记录",back:!0}},{path:"/point",component:A,meta:{title:"积分明细",back:!0}},{path:"/pointrule",component:z,meta:{title:"积分规则"}},{path:"/news/detail/:art_id/:cat_id",name:"NewsDetail",component:C,meta:{title:"猎芯网-新闻详情"}},{path:"/searchIndex",component:O,meta:{title:"搜索型号"}},{path:"/searchList",component:T,meta:{title:""}},{path:"*",redirect:"/"}];E.forEach(function(t){t.path=t.path||"/"+(t.name||"")});var I=new b["a"]({routes:E}),U=n("52c1"),M=n("a4c0"),F=n("365c"),V=n("4260");s["a"].use(M["j"]);var W={index:{},loading:!0},Y={index:function(t,e){t.index=e.data}},G={index:function(t,e){var n=t.commit;W.loading=!0;var a=V["a"].getParams();F["b"].index(a).then(function(t){var e=t.data;W.loading=!1,0==e.err_code?n({type:"index",data:e.data}):2==e.err_code&&Object(M["j"])({message:"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间",duration:3e3})}).catch(function(t){W.loading=!1})}},N={},R={state:W,mutations:Y,actions:G,getters:N};s["a"].use(M["j"]);var H={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}},Z={cartCount:function(t,e){var n=t.commit;F["b"].cartCount().then(function(t){var e=t.data;0==e.err_code&&n({type:"cartCount",data:e.datacartCount})}).catch(function(t){})},loginCheck:function(t,e){var n=t.commit;F["b"].loginCheck().then(function(t){var e=t.data;n({type:"loginCheck",data:e})}).catch(function(t){})},customsrService:function(t,e){t.commit;var n={pf:window.lxpf,searchModel:""};F["b"].customsrService(n).then(function(t){}).catch(function(t){})},getCommonParams:function(t,e){var n=t.commit,a=V["a"].getParams();F["b"].getCommonParams(a).then(function(t){var e=t.data;n({type:"phpParams",data:e})}).catch(function(t){})}},B={},J={state:H,mutations:q,actions:Z,getters:B},$=n("fed1");s["a"].use(M["j"]);var K={loading:!1},Q={index:function(t,e){t.index=e.data}},X={checkAccountExists:function(t,e){t.commit;K.loading=!0;var n={pf:2,type:2,account:e.account};F["b"].checkAccountExists($.stringify(n)).then(function(t){var e=t.data;K.loading=!1,0!=e.err_code&&Object(M["j"])({message:"该手机号尚未注册,我们将为您自动生成猎芯网帐号",duration:3e3})}).catch(function(t){K.loading=!1})},customSmsVerify:function(t,e){t.commit;K.loading=!0;var n={pf:2,verify:"",mobile:e.mobile};F["b"].customSmsVerify($.stringify(n)).then(function(t){var e=t.data;K.loading=!1,0==e.err_code?Object(M["j"])({message:e.err_msg,duration:2e3}):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){K.loading=!1})},chainFind:function(t,e){t.commit;if(K.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};F["b"].chainFind($.stringify(n)).then(function(t){var n=t.data;K.loading=!1,1==n.errcode?Object(M["j"])({message:n.errmsg,duration:3e3}):2==n.errcode?(Object(M["j"])({message:"已为您自动创建的猎芯网登录账号为"+e.mobile+"请使用免密码登录",duration:3e3}),setTimeout(function(){window.location.reload()},3e3)):(Object(M["j"])({message:"您已经提交成功,我们将会在2个工作日内联系您",duration:3e3}),setTimeout(function(){window.location.reload()},3e3))}).catch(function(t){K.loading=!1,Object(M["j"])({message:"网络出现问题,请重试",duration:3e3})})}},tt={},et={state:K,mutations:Q,actions:X,getters:tt},nt=n("fed1");s["a"].use(M["j"]);var at={loadStatus:!1,wechatArticle:{},wechatArticleList:[],finished:!1,limits:1},it={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)}},ot={wechatArticle:function(t,e){var n=t.commit;at.loadStatus=!0;var a={type_id:e.type_id,page:e.page,limit:e.limit};F["b"].wechatArticle(nt.stringify(a)).then(function(t){var a=t.data;at.loadStatus=!1,0==a.err_code&&n({type:"wechatArticle",data:a.data,page:e.page,limit:e.limit})}).catch(function(t){at.loadStatus=!1})}},ct={},rt={state:at,mutations:it,actions:ot,getters:ct},st=(n("b06f"),n("fed1"));s["a"].use(M["j"]);var ut={finished:!1,loadStatus:!1,cat_list:[],content_list:[],rollbanner:[],p:1,limit:10,totalLimit:0},dt={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}},lt={newsArticle:function(t,e){var n=t.commit;ut.loadStatus=!0;var a={cat_id:e.cat_id,p:e.p,limit:e.limit};ut.p=e.p,ut.limit=e.limit,F["b"].newsArticle(st.stringify(a)).then(function(t){var e=t.data;ut.loadStatus=!1,0==e.err_code&&n({type:"newsArticle",data:e.data})}).catch(function(t){ut.loadStatus=!1})}},ft={},ht={state:ut,mutations:dt,actions:lt,getters:ft},mt=n("fed1");s["a"].use(M["j"]);var pt={loadStatus:!1,newsDetailObj:{},newsDetailAd:{}},gt={newsArticleDetail:function(t,e){t.newsDetailObj=e.data},newsArticleDetailAd:function(t,e){t.newsDetailAd=e.data,V["a"].getCookie("newsdetailpop")?t.newsDetailAd.h5_news_ad_pop="":V["a"].setCookie("newsdetailpop","1",1)}},vt={newsArticleDetail:function(t,e){var n=t.commit;pt.newsDetailObj={},pt.loadStatus=!0;var a={art_id:e.art_id};F["b"].newsArticleDetail(mt.stringify(a)).then(function(t){pt.loadStatus=!1;var e=t.data;0==e.err_code&&n({type:"newsArticleDetail",data:e.data})}).catch(function(t){pt.loadStatus=!1})},newsArticleDetailAd:function(t,e){var n=t.commit,a={cat_id:e.cat_id},i=V["a"].getParams(a);F["b"].newsArticleDetailAd(i).then(function(t){var e=t.data;0==e.err_code&&n({type:"newsArticleDetailAd",data:e.data})}).catch(function(t){})}},bt={},yt={state:pt,mutations:gt,actions:vt,getters:bt},_t=n("fed1");s["a"].use(M["j"]);var kt={loading:!1,form1ImgShow:!1,form2ImgShow:!1,form1CodeStatus:!1,form2CodeStatus:!1,isRegLogin:!1},wt={smsVerify:function(t,e){}},xt={smsVerify:function(t,e){var n=t.commit;kt.form1CodeStatus=!1,kt.loading=!0;var a={mobile:e.mobile,verify:e.verify,channel:1};F["b"].smsVerify(_t.stringify(a)).then(function(t){var a=t.data;kt.loading=!1;var i="form2"==e.types?"form2":"form1";kt[i+"ImgShow"]=!1,0==a.err_code?(Object(M["j"])({message:a.err_msg,duration:2e3}),kt[i+"CodeStatus"]=!0,n({type:"smsVerify",data:a.data})):23019==a.err_code||11008==a.err_code||11011==a.err_code?(Object(M["j"])({message:a.err_msg,duration:2e3}),kt[i+"ImgShow"]=!0):Object(M["j"])({message:a.err_msg,duration:3e3})}).catch(function(t){kt.loading=!1})},actionLogin:function(t,e){var n=t.commit;kt.loading=!0,kt.isRegLogin=!1;var a={account:e.account,sms_verify:e.sms_verify};F["b"].actionLogin(_t.stringify(a)).then(function(t){var a=t.data;if(kt.loading=!1,0==a.err_code){if("form1"==e.form_name)return Object(M["j"])({message:"提交成功",duration:2e3}),void setTimeout(function(){window.location.href="/"},2e3);kt.isRegLogin=!0,n({type:"actionLogin",data:a.data})}else Object(M["j"])({message:a.err_msg,duration:3e3})}).catch(function(t){kt.loading=!1})},feedback:function(t,e){var n=t.commit;kt.loading=!0;var a={type:e.types,content:e.content,mobile:e.mobile,source:window.location.href};F["b"].feedback(_t.stringify(a)).then(function(t){var e=t.data;kt.loading=!1,0==e.err_code?(Object(M["j"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:e.data})):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){kt.loading=!1})}},Ct={},St={state:kt,mutations:wt,actions:xt,getters:Ct},Pt=n("fed1");s["a"].use(M["j"]);var jt={loading:!1,form1ImgShow:!1,form1CodeStatus:!1,isRegLogin:!1},At={},Dt={smsVerify1:function(t,e){var n=t.commit;jt.form1CodeStatus=!1,jt.loading=!0;var a={mobile:e.mobile,verify:e.verify,channel:1};F["b"].smsVerify(Pt.stringify(a)).then(function(t){var e=t.data;jt.loading=!1,jt["form1ImgShow"]=!1,0==e.err_code?(Object(M["j"])({message:e.err_msg,duration:2e3}),jt["form1CodeStatus"]=!0,n({type:"smsVerify",data:e.data})):23019==e.err_code||11008==e.err_code||11011==e.err_code?(Object(M["j"])({message:e.err_msg,duration:2e3}),jt["form1ImgShow"]=!0):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){jt.loading=!1})},actionLogin1:function(t,e){var n=t.commit;jt.loading=!0,jt.isRegLogin=!1;var a={account:e.account,sms_verify:e.sms_verify};F["b"].actionLogin(Pt.stringify(a)).then(function(t){var e=t.data;jt.loading=!1,0==e.err_code?(jt.isRegLogin=!0,n({type:"actionLogin",data:e.data})):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){jt.loading=!1})},feedback1:function(t,e){var n=t.commit;jt.loading=!0;var a={type:e.types,content:e.content,mobile:e.mobile,source:window.location.href};F["b"].feedback(Pt.stringify(a)).then(function(t){var e=t.data;jt.loading=!1,0==e.err_code?(Object(M["j"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:e.data})):Object(M["j"])({message:e.err_msg,duration:3e3})}).catch(function(t){jt.loading=!1})}},Lt={},zt={state:jt,mutations:At,actions:Dt,getters:Lt},Ot=(n("ab56"),n("f91a"),n("fed1"));s["a"].use(M["j"]);var Tt={loginUrl:"/v3/login?referer="+encodeURIComponent(window.location.href),userInfo:"",loading:!1,getUserCurrentPoint:0,isSignInToday:!1,isSignInTodayStateGo:!1,checkInfoState:!1,navlist:[],listdata:[]},Et={getPointPrize:function(t,e){var n=e.data||[];if(n.length>0){for(var a=[],i=[],o=[],c=[],r=0;r<n.length;r++)a.push(n[r]["prize_type"]),c.push(n[r]["prize_sort"]),i.push(n[r]["prize_type_text"].replace(/\s/g,""));a=V["a"].distinct(a),i=V["a"].distinct(i),c=V["a"].distinct(c);for(var s=0;s<a.length;s++)o.push({prise_type:a[s],prise_type_text:i[s],prize_sort:c[s]});o=o.sort(V["a"].compare("prise_type",1)),t.navlist=o,t.listdata=n}}},It={getPointPrize:function(t,e){var n=t.commit;Tt.loading=!0;var a={limit:1e3};F["b"].getPointPrize(Ot.stringify(a)).then(function(t){Tt.loading=!1;var e=t.data;0==e.errcode&&n({type:"getPointPrize",data:e.data.data})}).catch(function(t){Tt.loading=!1})},loginCheckp:function(t,e){t.commit;F["b"].loginCheck().then(function(t){var e=t.data;0!=e.err_code&&11030!=e.err_code||(Tt.userInfo=e.data)})},getUserCurrentPoint:function(t,e){t.commit;var n={user_id:V["a"].getCookie("Yo4teW_uid")};F["b"].getUserCurrentPoint(Ot.stringify(n)).then(function(t){var e=t.data;0==e.errcode&&(Tt.getUserCurrentPoint=e.data)})},isSignInToday:function(t,e){t.commit;F["b"].isSignInToday().then(function(t){var e=t.data;0==e.err_code&&(Tt.isSignInToday=e.data)})},signIn:function(t,e){t.commit;Tt.loading=!0,F["b"].signIn().then(function(t){Tt.loading=!1;var e=t.data;0==e.err_code&&(Tt.isSignInToday=!0,Tt.isSignInTodayStateGo=!0,Object(M["j"])({message:"签到完成,恭喜您获得100个积分!",duration:3e3}))}).catch(function(t){Tt.loading=!1})},checkMktScore:function(t,e){t.commit;Tt.loading=!0,F["b"].checkMktScore().then(function(t){Tt.loading=!1;var e=t.data;0==e.err_code&&(1==e.data?Tt.checkInfoState=!0:Tt.checkInfoState=!1)}).catch(function(t){Tt.loading=!1})},exchangePrize:function(t,e){t.commit;Tt.loading=!0;var n={user_id:V["a"].getCookie("Yo4teW_uid"),point_prize_id:e.point_prize_id};F["b"].exchangePrize(Ot.stringify(n)).then(function(t){Tt.loading=!1;var e=t.data;if(0==e.errcode){var n=e.data.point_exchange_id;window.location.href="/h5/view/#/pointchange?point_exchange_id="+n+"&prize_type="+e.data.prize_type}else Object(M["j"])({message:e.errmsg,duration:2500})}).catch(function(t){Tt.loading=!1})}},Ut={},Mt={state:Tt,mutations:Et,actions:It,getters:Ut},Ft=n("fed1");s["a"].use(M["j"]);var Vt={loading:!1,prize_info:"",prize_types:"",address_id:"",address_info:"",adressApiState:!1},Wt={},Yt={getUserPointExchangeDetail:function(t,e){t.commit;Vt.loading=!0;var n={point_exchange_id:e.point_exchange_id};F["b"].getUserPointExchangeDetail(Ft.stringify(n)).then(function(t){Vt.loading=!1;var e=t.data;0==e.errcode&&(Vt.prize_info=e.data.prize_info,Vt.prize_types=e.data.prize_info.prize_type,e.data.address_info?(Vt.address_info=e.data.address_info,Vt.address_info.point_addressp=1,Vt.address_id=e.data.prize_info.address_id):Vt.adressApiState=!0)}).catch(function(t){Vt.loading=!1})},recvlist:function(t,e){t.commit;F["b"].recvlist().then(function(t){var e=t.data;if(0==e.err_code){var n=e.data||[];if(n.length>0)for(var a=0;a<n.length;a++)1==n[a].is_default&&(Vt.address_info=n[a],Vt.address_id=n[a].address_id)}})}},Gt={},Nt={state:Vt,mutations:Wt,actions:Yt,getters:Gt};s["a"].use(M["j"]);var Rt={loading:!1,ruledata:""},Ht={},qt={pointruleApi:function(t,e){t.commit;Rt.loading=!0,F["b"].pointruleApi().then(function(t){Rt.loading=!1;var e=t.data;0==e.err_code&&(Rt.ruledata=e.data.data[0])}).catch(function(t){Rt.loading=!1})}},Zt={},Bt={state:Rt,mutations:Ht,actions:qt,getters:Zt},Jt=n("fed1");s["a"].use(M["j"]);var $t={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},Kt={getUserPointDetail:function(t,e){1==e.data.current_page?t.detaillist=e.data.data:t.detaillist=t.detaillist.concat(e.data.data),t.totalLimit=e.data.last_page,e.data.current_page>=e.data.last_page?t.finished=!0:t.finished=!1}},Qt={getUserPointDetail:function(t,e){var n=t.commit;$t.loadStatus=!0;var a={page:e.page,limit:e.limit,user_id:V["a"].getCookie("Yo4teW_uid"),flow_type:e.flow_type};1==e.page&&($t.finished=!1,$t.detaillist=[]),F["b"].getUserPointDetail(Jt.stringify(a)).then(function(t){var e=t.data;$t.loadStatus=!1,0==e.errcode&&n({type:"getUserPointDetail",data:e.data})}).catch(function(t){$t.loadStatus=!1})},getUserCurrentPointdetail:function(t,e){t.commit;var n={user_id:V["a"].getCookie("Yo4teW_uid")};F["b"].getUserCurrentPoint(Jt.stringify(n)).then(function(t){var e=t.data;0==e.errcode&&($t.getUserCurrentPoint=e.data)})}},Xt={},te={state:$t,mutations:Kt,actions:Qt,getters:Xt},ee=n("fed1");s["a"].use(M["j"]);var ne={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},ae={getUserPointExchangeList:function(t,e){1==e.data.current_page?t.detaillist=e.data.data:t.detaillist=t.detaillist.concat(e.data.data),t.totalLimit=e.data.last_page,e.data.current_page>=e.data.last_page?t.finished=!0:t.finished=!1}},ie={getUserPointExchangeList:function(t,e){var n=t.commit;ne.loadStatus=!0;var a={page:e.page,limit:e.limit,user_id:V["a"].getCookie("Yo4teW_uid"),prize_type:e.prize_type};1==e.page&&(ne.finished=!1,ne.detaillist=[]),F["b"].getUserPointExchangeList(ee.stringify(a)).then(function(t){var e=t.data;ne.loadStatus=!1,0==e.errcode&&n({type:"getUserPointExchangeList",data:e.data})}).catch(function(t){ne.loadStatus=!1})}},oe={},ce={state:ne,mutations:ae,actions:ie,getters:oe};s["a"].use(M["j"]);var re={searchHotGoods:[]},se={getSearchHotGoods:function(){var t=M["j"].loading({duration:0,forbidClick:!0,loadingType:"spinner",message:"加载中"});F["b"].getHotGoodsList().then(function(e){var n=e.data;0==n.err_code&&(t.clear(),re.searchHotGoods=n.data.data)}).catch(function(e){t.clear()})}},ue={state:re,actions:se},de=n("fed1");s["a"].use(M["j"]);var le={zyOrly:0,zyFilter:!1,zyRank:!1,zyFilterData:{}},fe={searchList:function(t,e){"filter"==e.type?(t.zyFilter=e.bool,t.zyFilterData=e.data):"rank"==e.type&&(t.zyRank=e.bool)}},he={getZyData:function(t,e){var n=t.commit,a={"goods_name/condition":"liexin",com_rank:1,p:1};F["b"].getZyData(de.stringify(a)).then(function(t){var e=t.data;0==e.error_code?(e.data.aggs&&n("searchList",{type:"filter",bool:!0,data:e.data.aggs}),0!==e.data.total&&n("searchList",{type:"rank",bool:!0,data:e.data.aggs})):le.zyOrly=1}).catch(function(t){})}},me={state:le,actions:he,mutations:fe};s["a"].use(U["a"]);var pe=new U["a"].Store({modules:{home:R,common:J,smt:et,wxlist:rt,news:ht,newsdetail:yt,seo:St,findthing:zt,pointmall:Mt,pointchange:Nt,pointrule:Bt,pointdetail:te,exchange:ce,searchindex:ue,searchlist:me}}),ge=function(t,e){var n=t;return-1==n.indexOf("ptag")&&(n=n.indexOf("?")>-1?n+"&ptag="+e:n+"?ptag="+e),n},ve=function(t){return encodeURIComponent(t)},be=function(t){return t.indexOf("?")>-1?t+"&ptag=index-dynamic":t+"?ptag=index-dynamic"},ye=function(t,e){var n=new Date(1e3*t);function a(t){return t<10&&(t="0"+t),t}var i=n.getFullYear(),o=n.getMonth()+1,c=n.getDate(),r=n.getHours(),s=n.getMinutes(),u=n.getSeconds();return i+"-"+a(o)+"-"+a(c)+" "+a(r)+":"+a(s)+":"+a(u)},_e={dateTimeFormate:ye,urlParams:be,urlPatg:ge,urlEncode:ve},ke={bind:function(t,e){t.addEventListener("click",function(){var t=document.querySelector(".container-wrap").scrollTop,e=(t/100).toFixed(0),n=setInterval(function(){t-=e,t<=0&&(t=0,clearInterval(n)),document.querySelector(".container-wrap").scrollTop=t},1)},!1)}},we={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)}},xe={install:function(t){t.directive("backTop",ke),t.directive("backTopWindow",we)}},Ce=n("897d"),Se=n.n(Ce),Pe=n("5482"),je=n.n(Pe);n("39b3"),n("bfd9");s["a"].config.productionTip=!1;var Ae="production";if("production"!=Ae)new je.a;r()(_e).forEach(function(t){return s["a"].filter(t,_e[t])}),s["a"].use(xe),s["a"].prototype.$http=v.a,v.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",v.a.defaults.withCredentials=!0,v.a.interceptors.request.use(function(t){if("post"==t.method)t.data?-1==t.data.indexOf("&pf=2")&&(t.data+="&pf="+window.lxpf):t.data="pf="+window.lxpf;else if("get"==t.method){var e=r()(t.params);e.length?-1==e.indexOf("pf")&&(t.params=Object(o["a"])({pf:window.lxpf},t.params)):t.params={pf:window.lxpf}}return t},function(t){return i.a.reject(t)});var De=V["a"].getCookie("Yo4teW_gid");if(null==De){var Le=Se()("");V["a"].setCookie("Yo4teW_gid",Le,1,window.cookieHostname)}var ze={urlhash:window.location.hash};ze=V["a"].getParams(ze),F["b"].wxaccess(ze).then(function(t){var e=t.data;0==e.err_code&&e.data&&(window.location.href=e.data)}),I.beforeEach(function(t,e,n){var a=t.meta&&t.meta.title;a&&(document.title=a);var i=t.meta.back||"";if(i){var o=!!V["a"].isLogin();o?n():window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)}else n()}),new s["a"]({router:I,store:pe,render:function(t){return t(p)}}).$mount("#app")},bfd9:function(t,e,n){}});
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1433552d"],{"3b79":function(t,s,a){"use strict";var i=a("673c"),n=a.n(i);n.a},4545:function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"search-list"},[a("div",{staticClass:"search-list-header clr"},[a("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:function(s){return t.$router.back()}}}),a("div",{staticClass:"search"},[a("van-icon",{attrs:{name:"search",size:"18px",color:"#666"}}),a("van-field",{ref:"searchInput",attrs:{readonly:"",placeholder:"请输入元器件型号、参数,查找全站库存数据"},model:{value:t.goodsName,callback:function(s){t.goodsName="string"===typeof s?s.trim():s},expression:"goodsName"}})],1),a("Menu")],1),a("div",{staticClass:"search-cont"},[a("ul",{staticClass:"search-tab"},[a("li",{class:0==t.initTab?"act":"",on:{click:function(s){return t.changeInitTab(0)}}},[t._v("自营")]),a("li",{class:1==t.initTab?"act":"",on:{click:function(s){return t.changeInitTab(1)}}},[t._v("联营")])]),a("div",{staticClass:"search-list"},[a("div",{directives:[{name:"show",rawName:"v-show",value:0==t.initTab,expression:"initTab == 0"}],staticClass:"self-ichunt"},[a("div",{staticClass:"search-sift"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.zyRank,expression:"zyRank"}],staticClass:"title-cut"},[a("p",{staticClass:"fr self-rank act"},[a("van-icon",{attrs:{name:"checked",color:"#1080d0"}}),a("span",{staticClass:"font"},[t._v("仅显示有货")])],1),a("ul",{staticClass:"total-rank"},[a("li",{class:{act:0==t.zyRankInit}},[t._v("综合")]),a("li",{class:{act:1==t.zyRankInit}},[t._v("\n 库存\n "),t._m(0)]),t._m(1)])]),a("div",{directives:[{name:"show",rawName:"v-show",value:t.zyFilter,expression:"zyFilter"}],staticClass:"sift-box self-sift"},[t._m(2),t._m(3),t._m(4),t._m(5)])])]),a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.initTab,expression:"initTab == 1"}],staticClass:"pool-ichunt"},[t._m(6)])])])])},n=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("span",[a("i",{staticClass:"icon-top"}),a("i",{staticClass:"icon-bot"})])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("li",{staticClass:"single rank-2"},[t._v("\n 价格\n "),a("span",[a("i",{staticClass:"icon-top"}),a("i",{staticClass:"icon-bot"})])])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("dl",{staticClass:"sift-class"},[a("dt",[t._v("\n 分类筛选\n "),a("i",{staticClass:"icon iconfont icon-xiangxia"})]),a("dd",{staticClass:"list-single"},[a("span",{staticClass:"shuzu",staticStyle:{display:":none"}}),a("ul",{staticClass:"clr sift-ul"},[a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("贴片电容")])])]),a("div",{staticClass:"button"},[a("a",{staticClass:"but font cancel",attrs:{href:"#"}},[t._v("重置")]),a("a",{staticClass:"but-blue confirm",attrs:{href:"#"}},[t._v("确定")])])])])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("dl",{staticClass:"sift-brand"},[a("dt",[t._v("\n 制造商\n "),a("i",{staticClass:"icon iconfont icon-xiangxia"})]),a("dd",{staticClass:"list-single"},[a("span",{staticClass:"shuzu",staticStyle:{display:":none"}}),a("ul",{staticClass:"clr sift-ul"},[a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("YAGEO(国巨)")])])]),a("div",{staticClass:"button"},[a("a",{staticClass:"cancel",attrs:{href:"#"}},[t._v("重置")]),a("a",{staticClass:"confirm",attrs:{href:"#"}},[t._v("确定")])])])])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("dl",{staticClass:"sift-encap"},[a("dt",[t._v("\n 封装规格\n "),a("i",{staticClass:"icon iconfont icon-xiangxia"})]),a("dd",{staticClass:"list-single"},[a("span",{staticClass:"shuzu",staticStyle:{display:":none"}}),a("ul",{staticClass:"clr sift-ul"},[a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("0805")])])]),a("div",{staticClass:"button"},[a("a",{staticClass:"but font cancel",attrs:{href:"#"}},[t._v("重置")]),a("a",{staticClass:"but-blue confirm",attrs:{href:"#"}},[t._v("确定")])])])])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("dl",{staticClass:"sift-packing"},[a("dt",[t._v("\n 包装筛选\n "),a("i",{staticClass:"icon iconfont icon-xiangxia"})]),a("dd",{staticClass:"list-single"},[a("span",{staticClass:"shuzu",staticStyle:{display:":none"}}),a("ul",{staticClass:"clr sift-ul"},[a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("圆盘")])])]),a("div",{staticClass:"button"},[a("a",{staticClass:"but font cancel",attrs:{href:"#"}},[t._v("重置")]),a("a",{staticClass:"but-blue confirm",attrs:{href:"#"}},[t._v("确定")])])])])},function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"search-sift"},[a("div",{staticClass:"title-cut"},[a("p",{staticClass:"fr self-rank act"},[a("i",{staticClass:"icon iconfont icon-xuanzhongqian"}),a("span",{staticClass:"font"},[t._v("仅显示有货")])]),a("ul",{staticClass:"total-rank"},[a("li",{staticClass:"com-rank act"},[t._v("综合")]),a("li",{staticClass:"stock rank-2"},[t._v("\n 库存\n "),a("span",[a("i",{staticClass:"icon-top"}),a("i",{staticClass:"icon-bot"})])]),a("li",{staticClass:"single rank-2"},[t._v("\n 价格\n "),a("span",[a("i",{staticClass:"icon-top"}),a("i",{staticClass:"icon-bot"})])])])]),a("div",{staticClass:"sift-box pool-sift"},[a("dl",{staticClass:"p_act"},[a("dt",[t._v("\n 全部供应商\n "),a("i",{staticClass:"icon iconfont icon-xiangxia"})]),a("dd",{staticStyle:{display:"block"}},[a("span",{staticClass:"shuzu",staticStyle:{display:":none"}}),a("ul",{staticClass:"clear sift-ul"},[a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("future")])]),a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("element14")])]),a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("chip1stop")])]),a("li",[a("i",{staticClass:"fr iconfont icon-gou1"}),a("span",[t._v("verical")])])]),a("div",{staticClass:"button"},[a("a",{staticClass:"but font cancel",attrs:{href:"#"}},[t._v("重置")]),a("a",{staticClass:"but-blue confirm",attrs:{href:"#"}},[t._v("确定")])])])])]),a("div",{staticClass:"pool-search-top"})])}],c=a("3f47"),l=a("a4c0"),o=a("7272"),e=a("52c1"),r={name:"searchList",components:{"van-field":l["b"],"van-icon":l["c"],Menu:o["a"]},data:function(){return{goodsName:"",initTab:0,zyFilterInit:0,zyRankInit:0}},created:function(){var t=decodeURIComponent(this.$route.query.k);document.title=t+"采购_猎芯网最新报价",this.goodsName=t,this.$store.dispatch({type:"getZyData"})},computed:Object(c["a"])({},Object(e["b"])({zyOrly:function(t){return t.searchlist.zyOrly},zyFilter:function(t){return t.searchlist.zyFilter},zyRank:function(t){return t.searchlist.zyRank}})),watch:{zyOrly:function(t){this.initTab=t}},methods:{changeInitTab:function(t){this.initTab=t}}},u=r,f=(a("5325"),a("17cc")),v=Object(f["a"])(u,i,n,!1,null,null,null);s["default"]=v.exports},5325:function(t,s,a){"use strict";var i=a("7a5d"),n=a.n(i);n.a},"673c":function(t,s,a){},7272:function(t,s,a){"use strict";var i=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",[t.flag?a("div",{staticClass:"menu-fade",on:{click:function(s){t.flag=!1}}}):t._e(),a("div",{staticClass:"menu clr"},[a("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(s){t.flag=!t.flag}}}),t.flag?a("div",[a("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},n=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ul",{staticClass:"menu-view"},[a("li",[a("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),a("li",[a("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),a("li",[a("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),a("li",[a("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),a("li",{staticClass:"mui-table-view-cell "},[a("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),a("li",[a("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[a("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],c={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},l=c,o=(a("3b79"),a("17cc")),e=Object(o["a"])(l,i,n,!1,null,null,null);s["a"]=e.exports},"7a5d":function(t,s,a){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1433552d"],{"3b79":function(t,a,i){"use strict";var n=i("673c"),s=i.n(n);s.a},4545:function(t,a,i){"use strict";i.r(a);var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"search-list"},[i("div",{staticClass:"search-list-header clr"},[i("i",{staticClass:"icon iconfont icon-xiangzuo fl",on:{click:function(a){return t.$router.back()}}}),i("div",{staticClass:"search"},[i("van-icon",{attrs:{name:"search",size:"18px",color:"#666"}}),i("van-field",{ref:"searchInput",attrs:{readonly:"",placeholder:"请输入元器件型号、参数,查找全站库存数据"},model:{value:t.goodsName,callback:function(a){t.goodsName="string"===typeof a?a.trim():a},expression:"goodsName"}})],1),i("Menu")],1),i("div",{staticClass:"search-cont"},[i("ul",{staticClass:"search-tab"},[i("li",{class:0==t.initTab?"act":"",on:{click:function(a){return t.changeInitTab(0)}}},[t._v("自营")]),i("li",{class:1==t.initTab?"act":"",on:{click:function(a){return t.changeInitTab(1)}}},[t._v("联营")])]),i("div",{staticClass:"search-list"},[i("div",{directives:[{name:"show",rawName:"v-show",value:0==t.initTab,expression:"initTab == 0"}],staticClass:"self-ichunt"},[i("div",{staticClass:"search-sift"},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.zyRank,expression:"zyRank"}],staticClass:"title-cut"},[i("p",{staticClass:"fr self-rank act"},[i("van-icon",{attrs:{name:"checked",color:"#1080d0"}}),i("span",{staticClass:"font"},[t._v("仅显示有货")])],1),i("ul",{staticClass:"total-rank"},[i("li",{class:{act:0==t.zyRankInit},on:{click:function(a){return t.changezyRankInit(0)}}},[t._v("综合")]),i("li",{class:{act:1==t.zyRankInit||2==t.zyRankInit},on:{click:function(a){return t.changezyRankInit("kc")}}},[t._v("\n 库存\n "),i("span",[i("i",{class:{"icon-top":!0,bright:1==t.zyRankInit}}),i("i",{class:{"icon-bot":!0,bright:2==t.zyRankInit}})])]),i("li",{class:{act:3==t.zyRankInit||4==t.zyRankInit},on:{click:function(a){return t.changezyRankInit("jg")}}},[t._v("\n 价格\n "),i("span",[i("i",{class:{"icon-top":!0,bright:3==t.zyRankInit}}),i("i",{class:{"icon-bot":!0,bright:4==t.zyRankInit}})])])])]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.zyFilter,expression:"zyFilter"}],staticClass:"sift-box"},[i("dl",{class:{p_act:0==t.zyFilterInit}},[i("dt",{on:{click:function(a){return t.changeZyFilterInit(0)}}},[t._v(t._s(t.classFilter))]),i("dd",{style:{display:0==t.zyFilterInit?"block":"none"}},[i("ul",{staticClass:"clr"},[t.zyFilterData.class_id2?t._l(t.zyFilterData.class_id2,function(a,n){return i("li",{class:{check:a.check},on:{click:function(a){return t.addFilterData(n,"class_id2")}}},[i("span",[t._v(t._s(a.name))])])}):t._e()],2),i("div",{staticClass:"button"},[i("a",{staticClass:"cancel",on:{click:function(a){return t.reset("class_id2")}}},[t._v("重置")]),i("a",{staticClass:"confirm",on:{click:function(a){return t.addPostData("class_id2")}}},[t._v("确定")])])])]),i("dl",{class:{p_act:1==t.zyFilterInit}},[i("dt",{on:{click:function(a){return t.changeZyFilterInit(1)}}},[t._v(t._s(t.brand))]),i("dd",{style:{display:1==t.zyFilterInit?"block":"none"}},[i("ul",{staticClass:"clr"},[t.zyFilterData.brand_id?t._l(t.zyFilterData.brand_id,function(a,n){return i("li",{class:{check:a.check},on:{click:function(a){return t.addFilterData(n,"brand_id")}}},[i("span",[t._v(t._s(a.name))])])}):t._e()],2),i("div",{staticClass:"button"},[i("a",{staticClass:"cancel",on:{click:function(a){return t.reset("brand_id")}}},[t._v("重置")]),i("a",{staticClass:"confirm",on:{click:function(a){return t.addPostData("brand_id")}}},[t._v("确定")])])])]),i("dl",{class:{p_act:2==t.zyFilterInit}},[i("dt",{on:{click:function(a){return t.changeZyFilterInit(2)}}},[t._v(t._s(t.encap))]),i("dd",{style:{display:2==t.zyFilterInit?"block":"none"}},[i("ul",{staticClass:"clr"},[t.zyFilterData.encap?t._l(t.zyFilterData.encap,function(a,n){return i("li",{class:{check:a.check},on:{click:function(a){return t.addFilterData(n,"encap")}}},[i("span",[t._v(t._s(a.name))])])}):t._e()],2),i("div",{staticClass:"button"},[i("a",{staticClass:"cancel",on:{click:function(a){return t.reset("encap")}}},[t._v("重置")]),i("a",{staticClass:"confirm",on:{click:function(a){return t.addPostData("encap")}}},[t._v(">确定")])])])]),i("dl",{class:{p_act:3==t.zyFilterInit}},[i("dt",{on:{click:function(a){return t.changeZyFilterInit(3)}}},[t._v(t._s(t.packing))]),i("dd",{style:{display:3==t.zyFilterInit?"block":"none"}},[i("ul",{staticClass:"clr"},[t.zyFilterData.packing?t._l(t.zyFilterData.packing,function(a,n){return i("li",{class:{check:a.check},on:{click:function(a){return t.addFilterData(n,"packing")}}},[i("span",[t._v(t._s(a.name))])])}):t._e()],2),i("div",{staticClass:"button"},[i("a",{staticClass:"cancel",on:{click:function(a){return t.reset("packing")}}},[t._v("重置")]),i("a",{staticClass:"confirm",on:{click:function(a){return t.addPostData("packing")}}},[t._v("确定")])])])])])])]),i("div",{directives:[{name:"show",rawName:"v-show",value:1==t.initTab,expression:"initTab == 1"}],staticClass:"pool-ichunt"},[t._m(0)])])])])},s=[function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"search-sift"},[i("div",{staticClass:"title-cut"},[i("p",{staticClass:"fr self-rank act"},[i("i",{staticClass:"icon iconfont icon-xuanzhongqian"}),i("span",{staticClass:"font"},[t._v("仅显示有货")])]),i("ul",{staticClass:"total-rank"},[i("li",{staticClass:"com-rank act"},[t._v("综合")]),i("li",{staticClass:"stock rank-2"},[t._v("\n 库存\n "),i("span",[i("i",{staticClass:"icon-top"}),i("i",{staticClass:"icon-bot"})])]),i("li",{staticClass:"single rank-2"},[t._v("\n 价格\n "),i("span",[i("i",{staticClass:"icon-top"}),i("i",{staticClass:"icon-bot"})])])])]),i("div",{staticClass:"sift-box pool-sift"},[i("dl",{staticClass:"p_act"},[i("dt",[t._v("\n 全部供应商\n "),i("i",{staticClass:"icon iconfont icon-xiangxia"})]),i("dd",{staticStyle:{display:"block"}},[i("span",{staticClass:"shuzu",staticStyle:{display:":none"}}),i("ul",{staticClass:"clear sift-ul"},[i("li",[i("i",{staticClass:"fr iconfont icon-gou1"}),i("span",[t._v("future")])]),i("li",[i("i",{staticClass:"fr iconfont icon-gou1"}),i("span",[t._v("element14")])]),i("li",[i("i",{staticClass:"fr iconfont icon-gou1"}),i("span",[t._v("chip1stop")])]),i("li",[i("i",{staticClass:"fr iconfont icon-gou1"}),i("span",[t._v("verical")])])]),i("div",{staticClass:"button"},[i("a",{staticClass:"but font cancel",attrs:{href:"#"}},[t._v("重置")]),i("a",{staticClass:"but-blue confirm",attrs:{href:"#"}},[t._v("确定")])])])])]),i("div",{staticClass:"pool-search-top"})])}],c=i("3f47"),e=i("a4c0"),l=i("7272"),r=i("52c1"),o={name:"searchList",components:{"van-field":e["b"],"van-icon":e["c"],Menu:l["a"]},data:function(){return{goodsName:"",initTab:0,zyFilterInit:-1,zyRankInit:0,classFilter:"分类筛选",brand:"制造商",encap:"封装规格",packing:"包装筛选",classArr:[],brandArr:[],encapArr:[],packingArr:[],classStr:"",brandStr:"",encapStr:"",packingStr:"",paramsData:{}}},created:function(){var t=decodeURIComponent(this.$route.query.k);document.title=t+"采购_猎芯网最新报价",this.goodsName=t,this.paramsData={p:2,"goods_name/condition":this.goodsName},this.getZyData()},computed:Object(c["a"])({},Object(r["b"])({zyOrly:function(t){return t.searchlist.zyOrly},zyFilter:function(t){return t.searchlist.zyFilter},zyRank:function(t){return t.searchlist.zyRank},zyFilterData:function(t){return t.searchlist.zyFilterData}})),watch:{zyOrly:function(t){this.initTab=t},zyRankInit:function(t){this.paramsData={p:2,"goods_name/condition":this.goodsName},0==t?this.paramsData.com_rank=1:1==t?this.paramsData.stock_rank=2:2==t?this.paramsData.stock_rank=1:3==t?this.paramsData.single_rank=1:4==t&&(this.paramsData.single_rank=2)}},methods:{getZyData:function(t){this.$store.dispatch({type:"getZyData",data:{params:this.paramsData}})},changeInitTab:function(t){this.initTab=t},changezyRankInit:function(t){"kc"==t?1==this.zyRankInit?this.zyRankInit=2:this.zyRankInit=1:"jg"==t?3==this.zyRankInit?this.zyRankInit=4:this.zyRankInit=3:this.zyRankInit=t},changeZyFilterInit:function(t){this.zyFilterInit==t?this.zyFilterInit=-1:this.zyFilterInit=t},addFilterData:function(t,a){var i=!1,n=[],s=this.zyFilterData[a][t].id;if(this.zyFilterData[a][t].check?(i=!1,this.$set(this.zyFilterData[a][t],"check",!1)):(i=!0,this.$set(this.zyFilterData[a][t],"check",!0)),"class_id2"==a?n=this.classArr:"brand_id"==a?n=this.brandArr:"encap"==a?n=this.encapArr:"packing"==a&&(n=this.packingArr),i)n.push(s);else{var c=n.indexOf(s);n.splice(c,1)}},reset:function(t){for(var a=0;a<this.zyFilterData[t].length;a++)this.$set(this.zyFilterData[t][a],"check",!1);"class_id2"==t?this.classArr:"brand_id"==t?this.brandArr:"encap"==t?this.encapArr:"packing"==t&&his.packingAr},addPostData:function(t){this.zyFilterInit=-1,"class_id2"==t?this.classStr=this.classArr.join():"brand_id"==t?this.brandStr=this.brandArr.join():"encap"==t?this.encapStr=this.encapArr.join():"packing"==t&&(this.packingStr=this.packingArr.join()),this.getZyData()}}},u=o,d=(i("5325"),i("17cc")),h=Object(d["a"])(u,n,s,!1,null,null,null);a["default"]=h.exports},5325:function(t,a,i){"use strict";var n=i("7a5d"),s=i.n(n);s.a},"673c":function(t,a,i){},7272:function(t,a,i){"use strict";var n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[t.flag?i("div",{staticClass:"menu-fade",on:{click:function(a){t.flag=!1}}}):t._e(),i("div",{staticClass:"menu clr"},[i("b",{staticClass:"iconfont icon-liedanbiao fr",style:{color:t.color},on:{click:function(a){t.flag=!t.flag}}}),t.flag?i("div",[i("i",{staticClass:"popover-arrow"}),t._m(0)]):t._e()])])},s=[function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("ul",{staticClass:"menu-view"},[i("li",[i("a",{attrs:{href:"/v3?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-shouye"}),t._v("首页")])]),i("li",[i("a",{attrs:{href:"/v3/lxshop?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-lianying"}),t._v("联营商城")])]),i("li",[i("a",{attrs:{href:"/v3/xianhuo?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-liexinziying"}),t._v("自营现货")])]),i("li",[i("a",{attrs:{href:"/v3/brand/map?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-pinpai"}),t._v("品牌之家")])]),i("li",{staticClass:"mui-table-view-cell "},[i("a",{staticClass:"zytabgo",attrs:{href:"/v3/joincart?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-gouwuche1"}),t._v("购物车")])]),i("li",[i("a",{attrs:{href:"/v3/user?ptag=selfshop-topnav"}},[i("i",{staticClass:"icon iconfont icon-huiyuanzhongxin"}),t._v("会员中心")])])])}],c={name:"menus",props:{color:{type:String,default:"#666"}},data:function(){return{flag:!1}}},e=c,l=(i("3b79"),i("17cc")),r=Object(l["a"])(e,n,s,!1,null,null,null);a["a"]=r.exports},"7a5d":function(t,a,i){}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment