Commit 3a6e6617 by 梁建民

js

parent 8350674b
<!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=//h5static.ichunt.com/static/iconfont.css><script src=get_time.php></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/flexible.min.js charset=utf-8></script><script src=//h5static.ichunt.com/static/shence.min.js charset=utf-8></script><link href=//h5static.ichunt.com/css/chunk-79532a8a.f1694ee3.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-79532a8a.bd277a4a.js rel=prefetch><link href=//h5static.ichunt.com/css/app.49eecd25.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.452e931e.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.a6cc3c8c.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.49eecd25.css rel=stylesheet></head><body><noscript><strong>网站出现了一点小问题,正在修复中.......</strong></noscript><div id=app></div><script>//设置cookie
<!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=//szh5static.ichunt.com/favicon.ico><link rel=stylesheet href=//szh5static.ichunt.com/static/iconfont.css><script src=get_time.php></script><script src=https://res.wx.qq.com/open/js/jweixin-1.3.2.js charset=utf-8></script><script src=//szh5static.ichunt.com/static/flexible.min.js charset=utf-8></script><script src=//szh5static.ichunt.com/static/shence.min.js charset=utf-8></script><link href=//szh5static.ichunt.com/css/chunk-79532a8a.f1694ee3.css rel=prefetch><link href=//szh5static.ichunt.com/js/chunk-79532a8a.bd277a4a.js rel=prefetch><link href=//szh5static.ichunt.com/css/app.49eecd25.css rel=preload as=style><link href=//szh5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=preload as=style><link href=//szh5static.ichunt.com/js/app.175da165.js rel=preload as=script><link href=//szh5static.ichunt.com/js/chunk-vendors.a6cc3c8c.js rel=preload as=script><link href=//szh5static.ichunt.com/css/chunk-vendors.521d5c8e.css rel=stylesheet><link href=//szh5static.ichunt.com/css/app.49eecd25.css rel=stylesheet></head><body><noscript><strong>网站出现了一点小问题,正在修复中.......</strong></noscript><div id=app></div><script>//设置cookie
function SetCookie(name, value, time, domain)//两个参数,一个是cookie的名子,一个是值,一个是天数
{
domain = domain ? ";domain=" + domain : "";
......@@ -219,4 +219,4 @@
user_rank: '0'
});
sensors.quick('autoTrack');
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.a6cc3c8c.js></script><script src=//h5static.ichunt.com/js/app.452e931e.js></script></body></html>
\ No newline at end of file
}</script><script src=//szh5static.ichunt.com/js/chunk-vendors.a6cc3c8c.js></script><script src=//szh5static.ichunt.com/js/app.175da165.js></script></body></html>
\ No newline at end of file
(function(e){function t(t){for(var r,a,c=t[0],u=t[1],s=t[2],f=0,l=[];f<c.length;f++)a=c[f],o[a]&&l.push(o[a][0]),o[a]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);d&&d(t);while(l.length)l.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,a=1;a<n.length;a++){var c=n[a];0!==o[c]&&(r=!1)}r&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},a={app:0},o={app:0},i=[];function c(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-79532a8a":"bd277a4a"}[e]+".js"}function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-79532a8a":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise(function(t,n){for(var r="css/"+({}[e]||e)+"."+{"chunk-79532a8a":"f1694ee3"}[e]+".css",o=u.p+r,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var s=i[c],f=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===r||f===o))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){s=l[c],f=s.getAttribute("data-href");if(f===r||f===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var r=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");i.request=r,delete a[e],d.parentNode.removeChild(d),n(i)},d.href=o;var p=document.getElementsByTagName("head")[0];p.appendChild(d)}).then(function(){a[e]=0}));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var i=new Promise(function(t,n){r=o[e]=[t,n]});t.push(r[2]=i);var s,f=document.createElement("script");f.charset="utf-8",f.timeout=120,u.nc&&f.setAttribute("nonce",u.nc),f.src=c(e),s=function(t){f.onerror=f.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,i=new Error("Loading chunk "+e+" failed.\n("+r+": "+a+")");i.type=r,i.request=a,n[1](i)}o[e]=void 0}};var l=setTimeout(function(){s({type:"timeout",target:f})},12e4);f.onerror=f.onload=s,document.head.appendChild(f)}return Promise.all(t)},u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="//szh5static.ichunt.com/",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],f=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var d=f;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"56d7":function(e,t,n){"use strict";n.r(t);var r=n("0ec6"),a=n.n(r),o=(n("c764"),n("9f07"),n("0964"),n("1cc5")),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("keep-alive",{attrs:{exclude:""}},[n("router-view",{staticClass:"router-view"})],1)],1)},c=[],u={name:"app"},s=u,f=n("25c1"),l=Object(f["a"])(s,i,c,!1,null,null,null);l.options.__file="App.vue";var d=l.exports,p=n("7f43"),h=n.n(p),m=(n("0a16"),n("081a")),v=function(e){return n.e("chunk-79532a8a").then(function(){var t=[n("9553")];e.apply(null,t)}.bind(this)).catch(n.oe)};o["a"].use(m["a"]);var g=[{path:"/home",component:v,meta:{title:"猎芯网"}},{path:"/",redirect:"/home"},{path:"*",redirect:"/"}];g.forEach(function(e){e.path=e.path||"/"+(e.name||"")});var w=new m["a"]({routes:g});w.beforeEach(function(e,t,n){var r=e.meta&&e.meta.title;r&&(document.title=r),n()});var y,b=n("52c1");switch(window.location.hostname){case"www.ichunt.com":y="https://api.ichunt.com/";break;case"www.liexin.com":y="http://api.liexin.com/";break;case"m.liexin.com":y="http://m.liexin.com/";break;case"sz.ichunt.com":y="https://szapi.ichunt.com/";break;case"t.ichunt.com":y="https://api.ichunt.com/";break;default:y="/api/"}var k=y,x={index:k+"index",cartCount:k+"cart/count"},C={index:function(e){return h.a.post(x.index,e)},cartCount:function(e){return h.a.get(x.cartCount,{params:{data:e}})}},T=n("6ef6"),E=(n("ac74"),n("9029"),n("ab01")),j=n.n(E),A=(n("4ddc"),0),_=8;function O(e){return z(P(q(e),e.length*_))}function P(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n=Array(80),r=1732584193,a=-271733879,o=-1732584194,i=271733878,c=-1009589776,u=0;u<e.length;u+=16){for(var s=r,f=a,l=o,d=i,p=c,h=0;h<80;h++){n[h]=h<16?e[u+h]:B(n[h-3]^n[h-8]^n[h-14]^n[h-16],1);var m=D(D(B(r,5),S(h,a,o,i)),D(D(c,n[h]),M(h)));c=i,i=o,o=B(a,30),a=r,r=m}r=D(r,s),a=D(a,f),o=D(o,l),i=D(i,d),c=D(c,p)}return Array(r,a,o,i,c)}function S(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function M(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function D(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function B(e,t){return e<<t|e>>>32-t}function q(e){for(var t=Array(),n=(1<<_)-1,r=0;r<e.length*_;r+=_)t[r>>5]|=(e.charCodeAt(r/_)&n)<<24-r%32;return t}function z(e){for(var t=A?"0123456789ABCDEF":"0123456789abcdef",n="",r=0;r<4*e.length;r++)n+=t.charAt(e[r>>2]>>8*(3-r%4)+4&15)+t.charAt(e[r>>2]>>8*(3-r%4)&15);return n}var N=function(e){var t=new Date;t.setTime(1e3*e);var n=t.getFullYear(),r=t.getMonth()+1;r=r<10?"0"+r:r;var a=t.getDate();a=a<10?"0"+a:a;var o=t.getHours();o=o<10?"0"+o:o;var i=t.getMinutes(),c=t.getSeconds();return i=i<10?"0"+i:i,c=c<10?"0"+c:c,n+"-"+r+"-"+a+" "},F={dateTimeFormate:N},Y=n("0427"),$={setCookie:function(e,t,n,r){r=r?";domain="+r:"";var a=n,o=new Date;return o.setTime(o.getTime()+24*a*60*60*1e3),document.cookie=e+"="+encodeURIComponent(t)+";expires="+o.toGMTString()+";path=/"+r,!0},getCookie:function(e){for(var t=document.cookie,n=t.split("; "),r=0;r<n.length;r++){var a=n[r].split("=");if(e==a[0])return a[1]}return""},delCookie:function(e){var t=new Date;t.setTime(t.getTime()-1);var n=this.getCookie(e);null!=n&&(document.cookie=e+"="+n+";expires="+t.toGMTString())},getParams:function(e){var t=window.fwtime-Math.floor((new Date).getTime()/1e3),n=Math.floor((new Date).getTime()/1e3)+t,r=getCookie("Yo4teW_gid"),o=[],i={},c="",u="",s="",f={pf:2,qwertyuiop:n,Yo4teW_gid:r},l=j()({},f,e);a()(l).forEach(function(e,t,n){o.push(e)}),o=o.sort(),o.forEach(function(e,t,n){i[o[t]]=l[o[t]]}),a()(i).forEach(function(e,t,n){c+=e+"="+i[e]}),u=c.replace(/[^0-9a-zA-Z]/g,""),u=u.toUpperCase();for(var d=0;d<u.length;d++)"A"!=u[d]&&"B"!=u[d]&&"C"!=u[d]&&(s+=u[d]);c=O(s);var p=j()({},e,{asdfghjkl:c},{qwertyuiop:n},{pf:2});return Y.stringify(p)}};o["a"].use(T["d"]);var G={index:{}},J={index:function(e,t){e.index=t.data}},L={index:function(e,t){var n=e.commit,r=$.getParams();C.index(r).then(function(e){var t=e.data;0==t.err_code&&n({type:"index",data:t.data})}).catch(function(e){Object(T["d"])({message:"网络出现问题,请重试",duration:1500})})}},U={},W={state:G,mutations:J,actions:L,getters:U};o["a"].use(T["d"]);var H={cartCount:""},I={cartCount:function(e,t){e.cartCount=0==t.data?"":t.data}},R={cartCount:function(e,t){var n=e.commit;C.cartCount().then(function(e){var t=e.data;0==t.err_code&&n({type:"cartCount",data:t.data})}).catch(function(e){Object(T["d"])({message:"网络出现问题,请重试",duration:1500})})}},Z={},K={state:H,mutations:I,actions:R,getters:Z};o["a"].use(b["a"]);var Q=new b["a"].Store({modules:{home:W,common:K}});n("e1a5"),n("bfd9");a()(F).forEach(function(e){return o["a"].filter(e,F[e])}),o["a"].prototype.$http=h.a,h.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",o["a"].config.productionTip=!0,new o["a"]({router:w,store:Q,render:function(e){return e(d)}}).$mount("#app")},bfd9:function(e,t,n){}});
//# sourceMappingURL=app.175da165.js.map
\ No newline at end of file
(function(e){function t(t){for(var r,a,c=t[0],u=t[1],s=t[2],f=0,l=[];f<c.length;f++)a=c[f],o[a]&&l.push(o[a][0]),o[a]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);d&&d(t);while(l.length)l.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,a=1;a<n.length;a++){var c=n[a];0!==o[c]&&(r=!1)}r&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},a={app:0},o={app:0},i=[];function c(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-79532a8a":"bd277a4a"}[e]+".js"}function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-79532a8a":1};a[e]?t.push(a[e]):0!==a[e]&&n[e]&&t.push(a[e]=new Promise(function(t,n){for(var r="css/"+({}[e]||e)+"."+{"chunk-79532a8a":"f1694ee3"}[e]+".css",o=u.p+r,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var s=i[c],f=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===r||f===o))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){s=l[c],f=s.getAttribute("data-href");if(f===r||f===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var r=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");i.request=r,delete a[e],d.parentNode.removeChild(d),n(i)},d.href=o;var p=document.getElementsByTagName("head")[0];p.appendChild(d)}).then(function(){a[e]=0}));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var i=new Promise(function(t,n){r=o[e]=[t,n]});t.push(r[2]=i);var s,f=document.createElement("script");f.charset="utf-8",f.timeout=120,u.nc&&f.setAttribute("nonce",u.nc),f.src=c(e),s=function(t){f.onerror=f.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,i=new Error("Loading chunk "+e+" failed.\n("+r+": "+a+")");i.type=r,i.request=a,n[1](i)}o[e]=void 0}};var l=setTimeout(function(){s({type:"timeout",target:f})},12e4);f.onerror=f.onload=s,document.head.appendChild(f)}return Promise.all(t)},u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="//h5static.ichunt.com/",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],f=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var d=f;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"56d7":function(e,t,n){"use strict";n.r(t);var r=n("0ec6"),a=n.n(r),o=(n("c764"),n("9f07"),n("0964"),n("1cc5")),i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("keep-alive",{attrs:{exclude:""}},[n("router-view",{staticClass:"router-view"})],1)],1)},c=[],u={name:"app"},s=u,f=n("25c1"),l=Object(f["a"])(s,i,c,!1,null,null,null);l.options.__file="App.vue";var d=l.exports,p=n("7f43"),h=n.n(p),m=(n("0a16"),n("081a")),v=function(e){return n.e("chunk-79532a8a").then(function(){var t=[n("9553")];e.apply(null,t)}.bind(this)).catch(n.oe)};o["a"].use(m["a"]);var g=[{path:"/home",component:v,meta:{title:"猎芯网"}},{path:"/",redirect:"/home"},{path:"*",redirect:"/"}];g.forEach(function(e){e.path=e.path||"/"+(e.name||"")});var w=new m["a"]({routes:g});w.beforeEach(function(e,t,n){var r=e.meta&&e.meta.title;r&&(document.title=r),n()});var y,b=n("52c1");switch(window.location.hostname){case"www.ichunt.com":y="https://api.ichunt.com/";break;case"www.liexin.com":y="http://api.liexin.com/";break;case"m.liexin.com":y="http://m.liexin.com/";break;case"sz.ichunt.com":y="https://szapi.ichunt.com/";break;case"t.ichunt.com":y="https://api.ichunt.com/";break;default:y="/api/"}var k=y,x={index:k+"index",cartCount:k+"cart/count"},C={index:function(e){return h.a.post(x.index,e)},cartCount:function(e){return h.a.get(x.cartCount,{params:{data:e}})}},T=n("6ef6"),E=(n("ac74"),n("9029"),n("ab01")),j=n.n(E),A=(n("4ddc"),0),_=8;function O(e){return N(P(q(e),e.length*_))}function P(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n=Array(80),r=1732584193,a=-271733879,o=-1732584194,i=271733878,c=-1009589776,u=0;u<e.length;u+=16){for(var s=r,f=a,l=o,d=i,p=c,h=0;h<80;h++){n[h]=h<16?e[u+h]:B(n[h-3]^n[h-8]^n[h-14]^n[h-16],1);var m=D(D(B(r,5),S(h,a,o,i)),D(D(c,n[h]),M(h)));c=i,i=o,o=B(a,30),a=r,r=m}r=D(r,s),a=D(a,f),o=D(o,l),i=D(i,d),c=D(c,p)}return Array(r,a,o,i,c)}function S(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function M(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function D(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function B(e,t){return e<<t|e>>>32-t}function q(e){for(var t=Array(),n=(1<<_)-1,r=0;r<e.length*_;r+=_)t[r>>5]|=(e.charCodeAt(r/_)&n)<<24-r%32;return t}function N(e){for(var t=A?"0123456789ABCDEF":"0123456789abcdef",n="",r=0;r<4*e.length;r++)n+=t.charAt(e[r>>2]>>8*(3-r%4)+4&15)+t.charAt(e[r>>2]>>8*(3-r%4)&15);return n}var z=function(e){var t=new Date;t.setTime(1e3*e);var n=t.getFullYear(),r=t.getMonth()+1;r=r<10?"0"+r:r;var a=t.getDate();a=a<10?"0"+a:a;var o=t.getHours();o=o<10?"0"+o:o;var i=t.getMinutes(),c=t.getSeconds();return i=i<10?"0"+i:i,c=c<10?"0"+c:c,n+"-"+r+"-"+a+" "},F={dateTimeFormate:z},Y=n("0427"),$={setCookie:function(e,t,n,r){r=r?";domain="+r:"";var a=n,o=new Date;return o.setTime(o.getTime()+24*a*60*60*1e3),document.cookie=e+"="+encodeURIComponent(t)+";expires="+o.toGMTString()+";path=/"+r,!0},getCookie:function(e){for(var t=document.cookie,n=t.split("; "),r=0;r<n.length;r++){var a=n[r].split("=");if(e==a[0])return a[1]}return""},delCookie:function(e){var t=new Date;t.setTime(t.getTime()-1);var n=this.getCookie(e);null!=n&&(document.cookie=e+"="+n+";expires="+t.toGMTString())},getParams:function(e){var t=window.fwtime-Math.floor((new Date).getTime()/1e3),n=Math.floor((new Date).getTime()/1e3)+t,r=getCookie("Yo4teW_gid"),o=[],i={},c="",u="",s="",f={pf:2,qwertyuiop:n,Yo4teW_gid:r},l=j()({},f,e);a()(l).forEach(function(e,t,n){o.push(e)}),o=o.sort(),o.forEach(function(e,t,n){i[o[t]]=l[o[t]]}),a()(i).forEach(function(e,t,n){c+=e+"="+i[e]}),u=c.replace(/[^0-9a-zA-Z]/g,""),u=u.toUpperCase();for(var d=0;d<u.length;d++)"A"!=u[d]&&"B"!=u[d]&&"C"!=u[d]&&(s+=u[d]);c=O(s);var p=j()({},e,{asdfghjkl:c},{qwertyuiop:n},{pf:2});return Y.stringify(p)}};o["a"].use(T["d"]);var G={index:{}},J={index:function(e,t){e.index=t.data}},L={index:function(e,t){var n=e.commit,r=$.getParams();C.index(r).then(function(e){var t=e.data;0==t.err_code&&n({type:"index",data:t.data})}).catch(function(e){Object(T["d"])({message:"网络出现问题,请重试",duration:1500})})}},U={},W={state:G,mutations:J,actions:L,getters:U};o["a"].use(T["d"]);var H={cartCount:""},I={cartCount:function(e,t){e.cartCount=0==t.data?"":t.data}},R={cartCount:function(e,t){var n=e.commit;C.cartCount().then(function(e){var t=e.data;0==t.err_code&&n({type:"cartCount",data:t.data})}).catch(function(e){Object(T["d"])({message:"网络出现问题,请重试",duration:1500})})}},Z={},K={state:H,mutations:I,actions:R,getters:Z};o["a"].use(b["a"]);var Q=new b["a"].Store({modules:{home:W,common:K}});n("e1a5"),n("bfd9");a()(F).forEach(function(e){return o["a"].filter(e,F[e])}),o["a"].prototype.$http=h.a,h.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",o["a"].config.productionTip=!0,new o["a"]({router:w,store:Q,render:function(e){return e(d)}}).$mount("#app")},bfd9:function(e,t,n){}});
//# sourceMappingURL=app.452e931e.js.map
\ No newline at end of file
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? '//h5static.ichunt.com/' : '//h5static.ichunt.com/',
publicPath: process.env.NODE_ENV === 'production' ? '//szh5static.ichunt.com/' : '//szh5static.ichunt.com/',
outputDir: 'view',
assetsDir: '',
devServer: {
......
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