Commit bd458e04 by 肖康

Merge branch 'XK_SEO_REG20190403' into Pre-release

parents 83df8c6b 3eb7a4f2
<!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-1081bba5.c0f345b7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1a310afe.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3d2d429e.045485d7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5226221d.b62bb465.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6bb21423.29799028.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a104e3e6.43c91bcb.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e78c7db2.927a837d.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1081bba5.cc87b067.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1a310afe.f0eafc58.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3d2d429e.6d8e4f33.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5226221d.61c93917.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6bb21423.0c2c174a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a104e3e6.785aa25d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e78c7db2.150d943e.js rel=prefetch><link href=//h5static.ichunt.com/css/app.b0927897.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.c584fa46.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.d5d087bb.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.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-1081bba5.c0f345b7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1a310afe.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3d2d429e.045485d7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5226221d.b62bb465.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6bb21423.29799028.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a104e3e6.43c91bcb.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e78c7db2.927a837d.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1081bba5.7368dac0.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1a310afe.eb09befb.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3d2d429e.ba70079b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5226221d.2246d1be.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6bb21423.c9493a34.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a104e3e6.2da2b27d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e78c7db2.de51d757.js rel=prefetch><link href=//h5static.ichunt.com/css/app.b0927897.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.e9d7192b.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.d5d087bb.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.59ded326.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 : ""; domain = domain ? ";domain=" + domain : "";
var Days = time; var Days = time;
var exp = new Date(); var exp = new Date();
...@@ -224,4 +224,4 @@ ...@@ -224,4 +224,4 @@
user_rank: '0' user_rank: '0'
}); });
sensors.quick('autoTrack'); sensors.quick('autoTrack');
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.d5d087bb.js></script><script src=//h5static.ichunt.com/js/app.c584fa46.js></script></body></html> }</script><script src=//h5static.ichunt.com/js/chunk-vendors.d5d087bb.js></script><script src=//h5static.ichunt.com/js/app.e9d7192b.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(t){function e(e){for(var a,i,r=e[0],u=e[1],s=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 u)Object.prototype.hasOwnProperty.call(u,a)&&(t[a]=u[a]);f&&f(e);while(l.length)l.shift()();return c.push.apply(c,s||[]),n()}function n(){for(var t,e=0;e<c.length;e++){for(var n=c[e],a=!0,i=1;i<n.length;i++){var r=n[i];0!==o[r]&&(a=!1)}a&&(c.splice(e--,1),t=u(u.s=n[0]))}return t}var a={},i={app:0},o={app:0},c=[];function r(t){return u.p+"js/"+({}[t]||t)+"."+{"chunk-1081bba5":"cc87b067","chunk-1a310afe":"f0eafc58","chunk-3d2d429e":"6d8e4f33","chunk-5226221d":"61c93917","chunk-6bb21423":"0c2c174a","chunk-a104e3e6":"785aa25d","chunk-e78c7db2":"150d943e"}[t]+".js"}function u(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(t){var e=[],n={"chunk-1081bba5":1,"chunk-1a310afe":1,"chunk-3d2d429e":1,"chunk-5226221d":1,"chunk-6bb21423":1,"chunk-a104e3e6":1,"chunk-e78c7db2":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-1081bba5":"c0f345b7","chunk-1a310afe":"d7e46390","chunk-3d2d429e":"045485d7","chunk-5226221d":"b62bb465","chunk-6bb21423":"29799028","chunk-a104e3e6":"43c91bcb","chunk-e78c7db2":"927a837d"}[t]+".css",o=u.p+a,c=document.getElementsByTagName("link"),r=0;r<c.length;r++){var s=c[r],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===a||d===o))return e()}var l=document.getElementsByTagName("style");for(r=0;r<l.length;r++){s=l[r],d=s.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.request=a,delete i[t],f.parentNode.removeChild(f),n(c)},f.href=o;var m=document.getElementsByTagName("head")[0];m.appendChild(f)}).then(function(){i[t]=0}));var a=o[t];if(0!==a)if(a)e.push(a[2]);else{var c=new Promise(function(e,n){a=o[t]=[e,n]});e.push(a[2]=c);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,u.nc&&d.setAttribute("nonce",u.nc),d.src=r(t),s=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(){s({type:"timeout",target:d})},12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(e)},u.m=t,u.c=a,u.d=function(t,e,n){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},u.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)u.d(n,a,function(e){return t[e]}.bind(null,a));return n},u.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="//h5static.ichunt.com/",u.oe=function(t){throw t};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=e,s=s.slice();for(var l=0;l<s.length;l++)e(s[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 u}),n.d(e,"b",function(){return f});var a,i,o,c=n("7f43"),r=n.n(c);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/";break;case"szm.ichunt.com":a="https://szapi.ichunt.com/",i="https://szm.ichunt.com/v3/",o="https://sz.ichunt.com/v3/";break;case"tm.ichunt.com":i="https://tm.ichunt.com/v3/",a="https://api.ichunt.com/",o="https://t.ichunt.com/v3/";break;case"m.liexin.com":i="http://m.liexin.com/v3/",a="http://api.liexin.com/",o="http://www.liexin.com/v3/";break;default:i="/m/v3/",a="/apis/"}var u=o,s=i,d=a,l={index:s+"index",loginCheck:d+"login/check",cartCount:d+"cart/count",customsrService:d+"public/customsrservice",getCommonParams:s+"getcommonparams",wxaccess:s+"api/wxaccess",checkAccountExists:d+"public/checkAccountExists",customSmsVerify:d+"public/customSmsVerify",chainFind:s+"Service/chainFind",wechatArticle:d+"Wechat/WechatArticleJinJi/article",newsArticle:d+"Article/Article/index",newsArticleDetail:d+"Article/Article/details",newsArticleDetailAd:d+"api/newsdetailad",actionLogin:d+"login/action",smsVerify:d+"public/smsVerify",feedback:d+"help/help/feedback"},f={index:function(t){return r.a.post(l.index,t)},loginCheck:function(t){return r.a.get(l.loginCheck,{params:{data:t}})},smsVerify:function(t){return r.a.post(l.smsVerify,t)},actionLogin:function(t){return r.a.post(l.actionLogin,t)},feedback:function(t){return r.a.post(l.feedback,t)},cartCount:function(t){return r.a.get(l.cartCount,{params:{data:t}})},customsrService:function(t){return r.a.get(l.customsrService,{params:{data:t}})},getCommonParams:function(t){return r.a.post(l.getCommonParams,t)},wxaccess:function(t){return r.a.post(l.wxaccess,t)},checkAccountExists:function(t){return r.a.post(l.checkAccountExists,t)},customSmsVerify:function(t){return r.a.post(l.customSmsVerify,t)},chainFind:function(t){return r.a.post(l.chainFind,t)},wechatArticle:function(t){return r.a.post(l.wechatArticle,t)},newsArticle:function(t){return r.a.post(l.newsArticle,t)},newsArticleDetail:function(t){return r.a.post(l.newsArticleDetail,t)},newsArticleDetailAd:function(t){return r.a.post(l.newsArticleDetailAd,t)}}},"56d7":function(t,e,n){"use strict";n.r(e);var a=n("a700"),i=n.n(a),o=n("0ec6"),c=n.n(o),r=(n("612f"),n("53da"),n("40f8"),n("8973")),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"}},[n("router-view",{staticClass:"router-view"})],1)],1)},s=[],d={name:"app"},l=d,f=n("8c9c"),m=Object(f["a"])(l,u,s,!1,null,null,null),h=m.exports,p=n("7f43"),g=n.n(p),v=(n("3a23"),n("081a")),b=function(t){return n.e("chunk-e78c7db2").then(function(){var e=[n("9553")];t.apply(null,e)}.bind(this)).catch(n.oe)},w=function(t){return n.e("chunk-1a310afe").then(function(){var e=[n("2500")];t.apply(null,e)}.bind(this)).catch(n.oe)},y=function(t){return n.e("chunk-a104e3e6").then(function(){var e=[n("9055")];t.apply(null,e)}.bind(this)).catch(n.oe)},k=function(t){return n.e("chunk-1081bba5").then(function(){var e=[n("bd04")];t.apply(null,e)}.bind(this)).catch(n.oe)},_=function(t){return n.e("chunk-5226221d").then(function(){var e=[n("2536")];t.apply(null,e)}.bind(this)).catch(n.oe)},A=function(t){return n.e("chunk-3d2d429e").then(function(){var e=[n("832f")];t.apply(null,e)}.bind(this)).catch(n.oe)},C=function(t){return n.e("chunk-6bb21423").then(function(){var e=[n("f825")];t.apply(null,e)}.bind(this)).catch(n.oe)};r["a"].use(v["a"]);var x=[{path:"/",component:b,meta:{title:"猎芯网"}},{path:"/smt",component:w,meta:{title:"SMT打样"}},{path:"/supplier",component:y,meta:{title:"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"}},{path:"/wxlist",name:"Wxlist",component:k,meta:{title:"猎芯网"}},{path:"/news",name:"News",component:_,meta:{title:"猎芯网-新闻列表"}},{path:"/seo",name:"Seo",component:C,meta:{title:"猎芯网——京东战投元器件商城"}},{path:"/news/detail/:art_id/:cat_id",name:"NewsDetail",component:A,meta:{title:"猎芯网-新闻详情"}},{path:"*",redirect:"/"}];x.forEach(function(t){t.path=t.path||"/"+(t.name||"")});var S=new v["a"]({routes:x});S.beforeEach(function(t,e,n){var a=t.meta&&t.meta.title;a&&(document.title=a),n()});var T=n("52c1"),O=n("5101"),j=n("365c"),D=(n("f91a"),n("ab56"),n("ab01")),E=n.n(D),P=(n("ea65"),0),L=8;function M(t){return z(V(W(t),t.length*L))}function V(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var n=Array(80),a=1732584193,i=-271733879,o=-1732584194,c=271733878,r=-1009589776,u=0;u<t.length;u+=16){for(var s=a,d=i,l=o,f=c,m=r,h=0;h<80;h++){n[h]=h<16?t[u+h]:q(n[h-3]^n[h-8]^n[h-14]^n[h-16],1);var p=I(I(q(a,5),F(h,i,o,c)),I(I(r,n[h]),N(h)));r=c,c=o,o=q(i,30),i=a,a=p}a=I(a,s),i=I(i,d),o=I(o,l),c=I(c,f),r=I(r,m)}return Array(a,i,o,c,r)}function F(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 N(t){return t<20?1518500249:t<40?1859775393:t<60?-1894007588:-899497514}function I(t,e){var n=(65535&t)+(65535&e),a=(t>>16)+(e>>16)+(n>>16);return a<<16|65535&n}function q(t,e){return t<<e|t>>>32-e}function W(t){for(var e=Array(),n=(1<<L)-1,a=0;a<t.length*L;a+=L)e[a>>5]|=(t.charCodeAt(a/L)&n)<<24-a%32;return e}function z(t){for(var e=P?"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 B=n("0427"),Y={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 i=[],o={},r="",u="",s="",d={pf:2,qwertyuiop:a,Yo4teW_gid:e},l=E()({},d,t);c()(l).forEach(function(t,e,n){i.push(t)}),i=i.sort(),i.forEach(function(t,e,n){o[i[e]]=l[i[e]]}),c()(o).forEach(function(t,e,n){r+=t+"="+o[t]}),u=r.replace(/[^0-9a-zA-Z]/g,""),u=u.toUpperCase();for(var f=0;f<u.length;f++)"A"!=u[f]&&"B"!=u[f]&&"C"!=u[f]&&(s+=u[f]);r=M(s);var m=E()({},t,{asdfghjkl:r},{qwertyuiop:a},{pf:2});return B.stringify(m)}};r["a"].use(O["i"]);var J={index:{},loading:!0},R={index:function(t,e){t.index=e.data}},H={index:function(t,e){var n=t.commit;J.loading=!0;var a=Y.getParams();j["b"].index(a).then(function(t){var e=t.data;J.loading=!1,0==e.err_code?n({type:"index",data:e.data}):2==e.err_code&&Object(O["i"])({message:"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间",duration:3e3})}).catch(function(t){J.loading=!1})}},$={},G={state:J,mutations:R,actions:H,getters:$};r["a"].use(O["i"]);var U={cartCount:"",loginCheck:!1,phpParams:{}},Z={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}},K={cartCount:function(t,e){var n=t.commit;j["b"].cartCount().then(function(t){var e=t.data;0==e.err_code&&n({type:"cartCount",data:e.data})}).catch(function(t){})},loginCheck:function(t,e){var n=t.commit;j["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:""};j["b"].customsrService(n).then(function(t){}).catch(function(t){})},getCommonParams:function(t,e){var n=t.commit,a=Y.getParams();j["b"].getCommonParams(a).then(function(t){var e=t.data;n({type:"phpParams",data:e})}).catch(function(t){})}},Q={},X={state:U,mutations:Z,actions:K,getters:Q},tt=n("0427");r["a"].use(O["i"]);var et={loading:!1},nt={index:function(t,e){t.index=e.data}},at={checkAccountExists:function(t,e){t.commit;et.loading=!0;var n={pf:2,type:2,account:e.account};j["b"].checkAccountExists(tt.stringify(n)).then(function(t){var e=t.data;et.loading=!1,0!=e.err_code&&Object(O["i"])({message:"该手机号尚未注册,我们将为您自动生成猎芯网帐号",duration:3e3})}).catch(function(t){et.loading=!1})},customSmsVerify:function(t,e){t.commit;et.loading=!0;var n={pf:2,verify:"",mobile:e.mobile};j["b"].customSmsVerify(tt.stringify(n)).then(function(t){var e=t.data;et.loading=!1,0==e.err_code?Object(O["i"])({message:e.err_msg,duration:2e3}):Object(O["i"])({message:e.err_msg,duration:3e3})}).catch(function(t){et.loading=!1})},chainFind:function(t,e){t.commit;if(et.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};j["b"].chainFind(tt.stringify(n)).then(function(t){var n=t.data;et.loading=!1,1==n.errcode?Object(O["i"])({message:n.errmsg,duration:3e3}):2==n.errcode?(Object(O["i"])({message:"已为您自动创建的猎芯网登录账号为"+e.mobile+"请使用免密码登录",duration:3e3}),setTimeout(function(){window.location.reload()},3e3)):(Object(O["i"])({message:"您已经提交成功,我们将会在2个工作日内联系您",duration:3e3}),setTimeout(function(){window.location.reload()},3e3))}).catch(function(t){et.loading=!1,Object(O["i"])({message:"网络出现问题,请重试",duration:3e3})})}},it={},ot={state:et,mutations:nt,actions:at,getters:it},ct=n("0427");r["a"].use(O["i"]);var rt={loadStatus:!1,wechatArticle:{},wechatArticleList:[],finished:!1,limits:1},ut={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)}},st={wechatArticle:function(t,e){var n=t.commit;rt.loadStatus=!0;var a={type_id:e.type_id,page:e.page,limit:e.limit};j["b"].wechatArticle(ct.stringify(a)).then(function(t){var a=t.data;rt.loadStatus=!1,0==a.err_code&&n({type:"wechatArticle",data:a.data,page:e.page,limit:e.limit})}).catch(function(t){rt.loadStatus=!1})}},dt={},lt={state:rt,mutations:ut,actions:st,getters:dt},ft=(n("b06f"),n("0427"));r["a"].use(O["i"]);var mt={finished:!1,loadStatus:!1,cat_list:[],content_list:[],rollbanner:[],p:1,limit:10,totalLimit:0},ht={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}},pt={newsArticle:function(t,e){var n=t.commit;mt.loadStatus=!0;var a={cat_id:e.cat_id,p:e.p,limit:e.limit};mt.p=e.p,mt.limit=e.limit,j["b"].newsArticle(ft.stringify(a)).then(function(t){var e=t.data;mt.loadStatus=!1,0==e.err_code&&n({type:"newsArticle",data:e.data})}).catch(function(t){mt.loadStatus=!1})}},gt={},vt={state:mt,mutations:ht,actions:pt,getters:gt},bt=n("0427");r["a"].use(O["i"]);var wt={loadStatus:!1,newsDetailObj:{},newsDetailAd:{}},yt={newsArticleDetail:function(t,e){t.newsDetailObj=e.data},newsArticleDetailAd:function(t,e){t.newsDetailAd=e.data,Y.getCookie("newsdetailpop")?t.newsDetailAd.h5_news_ad_pop="":Y.setCookie("newsdetailpop","1",1)}},kt={newsArticleDetail:function(t,e){var n=t.commit;wt.newsDetailObj={},wt.loadStatus=!0;var a={art_id:e.art_id};j["b"].newsArticleDetail(bt.stringify(a)).then(function(t){wt.loadStatus=!1;var e=t.data;0==e.err_code&&n({type:"newsArticleDetail",data:e.data})}).catch(function(t){wt.loadStatus=!1})},newsArticleDetailAd:function(t,e){var n=t.commit,a={cat_id:e.cat_id},i=Y.getParams(a);j["b"].newsArticleDetailAd(i).then(function(t){var e=t.data;0==e.err_code&&n({type:"newsArticleDetailAd",data:e.data})}).catch(function(t){})}},_t={},At={state:wt,mutations:yt,actions:kt,getters:_t},Ct=n("0427");r["a"].use(O["i"]);var xt={loading:!1,form1ImgShow:!1,form2ImgShow:!1,form1CodeStatus:!1,form2CodeStatus:!1,isRegLogin:!1},St={smsVerify:function(t,e){}},Tt={smsVerify:function(t,e){var n=t.commit;xt.form1CodeStatus=!1,xt.loading=!0;var a={mobile:e.mobile,verify:e.verify,channel:1};j["b"].smsVerify(Ct.stringify(a)).then(function(t){var a=t.data;xt.loading=!1;var i="form2"==e.types?"form2":"form1";xt[i+"ImgShow"]=!1,0==a.err_code?(Object(O["i"])({message:a.err_msg,duration:2e3}),xt[i+"CodeStatus"]=!0,n({type:"smsVerify",data:a.data})):23019==a.err_code||11008==a.err_code||11011==a.err_code?(Object(O["i"])({message:a.err_msg,duration:2e3}),xt[i+"ImgShow"]=!0):Object(O["i"])({message:a.err_msg,duration:3e3})}).catch(function(t){xt.loading=!1})},actionLogin:function(t,e){var n=t.commit;xt.loading=!0,xt.isRegLogin=!1;var a={account:e.account,sms_verify:e.sms_verify};j["b"].actionLogin(Ct.stringify(a)).then(function(t){var a=t.data;if(xt.loading=!1,0==a.err_code){if("form1"==e.form_name)return Object(O["i"])({message:"提交成功",duration:2e3}),void setTimeout(function(){window.location.href="/"},2e3);xt.isRegLogin=!0,n({type:"actionLogin",data:a.data})}else Object(O["i"])({message:a.err_msg,duration:3e3})}).catch(function(t){xt.loading=!1})},feedback:function(t,e){var n=t.commit;xt.loading=!0;var a={type:e.types,content:e.content,mobile:e.mobile,source:window.location.href};j["b"].feedback(Ct.stringify(a)).then(function(t){var e=t.data;xt.loading=!1,0==e.err_code?(Object(O["i"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:e.data})):Object(O["i"])({message:e.err_msg,duration:3e3})}).catch(function(t){xt.loading=!1})}},Ot={},jt={state:xt,mutations:St,actions:Tt,getters:Ot};r["a"].use(T["a"]);var Dt=new T["a"].Store({modules:{home:G,common:X,smt:ot,wxlist:lt,news:vt,newsdetail:At,seo:jt}}),Et=function(t,e){var n=t;return-1==n.indexOf("ptag")&&(n=n.indexOf("?")>-1?n+"&ptag="+e:n+"?ptag="+e),n},Pt=function(t){return t.indexOf("?")>-1?t+"&ptag=index-dynamic":t+"?ptag=index-dynamic"},Lt=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(),u=n.getMinutes(),s=n.getSeconds();return i+"-"+a(o)+"-"+a(c)+" "+a(r)+":"+a(u)+":"+a(s)},Mt={dateTimeFormate:Lt,urlParams:Pt,urlPatg:Et},Vt={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)}},Ft={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)}},Nt={install:function(t){t.directive("backTop",Vt),t.directive("backTopWindow",Ft)}},It=n("897d"),qt=n.n(It),Wt=n("5482"),zt=n.n(Wt);n("13f6"),n("bfd9");r["a"].config.productionTip=!1;var Bt="production";if("production"!=Bt)new zt.a;c()(Mt).forEach(function(t){return r["a"].filter(t,Mt[t])}),r["a"].use(Nt),r["a"].prototype.$http=g.a,g.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",g.a.defaults.withCredentials=!0,g.a.interceptors.request.use(function(t){return"post"==t.method?t.data?-1==t.data.indexOf("&pf=2")&&(t.data+="&pf=2"):t.data="pf=2":"get"==t.method&&(t.params.data?-1==t.params.data.indexOf("&pf=2")&&(t.params.data+="&pf=2"):t.params.data="pf=2"),t},function(t){return i.a.reject(t)});var Yt=Y.getCookie("Yo4teW_gid");if(null==Yt){var Jt=qt()("");Y.setCookie("Yo4teW_gid",Jt,1,window.cookieHostname)}var Rt={urlhash:window.location.hash};Rt=Y.getParams(Rt),j["b"].wxaccess(Rt).then(function(t){var e=t.data;0==e.err_code&&e.data&&(window.location.href=e.data)}),new r["a"]({router:S,store:Dt,render:function(t){return t(h)}}).$mount("#app")},bfd9:function(t,e,n){}}); (function(t){function e(e){for(var a,i,r=e[0],u=e[1],s=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 u)Object.prototype.hasOwnProperty.call(u,a)&&(t[a]=u[a]);f&&f(e);while(l.length)l.shift()();return c.push.apply(c,s||[]),n()}function n(){for(var t,e=0;e<c.length;e++){for(var n=c[e],a=!0,i=1;i<n.length;i++){var r=n[i];0!==o[r]&&(a=!1)}a&&(c.splice(e--,1),t=u(u.s=n[0]))}return t}var a={},i={app:0},o={app:0},c=[];function r(t){return u.p+"js/"+({}[t]||t)+"."+{"chunk-1081bba5":"7368dac0","chunk-1a310afe":"eb09befb","chunk-3d2d429e":"ba70079b","chunk-5226221d":"2246d1be","chunk-6bb21423":"c9493a34","chunk-a104e3e6":"2da2b27d","chunk-e78c7db2":"de51d757"}[t]+".js"}function u(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(t){var e=[],n={"chunk-1081bba5":1,"chunk-1a310afe":1,"chunk-3d2d429e":1,"chunk-5226221d":1,"chunk-6bb21423":1,"chunk-a104e3e6":1,"chunk-e78c7db2":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-1081bba5":"c0f345b7","chunk-1a310afe":"d7e46390","chunk-3d2d429e":"045485d7","chunk-5226221d":"b62bb465","chunk-6bb21423":"29799028","chunk-a104e3e6":"43c91bcb","chunk-e78c7db2":"927a837d"}[t]+".css",o=u.p+a,c=document.getElementsByTagName("link"),r=0;r<c.length;r++){var s=c[r],d=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===a||d===o))return e()}var l=document.getElementsByTagName("style");for(r=0;r<l.length;r++){s=l[r],d=s.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.request=a,delete i[t],f.parentNode.removeChild(f),n(c)},f.href=o;var m=document.getElementsByTagName("head")[0];m.appendChild(f)}).then(function(){i[t]=0}));var a=o[t];if(0!==a)if(a)e.push(a[2]);else{var c=new Promise(function(e,n){a=o[t]=[e,n]});e.push(a[2]=c);var s,d=document.createElement("script");d.charset="utf-8",d.timeout=120,u.nc&&d.setAttribute("nonce",u.nc),d.src=r(t),s=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(){s({type:"timeout",target:d})},12e4);d.onerror=d.onload=s,document.head.appendChild(d)}return Promise.all(e)},u.m=t,u.c=a,u.d=function(t,e,n){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},u.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)u.d(n,a,function(e){return t[e]}.bind(null,a));return n},u.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="//h5static.ichunt.com/",u.oe=function(t){throw t};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],d=s.push.bind(s);s.push=e,s=s.slice();for(var l=0;l<s.length;l++)e(s[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 u}),n.d(e,"b",function(){return f});var a,i,o,c=n("7f43"),r=n.n(c);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/";break;case"szm.ichunt.com":a="https://szapi.ichunt.com/",i="https://szm.ichunt.com/v3/",o="https://sz.ichunt.com/v3/";break;case"tm.ichunt.com":i="https://tm.ichunt.com/v3/",a="https://api.ichunt.com/",o="https://t.ichunt.com/v3/";break;case"m.liexin.com":i="http://m.liexin.com/v3/",a="http://api.liexin.com/",o="http://www.liexin.com/v3/";break;default:i="/m/v3/",a="/apis/"}var u=o,s=i,d=a,l={index:s+"index",loginCheck:d+"login/check",cartCount:d+"cart/count",customsrService:d+"public/customsrservice",getCommonParams:s+"getcommonparams",wxaccess:s+"api/wxaccess",checkAccountExists:d+"public/checkAccountExists",customSmsVerify:d+"public/customSmsVerify",chainFind:s+"Service/chainFind",wechatArticle:d+"Wechat/WechatArticleJinJi/article",newsArticle:d+"Article/Article/index",newsArticleDetail:d+"Article/Article/details",newsArticleDetailAd:d+"api/newsdetailad",actionLogin:d+"login/action",smsVerify:d+"public/smsVerify",feedback:d+"help/help/feedback"},f={index:function(t){return r.a.post(l.index,t)},loginCheck:function(t){return r.a.get(l.loginCheck,{params:{data:t}})},smsVerify:function(t){return r.a.post(l.smsVerify,t)},actionLogin:function(t){return r.a.post(l.actionLogin,t)},feedback:function(t){return r.a.post(l.feedback,t)},cartCount:function(t){return r.a.get(l.cartCount,{params:{data:t}})},customsrService:function(t){return r.a.get(l.customsrService,{params:{data:t}})},getCommonParams:function(t){return r.a.post(l.getCommonParams,t)},wxaccess:function(t){return r.a.post(l.wxaccess,t)},checkAccountExists:function(t){return r.a.post(l.checkAccountExists,t)},customSmsVerify:function(t){return r.a.post(l.customSmsVerify,t)},chainFind:function(t){return r.a.post(l.chainFind,t)},wechatArticle:function(t){return r.a.post(l.wechatArticle,t)},newsArticle:function(t){return r.a.post(l.newsArticle,t)},newsArticleDetail:function(t){return r.a.post(l.newsArticleDetail,t)},newsArticleDetailAd:function(t){return r.a.post(l.newsArticleDetailAd,t)}}},"56d7":function(t,e,n){"use strict";n.r(e);var a=n("a700"),i=n.n(a),o=n("0ec6"),c=n.n(o),r=(n("612f"),n("53da"),n("40f8"),n("8973")),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"}},[n("router-view",{staticClass:"router-view"})],1)],1)},s=[],d={name:"app"},l=d,f=n("8c9c"),m=Object(f["a"])(l,u,s,!1,null,null,null),h=m.exports,p=n("7f43"),g=n.n(p),v=(n("3a23"),n("081a")),b=function(t){return n.e("chunk-e78c7db2").then(function(){var e=[n("9553")];t.apply(null,e)}.bind(this)).catch(n.oe)},w=function(t){return n.e("chunk-1a310afe").then(function(){var e=[n("2500")];t.apply(null,e)}.bind(this)).catch(n.oe)},y=function(t){return n.e("chunk-a104e3e6").then(function(){var e=[n("9055")];t.apply(null,e)}.bind(this)).catch(n.oe)},k=function(t){return n.e("chunk-1081bba5").then(function(){var e=[n("bd04")];t.apply(null,e)}.bind(this)).catch(n.oe)},_=function(t){return n.e("chunk-5226221d").then(function(){var e=[n("2536")];t.apply(null,e)}.bind(this)).catch(n.oe)},A=function(t){return n.e("chunk-3d2d429e").then(function(){var e=[n("832f")];t.apply(null,e)}.bind(this)).catch(n.oe)},C=function(t){return n.e("chunk-6bb21423").then(function(){var e=[n("f825")];t.apply(null,e)}.bind(this)).catch(n.oe)};r["a"].use(v["a"]);var x=[{path:"/",component:b,meta:{title:"猎芯网"}},{path:"/smt",component:w,meta:{title:"SMT打样"}},{path:"/supplier",component:y,meta:{title:"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"}},{path:"/wxlist",name:"Wxlist",component:k,meta:{title:"猎芯网"}},{path:"/news",name:"News",component:_,meta:{title:"猎芯网-新闻列表"}},{path:"/seo",name:"Seo",component:C,meta:{title:"猎芯网——京东战投元器件商城"}},{path:"/news/detail/:art_id/:cat_id",name:"NewsDetail",component:A,meta:{title:"猎芯网-新闻详情"}},{path:"*",redirect:"/"}];x.forEach(function(t){t.path=t.path||"/"+(t.name||"")});var S=new v["a"]({routes:x});S.beforeEach(function(t,e,n){var a=t.meta&&t.meta.title;a&&(document.title=a),n()});var T=n("52c1"),O=n("5101"),j=n("365c"),D=(n("f91a"),n("ab56"),n("ab01")),E=n.n(D),P=(n("ea65"),0),L=8;function M(t){return z(V(W(t),t.length*L))}function V(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var n=Array(80),a=1732584193,i=-271733879,o=-1732584194,c=271733878,r=-1009589776,u=0;u<t.length;u+=16){for(var s=a,d=i,l=o,f=c,m=r,h=0;h<80;h++){n[h]=h<16?t[u+h]:q(n[h-3]^n[h-8]^n[h-14]^n[h-16],1);var p=I(I(q(a,5),F(h,i,o,c)),I(I(r,n[h]),N(h)));r=c,c=o,o=q(i,30),i=a,a=p}a=I(a,s),i=I(i,d),o=I(o,l),c=I(c,f),r=I(r,m)}return Array(a,i,o,c,r)}function F(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 N(t){return t<20?1518500249:t<40?1859775393:t<60?-1894007588:-899497514}function I(t,e){var n=(65535&t)+(65535&e),a=(t>>16)+(e>>16)+(n>>16);return a<<16|65535&n}function q(t,e){return t<<e|t>>>32-e}function W(t){for(var e=Array(),n=(1<<L)-1,a=0;a<t.length*L;a+=L)e[a>>5]|=(t.charCodeAt(a/L)&n)<<24-a%32;return e}function z(t){for(var e=P?"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 B=n("0427"),Y={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 i=[],o={},r="",u="",s="",d={pf:2,qwertyuiop:a,Yo4teW_gid:e},l=E()({},d,t);c()(l).forEach(function(t,e,n){i.push(t)}),i=i.sort(),i.forEach(function(t,e,n){o[i[e]]=l[i[e]]}),c()(o).forEach(function(t,e,n){r+=t+"="+o[t]}),u=r.replace(/[^0-9a-zA-Z]/g,""),u=u.toUpperCase();for(var f=0;f<u.length;f++)"A"!=u[f]&&"B"!=u[f]&&"C"!=u[f]&&(s+=u[f]);r=M(s);var m=E()({},t,{asdfghjkl:r},{qwertyuiop:a},{pf:2});return B.stringify(m)}};r["a"].use(O["i"]);var J={index:{},loading:!0},R={index:function(t,e){t.index=e.data}},H={index:function(t,e){var n=t.commit;J.loading=!0;var a=Y.getParams();j["b"].index(a).then(function(t){var e=t.data;J.loading=!1,0==e.err_code?n({type:"index",data:e.data}):2==e.err_code&&Object(O["i"])({message:"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间",duration:3e3})}).catch(function(t){J.loading=!1})}},$={},G={state:J,mutations:R,actions:H,getters:$};r["a"].use(O["i"]);var U={cartCount:"",loginCheck:!1,phpParams:{}},Z={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}},K={cartCount:function(t,e){var n=t.commit;j["b"].cartCount().then(function(t){var e=t.data;0==e.err_code&&n({type:"cartCount",data:e.data})}).catch(function(t){})},loginCheck:function(t,e){var n=t.commit;j["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:""};j["b"].customsrService(n).then(function(t){}).catch(function(t){})},getCommonParams:function(t,e){var n=t.commit,a=Y.getParams();j["b"].getCommonParams(a).then(function(t){var e=t.data;n({type:"phpParams",data:e})}).catch(function(t){})}},Q={},X={state:U,mutations:Z,actions:K,getters:Q},tt=n("0427");r["a"].use(O["i"]);var et={loading:!1},nt={index:function(t,e){t.index=e.data}},at={checkAccountExists:function(t,e){t.commit;et.loading=!0;var n={pf:2,type:2,account:e.account};j["b"].checkAccountExists(tt.stringify(n)).then(function(t){var e=t.data;et.loading=!1,0!=e.err_code&&Object(O["i"])({message:"该手机号尚未注册,我们将为您自动生成猎芯网帐号",duration:3e3})}).catch(function(t){et.loading=!1})},customSmsVerify:function(t,e){t.commit;et.loading=!0;var n={pf:2,verify:"",mobile:e.mobile};j["b"].customSmsVerify(tt.stringify(n)).then(function(t){var e=t.data;et.loading=!1,0==e.err_code?Object(O["i"])({message:e.err_msg,duration:2e3}):Object(O["i"])({message:e.err_msg,duration:3e3})}).catch(function(t){et.loading=!1})},chainFind:function(t,e){t.commit;if(et.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};j["b"].chainFind(tt.stringify(n)).then(function(t){var n=t.data;et.loading=!1,1==n.errcode?Object(O["i"])({message:n.errmsg,duration:3e3}):2==n.errcode?(Object(O["i"])({message:"已为您自动创建的猎芯网登录账号为"+e.mobile+"请使用免密码登录",duration:3e3}),setTimeout(function(){window.location.reload()},3e3)):(Object(O["i"])({message:"您已经提交成功,我们将会在2个工作日内联系您",duration:3e3}),setTimeout(function(){window.location.reload()},3e3))}).catch(function(t){et.loading=!1,Object(O["i"])({message:"网络出现问题,请重试",duration:3e3})})}},it={},ot={state:et,mutations:nt,actions:at,getters:it},ct=n("0427");r["a"].use(O["i"]);var rt={loadStatus:!1,wechatArticle:{},wechatArticleList:[],finished:!1,limits:1},ut={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)}},st={wechatArticle:function(t,e){var n=t.commit;rt.loadStatus=!0;var a={type_id:e.type_id,page:e.page,limit:e.limit};j["b"].wechatArticle(ct.stringify(a)).then(function(t){var a=t.data;rt.loadStatus=!1,0==a.err_code&&n({type:"wechatArticle",data:a.data,page:e.page,limit:e.limit})}).catch(function(t){rt.loadStatus=!1})}},dt={},lt={state:rt,mutations:ut,actions:st,getters:dt},ft=(n("b06f"),n("0427"));r["a"].use(O["i"]);var mt={finished:!1,loadStatus:!1,cat_list:[],content_list:[],rollbanner:[],p:1,limit:10,totalLimit:0},ht={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}},pt={newsArticle:function(t,e){var n=t.commit;mt.loadStatus=!0;var a={cat_id:e.cat_id,p:e.p,limit:e.limit};mt.p=e.p,mt.limit=e.limit,j["b"].newsArticle(ft.stringify(a)).then(function(t){var e=t.data;mt.loadStatus=!1,0==e.err_code&&n({type:"newsArticle",data:e.data})}).catch(function(t){mt.loadStatus=!1})}},gt={},vt={state:mt,mutations:ht,actions:pt,getters:gt},bt=n("0427");r["a"].use(O["i"]);var wt={loadStatus:!1,newsDetailObj:{},newsDetailAd:{}},yt={newsArticleDetail:function(t,e){t.newsDetailObj=e.data},newsArticleDetailAd:function(t,e){t.newsDetailAd=e.data,Y.getCookie("newsdetailpop")?t.newsDetailAd.h5_news_ad_pop="":Y.setCookie("newsdetailpop","1",1)}},kt={newsArticleDetail:function(t,e){var n=t.commit;wt.newsDetailObj={},wt.loadStatus=!0;var a={art_id:e.art_id};j["b"].newsArticleDetail(bt.stringify(a)).then(function(t){wt.loadStatus=!1;var e=t.data;0==e.err_code&&n({type:"newsArticleDetail",data:e.data})}).catch(function(t){wt.loadStatus=!1})},newsArticleDetailAd:function(t,e){var n=t.commit,a={cat_id:e.cat_id},i=Y.getParams(a);j["b"].newsArticleDetailAd(i).then(function(t){var e=t.data;0==e.err_code&&n({type:"newsArticleDetailAd",data:e.data})}).catch(function(t){})}},_t={},At={state:wt,mutations:yt,actions:kt,getters:_t},Ct=n("0427");r["a"].use(O["i"]);var xt={loading:!1,form1ImgShow:!1,form2ImgShow:!1,form1CodeStatus:!1,form2CodeStatus:!1,isRegLogin:!1},St={smsVerify:function(t,e){}},Tt={smsVerify:function(t,e){var n=t.commit;xt.form1CodeStatus=!1,xt.loading=!0;var a={mobile:e.mobile,verify:e.verify,channel:1};j["b"].smsVerify(Ct.stringify(a)).then(function(t){var a=t.data;xt.loading=!1;var i="form2"==e.types?"form2":"form1";xt[i+"ImgShow"]=!1,0==a.err_code?(Object(O["i"])({message:a.err_msg,duration:2e3}),xt[i+"CodeStatus"]=!0,n({type:"smsVerify",data:a.data})):23019==a.err_code||11008==a.err_code||11011==a.err_code?(Object(O["i"])({message:a.err_msg,duration:2e3}),xt[i+"ImgShow"]=!0):Object(O["i"])({message:a.err_msg,duration:3e3})}).catch(function(t){xt.loading=!1})},actionLogin:function(t,e){var n=t.commit;xt.loading=!0,xt.isRegLogin=!1;var a={account:e.account,sms_verify:e.sms_verify};j["b"].actionLogin(Ct.stringify(a)).then(function(t){var a=t.data;if(xt.loading=!1,0==a.err_code){if("form1"==e.form_name)return Object(O["i"])({message:"提交成功",duration:2e3}),void setTimeout(function(){window.location.href="/"},2e3);xt.isRegLogin=!0,n({type:"actionLogin",data:a.data})}else Object(O["i"])({message:a.err_msg,duration:3e3})}).catch(function(t){xt.loading=!1})},feedback:function(t,e){var n=t.commit;xt.loading=!0;var a={type:e.types,content:e.content,mobile:e.mobile,source:window.location.href};j["b"].feedback(Ct.stringify(a)).then(function(t){var e=t.data;xt.loading=!1,0==e.err_code?(Object(O["i"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:e.data})):Object(O["i"])({message:e.err_msg,duration:3e3})}).catch(function(t){xt.loading=!1})}},Ot={},jt={state:xt,mutations:St,actions:Tt,getters:Ot};r["a"].use(T["a"]);var Dt=new T["a"].Store({modules:{home:G,common:X,smt:ot,wxlist:lt,news:vt,newsdetail:At,seo:jt}}),Et=function(t,e){var n=t;return-1==n.indexOf("ptag")&&(n=n.indexOf("?")>-1?n+"&ptag="+e:n+"?ptag="+e),n},Pt=function(t){return t.indexOf("?")>-1?t+"&ptag=index-dynamic":t+"?ptag=index-dynamic"},Lt=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(),u=n.getMinutes(),s=n.getSeconds();return i+"-"+a(o)+"-"+a(c)+" "+a(r)+":"+a(u)+":"+a(s)},Mt={dateTimeFormate:Lt,urlParams:Pt,urlPatg:Et},Vt={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)}},Ft={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)}},Nt={install:function(t){t.directive("backTop",Vt),t.directive("backTopWindow",Ft)}},It=n("897d"),qt=n.n(It),Wt=n("5482"),zt=n.n(Wt);n("13f6"),n("bfd9");r["a"].config.productionTip=!1;var Bt="production";if("production"!=Bt)new zt.a;c()(Mt).forEach(function(t){return r["a"].filter(t,Mt[t])}),r["a"].use(Nt),r["a"].prototype.$http=g.a,g.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",g.a.defaults.withCredentials=!0,g.a.interceptors.request.use(function(t){return"post"==t.method?t.data?-1==t.data.indexOf("&pf=2")&&(t.data+="&pf=2"):t.data="pf=2":"get"==t.method&&(t.params.data?-1==t.params.data.indexOf("&pf=2")&&(t.params.data+="&pf=2"):t.params.data="pf=2"),t},function(t){return i.a.reject(t)});var Yt=Y.getCookie("Yo4teW_gid");if(null==Yt){var Jt=qt()("");Y.setCookie("Yo4teW_gid",Jt,1,window.cookieHostname)}var Rt={urlhash:window.location.hash};Rt=Y.getParams(Rt),j["b"].wxaccess(Rt).then(function(t){var e=t.data;0==e.err_code&&e.data&&(window.location.href=e.data)}),new r["a"]({router:S,store:Dt,render:function(t){return t(h)}}).$mount("#app")},bfd9:function(t,e,n){}});
\ No newline at end of file \ 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