Commit 7e755385 by 梁建民

bug

parent efef3120
...@@ -369,7 +369,7 @@ export const services = { ...@@ -369,7 +369,7 @@ export const services = {
getWalletInfo(params) { getWalletInfo(params) {
return axios.get(apis.getWalletInfo, { return axios.get(apis.getWalletInfo, {
params: { params: {
data: params ...params
} }
}) })
}, },
......
...@@ -55,7 +55,6 @@ axios.interceptors.request.use(function (config) { ...@@ -55,7 +55,6 @@ axios.interceptors.request.use(function (config) {
} }
} }
} }
return config; return config;
}, function (error) { }, function (error) {
return Promise.reject(error); return Promise.reject(error);
......
...@@ -243,7 +243,12 @@ routes.forEach(route => { ...@@ -243,7 +243,12 @@ routes.forEach(route => {
route.path = route.path || '/' + (route.name || ''); route.path = route.path || '/' + (route.name || '');
}); });
const router = new Router({routes}); const router = new Router({
routes: routes,
scrollBehavior(to, from, savedPosition) {
return {x: 0, y: 0}
}
});
export { export {
......
<!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-04919bf8.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-08d96656.ee089bf8.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0d173d7c.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0f6c30a5.29799028.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-206b79a6.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-23376506.16c2a686.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-252b3a4b.ddfd4037.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2d46f0b5.016efea4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3edc1273.e997ff53.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-40d9be3a.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-411c813f.768ec1f7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-544c8192.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5599f6b0.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5935c7ce.43c91bcb.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5f6a2832.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6199b240.f866fa36.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7301a23e.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-74b6e450.a9860cbc.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7b85b420.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7ca9eb7d.5cdc36e3.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7f31d2db.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-8dd312b6.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-90775f4a.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9c7774ae.22356d82.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-b392abb4.35e6bd82.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-cea6557a.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-d0339a00.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-f032f5de.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-04919bf8.2c19a49d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-08d96656.6c1bb75b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0d173d7c.da37e331.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0f6c30a5.25afe783.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-206b79a6.21d0c64a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-23376506.be746015.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-252b3a4b.658eb76e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2d46f0b5.d9da17c1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3edc1273.49e702bf.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-40d9be3a.0ddd9e78.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-411c813f.52702479.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-544c8192.ba4beddb.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5599f6b0.ad35e295.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5935c7ce.f8f4a7d5.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5f6a2832.101bbbe8.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6199b240.c0fc563b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7301a23e.0f3cab4f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-74b6e450.5927e89c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7b85b420.e84552b6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7ca9eb7d.a107a3a4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7f31d2db.ceecd51b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-8dd312b6.e1aeec9f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-90775f4a.77028cc7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9c7774ae.eb7e97f9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-b392abb4.ab4563df.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-cea6557a.58b4368a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-d0339a00.142fb6c7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-f032f5de.17ad67a8.js rel=prefetch><link href=//h5static.ichunt.com/css/app.b0927897.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.4ffbf269.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.8eeb25c9.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.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-04919bf8.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-08d96656.ee089bf8.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0d173d7c.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0f6c30a5.29799028.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-206b79a6.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-23376506.16c2a686.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-252b3a4b.ddfd4037.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2d46f0b5.016efea4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3edc1273.e997ff53.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-40d9be3a.d7e46390.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-411c813f.768ec1f7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-544c8192.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5599f6b0.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5935c7ce.43c91bcb.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5f6a2832.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6199b240.f866fa36.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7301a23e.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-74b6e450.a9860cbc.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7b85b420.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7ca9eb7d.5cdc36e3.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7f31d2db.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-8dd312b6.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-90775f4a.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9c7774ae.22356d82.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-b392abb4.35e6bd82.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-cea6557a.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-d0339a00.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-f032f5de.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-04919bf8.2c19a49d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-08d96656.6c1bb75b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0d173d7c.da37e331.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0f6c30a5.25afe783.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-206b79a6.21d0c64a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-23376506.be746015.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-252b3a4b.658eb76e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2d46f0b5.d9da17c1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3edc1273.49e702bf.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-40d9be3a.0ddd9e78.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-411c813f.52702479.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-544c8192.ba4beddb.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5599f6b0.ad35e295.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5935c7ce.f8f4a7d5.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5f6a2832.101bbbe8.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6199b240.c0fc563b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7301a23e.0f3cab4f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-74b6e450.5927e89c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7b85b420.e84552b6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7ca9eb7d.a107a3a4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7f31d2db.ceecd51b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-8dd312b6.e1aeec9f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-90775f4a.77028cc7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9c7774ae.eb7e97f9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-b392abb4.ab4563df.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-cea6557a.58b4368a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-d0339a00.142fb6c7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-f032f5de.17ad67a8.js rel=prefetch><link href=//h5static.ichunt.com/css/app.b0927897.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.76d47da3.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.8eeb25c9.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.fa7e75a9.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.8eeb25c9.js></script><script src=//h5static.ichunt.com/js/app.4ffbf269.js></script></body></html> }</script><script src=//h5static.ichunt.com/js/chunk-vendors.8eeb25c9.js></script><script src=//h5static.ichunt.com/js/app.76d47da3.js></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function t(t){for(var a,i,c=t[0],s=t[1],d=t[2],u=0,l=[];u<c.length;u++)i=c[u],o[i]&&l.push(o[i][0]),o[i]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a]);f&&f(t);while(l.length)l.shift()();return r.push.apply(r,d||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==o[c]&&(a=!1)}a&&(r.splice(t--,1),e=s(s.s=n[0]))}return e}var a={},i={app:0},o={app:0},r=[];function c(e){return s.p+"js/"+({}[e]||e)+"."+{"chunk-08d96656":"6c1bb75b","chunk-0f6c30a5":"25afe783","chunk-23376506":"be746015","chunk-252b3a4b":"658eb76e","chunk-2d46f0b5":"d9da17c1","chunk-3edc1273":"49e702bf","chunk-40d9be3a":"0ddd9e78","chunk-411c813f":"52702479","chunk-5935c7ce":"f8f4a7d5","chunk-6199b240":"c0fc563b","chunk-74b6e450":"5927e89c","chunk-04919bf8":"2c19a49d","chunk-0d173d7c":"da37e331","chunk-206b79a6":"21d0c64a","chunk-544c8192":"ba4beddb","chunk-5599f6b0":"ad35e295","chunk-5f6a2832":"101bbbe8","chunk-7301a23e":"0f3cab4f","chunk-7b85b420":"e84552b6","chunk-7f31d2db":"ceecd51b","chunk-8dd312b6":"e1aeec9f","chunk-90775f4a":"77028cc7","chunk-cea6557a":"58b4368a","chunk-d0339a00":"142fb6c7","chunk-f032f5de":"17ad67a8","chunk-7ca9eb7d":"a107a3a4","chunk-9c7774ae":"eb7e97f9","chunk-b392abb4":"ab4563df"}[e]+".js"}function s(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={"chunk-08d96656":1,"chunk-0f6c30a5":1,"chunk-23376506":1,"chunk-252b3a4b":1,"chunk-2d46f0b5":1,"chunk-3edc1273":1,"chunk-40d9be3a":1,"chunk-411c813f":1,"chunk-5935c7ce":1,"chunk-6199b240":1,"chunk-74b6e450":1,"chunk-04919bf8":1,"chunk-0d173d7c":1,"chunk-206b79a6":1,"chunk-544c8192":1,"chunk-5599f6b0":1,"chunk-5f6a2832":1,"chunk-7301a23e":1,"chunk-7b85b420":1,"chunk-7f31d2db":1,"chunk-8dd312b6":1,"chunk-90775f4a":1,"chunk-cea6557a":1,"chunk-d0339a00":1,"chunk-f032f5de":1,"chunk-7ca9eb7d":1,"chunk-9c7774ae":1,"chunk-b392abb4":1};i[e]?t.push(i[e]):0!==i[e]&&n[e]&&t.push(i[e]=new Promise(function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-08d96656":"ee089bf8","chunk-0f6c30a5":"29799028","chunk-23376506":"16c2a686","chunk-252b3a4b":"ddfd4037","chunk-2d46f0b5":"016efea4","chunk-3edc1273":"e997ff53","chunk-40d9be3a":"d7e46390","chunk-411c813f":"768ec1f7","chunk-5935c7ce":"43c91bcb","chunk-6199b240":"f866fa36","chunk-74b6e450":"a9860cbc","chunk-04919bf8":"92647ec0","chunk-0d173d7c":"92647ec0","chunk-206b79a6":"92647ec0","chunk-544c8192":"92647ec0","chunk-5599f6b0":"92647ec0","chunk-5f6a2832":"92647ec0","chunk-7301a23e":"92647ec0","chunk-7b85b420":"92647ec0","chunk-7f31d2db":"92647ec0","chunk-8dd312b6":"92647ec0","chunk-90775f4a":"92647ec0","chunk-cea6557a":"92647ec0","chunk-d0339a00":"92647ec0","chunk-f032f5de":"92647ec0","chunk-7ca9eb7d":"5cdc36e3","chunk-9c7774ae":"22356d82","chunk-b392abb4":"35e6bd82"}[e]+".css",o=s.p+a,r=document.getElementsByTagName("link"),c=0;c<r.length;c++){var d=r[c],u=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(u===a||u===o))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){d=l[c],u=d.getAttribute("data-href");if(u===a||u===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||o,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.request=a,delete i[e],f.parentNode.removeChild(f),n(r)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)}).then(function(){i[e]=0}));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var r=new Promise(function(t,n){a=o[e]=[t,n]});t.push(a[2]=r);var d,u=document.createElement("script");u.charset="utf-8",u.timeout=120,s.nc&&u.setAttribute("nonce",s.nc),u.src=c(e),d=function(t){u.onerror=u.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+i+")");r.type=a,r.request=i,n[1](r)}o[e]=void 0}};var l=setTimeout(function(){d({type:"timeout",target:u})},12e4);u.onerror=u.onload=d,document.head.appendChild(u)}return Promise.all(t)},s.m=e,s.c=a,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)s.d(n,a,function(t){return e[t]}.bind(null,a));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="//h5static.ichunt.com/",s.oe=function(e){throw e};var d=window["webpackJsonp"]=window["webpackJsonp"]||[],u=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var f=u;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"365c":function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h});var a,i,o,r=n("bd31"),c=n("7f43"),s=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 d=o,u=i,l=a,f={index:u+"index",loginCheck:l+"login/check",cartCount:l+"cart/count",customsrService:l+"public/customsrservice",getCommonParams:u+"getcommonparams",wxaccess:u+"api/wxaccess",checkAccountExists:l+"public/checkAccountExists",customSmsVerify:l+"public/customSmsVerify",chainFind:u+"Service/chainFind",wechatArticle:l+"Wechat/WechatArticleJinJi/article",newsArticle:l+"Article/Article/index",newsArticleDetail:l+"Article/Article/details",newsArticleDetailAd:u+"api/newsdetailad",actionLogin:l+"login/action",smsVerify:l+"public/smsVerify",feedback:l+"help/help/feedback",getUserCurrentPoint:l+"/point/getUserCurrentPoint",isSignInToday:l+"signIn/isSignInToday",signIn:l+"signIn/signIn",checkMktScore:l+"user/checkMktScore",getPointPrize:l+"point/getPointPrize",exchangePrize:l+"point/exchangePrize",getUserPointExchangeDetail:l+"point/getUserPointExchangeDetail",recvlist:l+"address/recvlist",pointruleApi:u+"api/pointrule",getUserPointDetail:l+"point/getUserPointDetail",getUserPointExchangeList:l+"point/getUserPointExchangeList",getWalletInfo:l+"wallet/info",activateWallet:l+"wallet/activate",sendSafesms:l+"wallet/safesms",verifyResetsms:l+"wallet/verifyresetsms",changeWalletpwd:l+"wallet/changepwd",walletListLog:l+"wallet/log",walletRecordList:l+"wallet/lists",verifySafeMobile:l+"wallet/verifysafe",getBindBankmsg:l+"wallet/getbankmsg",bindBankCard:l+"wallet/bindbankcard",walletRecharge:l+"wallet/recharge",walletWithdraw:l+"wallet/withdraw",rechargeWithdrawOrderIfo:l+"wallet/orderinfo",payTodo:l+"pay/todo",orderInfo:l+"order/info"},h={index:function(e){return s.a.post(f.index,e)},loginCheck:function(e){return s.a.get(f.loginCheck,{params:Object(r["a"])({},e)})},smsVerify:function(e){return s.a.post(f.smsVerify,e)},actionLogin:function(e){return s.a.post(f.actionLogin,e)},feedback:function(e){return s.a.post(f.feedback,e)},cartCount:function(e){return s.a.get(f.cartCount,{params:Object(r["a"])({},e)})},customsrService:function(e){return s.a.get(f.customsrService,{params:Object(r["a"])({},e)})},getCommonParams:function(e){return s.a.post(f.getCommonParams,e)},wxaccess:function(e){return s.a.post(f.wxaccess,e)},checkAccountExists:function(e){return s.a.post(f.checkAccountExists,e)},customSmsVerify:function(e){return s.a.post(f.customSmsVerify,e)},chainFind:function(e){return s.a.post(f.chainFind,e)},wechatArticle:function(e){return s.a.post(f.wechatArticle,e)},newsArticle:function(e){return s.a.post(f.newsArticle,e)},newsArticleDetail:function(e){return s.a.post(f.newsArticleDetail,e)},newsArticleDetailAd:function(e){return s.a.post(f.newsArticleDetailAd,e)},getUserCurrentPoint:function(e){return s.a.post(f.getUserCurrentPoint,e)},isSignInToday:function(e){return s.a.post(f.isSignInToday,e)},signIn:function(e){return s.a.post(f.signIn,e)},checkMktScore:function(e){return s.a.post(f.checkMktScore,e)},getPointPrize:function(e){return s.a.post(f.getPointPrize,e)},exchangePrize:function(e){return s.a.post(f.exchangePrize,e)},recvlist:function(e){return s.a.post(f.recvlist,e)},getUserPointExchangeDetail:function(e){return s.a.post(f.getUserPointExchangeDetail,e)},pointruleApi:function(e){return s.a.post(f.pointruleApi,e)},getUserPointDetail:function(e){return s.a.post(f.getUserPointDetail,e)},getUserPointExchangeList:function(e){return s.a.post(f.getUserPointExchangeList,e)},getWalletInfo:function(e){return s.a.get(f.getWalletInfo,{params:{data:e}})},activateWallet:function(e){return s.a.post(f.activateWallet,e)},sendSafesms:function(e){return s.a.post(f.sendSafesms,e)},verifyResetsms:function(e){return s.a.post(f.verifyResetsms,e)},walletListLog:function(e){return s.a.post(f.walletListLog,e)},changeWalletpwd:function(e){return s.a.post(f.changeWalletpwd,e)},walletRecordList:function(e){return s.a.post(f.walletRecordList,e)},verifySafeMobile:function(e){return s.a.post(f.verifySafeMobile,e)},getBindBankmsg:function(e){return s.a.post(f.getBindBankmsg,e)},bindBankCard:function(e){return s.a.post(f.bindBankCard,e)},walletRecharge:function(e){return s.a.post(f.walletRecharge,e)},walletWithdraw:function(e){return s.a.post(f.walletWithdraw,e)},rechargeWithdrawOrderIfo:function(e){return s.a.post(f.rechargeWithdrawOrderIfo,e)},payTodo:function(e){return s.a.post(f.payTodo,e)},orderInfo:function(e){return s.a.post(f.orderInfo,e)}}},4260:function(e,t,n){"use strict";n("ac74"),n("9029");var a=n("0ec6"),i=n.n(a),o=(n("c764"),n("ab01")),r=n.n(o),c=(n("4ddc"),0),s=8;function d(e){return p(u(g(e),e.length*s))}function u(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n=Array(80),a=1732584193,i=-271733879,o=-1732584194,r=271733878,c=-1009589776,s=0;s<e.length;s+=16){for(var d=a,u=i,g=o,p=r,b=c,v=0;v<80;v++){n[v]=v<16?e[s+v]:m(n[v-3]^n[v-8]^n[v-14]^n[v-16],1);var w=h(h(m(a,5),l(v,i,o,r)),h(h(c,n[v]),f(v)));c=r,r=o,o=m(i,30),i=a,a=w}a=h(a,d),i=h(i,u),o=h(o,g),r=h(r,p),c=h(c,b)}return Array(a,i,o,r,c)}function l(e,t,n,a){return e<20?t&n|~t&a:e<40?t^n^a:e<60?t&n|t&a|n&a:t^n^a}function f(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function h(e,t){var n=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(n>>16);return a<<16|65535&n}function m(e,t){return e<<t|e>>>32-t}function g(e){for(var t=Array(),n=(1<<s)-1,a=0;a<e.length*s;a+=s)t[a>>5]|=(e.charCodeAt(a/s)&n)<<24-a%32;return t}function p(e){for(var t=c?"0123456789ABCDEF":"0123456789abcdef",n="",a=0;a<4*e.length;a++)n+=t.charAt(e[a>>2]>>8*(3-a%4)+4&15)+t.charAt(e[a>>2]>>8*(3-a%4)&15);return n}var b=n("0427");t["a"]={setCookie:function(e,t,n,a){a=a?";domain="+a:"";var i=n,o=new Date;return o.setTime(o.getTime()+24*i*60*60*1e3),document.cookie=e+"="+encodeURIComponent(t)+";expires="+o.toGMTString()+";path=/"+a,!0},getCookie:function(e){for(var t=document.cookie,n=t.split("; "),a=0;a<n.length;a++){var i=n[a].split("=");if(e==i[0])return i[1]}return null},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=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=[],c={},s="",u="",l="",f={pf:2,qwertyuiop:a,Yo4teW_gid:t},h=r()({},f,e);i()(h).forEach(function(e,t,n){o.push(e)}),o=o.sort(),o.forEach(function(e,t,n){c[o[t]]=h[o[t]]}),i()(c).forEach(function(e,t,n){s+=e+"="+c[e]}),u=s.replace(/[^0-9a-zA-Z]/g,""),u=u.toUpperCase();for(var m=0;m<u.length;m++)"A"!=u[m]&&"B"!=u[m]&&"C"!=u[m]&&(l+=u[m]);s=d(l);var g=r()({},e,{asdfghjkl:s},{qwertyuiop:a},{pf:2});return b.stringify(g)},isLogin:function(){var e=0;return this.getCookie("Yo4teW_uid")&&(e=2,this.getCookie("Yo4teW_skey")&&(e=1)),e},loginBack:function(){},compare:function(e,t){return function(n,a){var i=n[e],o=a[e];return t?i-o:o-i}},distinct:function(e){var t,n,a=e,i=[],o=a.length;for(t=0;t<o;t++){for(n=t+1;n<o;n++)a[t]===a[n]&&(n=++t);i.push(a[t])}return i}}},"56d7":function(e,t,n){"use strict";n.r(t);var a=n("a700"),i=n.n(a),o=n("bd31"),r=n("0ec6"),c=n.n(r),s=(n("c764"),n("9f07"),n("0964"),n("1cc5")),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("keep-alive",{attrs:{exclude:"newsDetail,pointchange,wallet,walletRetrieve,walletDetail,walletRecord,walletStatus,walletWithdraw,walletRecharge"}},[n("router-view",{staticClass:"router-view"})],1)],1)},u=[],l={name:"app"},f=l,h=n("fc05"),m=Object(h["a"])(f,d,u,!1,null,null,null),g=m.exports,p=n("7f43"),b=n.n(p),v=(n("0a16"),n("081a")),w=function(e){return n.e("chunk-9c7774ae").then(function(){var t=[n("9553")];e.apply(null,t)}.bind(this)).catch(n.oe)},y=function(e){return n.e("chunk-40d9be3a").then(function(){var t=[n("2500")];e.apply(null,t)}.bind(this)).catch(n.oe)},_=function(e){return n.e("chunk-5935c7ce").then(function(){var t=[n("9055")];e.apply(null,t)}.bind(this)).catch(n.oe)},k=function(e){return n.e("chunk-6199b240").then(function(){var t=[n("bd04")];e.apply(null,t)}.bind(this)).catch(n.oe)},C=function(e){return n.e("chunk-252b3a4b").then(function(){var t=[n("2536")];e.apply(null,t)}.bind(this)).catch(n.oe)},S=function(e){return n.e("chunk-411c813f").then(function(){var t=[n("832f")];e.apply(null,t)}.bind(this)).catch(n.oe)},P=function(e){return n.e("chunk-0f6c30a5").then(function(){var t=[n("f825")];e.apply(null,t)}.bind(this)).catch(n.oe)},q=function(e){return n.e("chunk-23376506").then(function(){var t=[n("9c63")];e.apply(null,t)}.bind(this)).catch(n.oe)},O=function(e){return n.e("chunk-7ca9eb7d").then(function(){var t=[n("c46d")];e.apply(null,t)}.bind(this)).catch(n.oe)},x=function(e){return n.e("chunk-3edc1273").then(function(){var t=[n("ca8b")];e.apply(null,t)}.bind(this)).catch(n.oe)},D=function(e){return n.e("chunk-2d46f0b5").then(function(){var t=[n("4835")];e.apply(null,t)}.bind(this)).catch(n.oe)},A=function(e){return n.e("chunk-08d96656").then(function(){var t=[n("0224")];e.apply(null,t)}.bind(this)).catch(n.oe)},j=function(e){return n.e("chunk-b392abb4").then(function(){var t=[n("9646")];e.apply(null,t)}.bind(this)).catch(n.oe)},I=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-f032f5de")]).then(function(){var t=[n("7526")];e.apply(null,t)}.bind(this)).catch(n.oe)},T=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-7f31d2db")]).then(function(){var t=[n("e175")];e.apply(null,t)}.bind(this)).catch(n.oe)},L=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-04919bf8")]).then(function(){var t=[n("51d9")];e.apply(null,t)}.bind(this)).catch(n.oe)},W=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-8dd312b6")]).then(function(){var t=[n("f9f6")];e.apply(null,t)}.bind(this)).catch(n.oe)},R=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-cea6557a")]).then(function(){var t=[n("bdad")];e.apply(null,t)}.bind(this)).catch(n.oe)},E=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-5599f6b0")]).then(function(){var t=[n("6a6c")];e.apply(null,t)}.bind(this)).catch(n.oe)},U=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-0d173d7c")]).then(function(){var t=[n("c96d")];e.apply(null,t)}.bind(this)).catch(n.oe)},F=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-5f6a2832")]).then(function(){var t=[n("a34f")];e.apply(null,t)}.bind(this)).catch(n.oe)},z=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-7b85b420")]).then(function(){var t=[n("a619")];e.apply(null,t)}.bind(this)).catch(n.oe)},B=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-90775f4a")]).then(function(){var t=[n("10b5")];e.apply(null,t)}.bind(this)).catch(n.oe)},M=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-7301a23e")]).then(function(){var t=[n("2d18")];e.apply(null,t)}.bind(this)).catch(n.oe)},V=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-206b79a6")]).then(function(){var t=[n("4c69")];e.apply(null,t)}.bind(this)).catch(n.oe)},Y=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-d0339a00")]).then(function(){var t=[n("a179")];e.apply(null,t)}.bind(this)).catch(n.oe)},N=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-544c8192")]).then(function(){var t=[n("82d7")];e.apply(null,t)}.bind(this)).catch(n.oe)};s["a"].use(v["a"]);var G=[{path:"/",component:w,meta:{title:"猎芯网"}},{path:"/smt",component:y,meta:{title:"SMT打样"}},{path:"/supplier",component:_,meta:{title:"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"}},{path:"/wxlist",name:"Wxlist",component:k,meta:{title:"猎芯网"}},{path:"/news",name:"News",component:C,meta:{title:"猎芯网-新闻列表"}},{path:"/seo",name:"Seo",component:P,meta:{title:"猎芯网——京东战投元器件商城"}},{path:"/findthing",name:"Findthing",component:q,meta:{title:"猎芯网——快速找料"}},{path:"/pointmall",name:"Pointmall",component:O,meta:{title:"积分商城"}},{path:"/pointchange",name:"Pointchange",component:A,meta:{title:"兑换成功",back:!0}},{path:"/exchange",component:D,meta:{title:"兑换记录",back:!0}},{path:"/point",component:x,meta:{title:"积分明细",back:!0}},{path:"/pointrule",component:j,meta:{title:"积分规则"}},{path:"/news/detail/:art_id/:cat_id",name:"NewsDetail",component:S,meta:{title:"猎芯网-新闻详情"}},{path:"/wallet",component:I,meta:{title:"猎芯网-我的钱包"}},{path:"/wallet/status",component:T,meta:{title:"猎芯网-钱包状态"}},{path:"/wallet/activate",component:L,meta:{title:"猎芯网-激活钱包"}},{path:"/wallet/recharge",component:W,meta:{title:"猎芯网-钱包充值"}},{path:"/wallet/verify",component:R,meta:{title:"猎芯网-验证身份"}},{path:"/wallet/bind",component:E,meta:{title:"猎芯网-绑定银行账号"}},{path:"/wallet/withdraw",component:U,meta:{title:"猎芯网-钱包提现"}},{path:"/wallet/question",component:F,meta:{title:"猎芯网-常见问题"}},{path:"/wallet/walletdetail",component:z,meta:{title:"猎芯网-钱包明细"}},{path:"/wallet/accountdetail",component:B,meta:{title:"猎芯网-账单详情"}},{path:"/wallet/record",component:M,meta:{title:"猎芯网-充值提现记录"}},{path:"/wallet/withdrawdetail",component:V,meta:{title:"猎芯网-充值提现详情"}},{path:"/wallet/retrieve",component:Y,meta:{title:"猎芯网-找回密码"}},{path:"/wallet/cashier",component:N,meta:{title:"猎芯网-收银台"}},{path:"*",redirect:"/"}];G.forEach(function(e){e.path=e.path||"/"+(e.name||"")});var J=new v["a"]({routes:G}),H=n("52c1"),$=n("01c5"),K=n("365c"),Z=n("4260"),Q=n("0427");s["a"].use($["q"]);var X={walletInfoData:{},verifyShowImgCode:!1,verifyCountDownFlag:!1,activateShowImgCode:!1,activateCountDownFlag:!1,retieveShowImgCode:!1,retieveCountDownFlag:!1,passwordToken:"",walletListData:[],walletRecordData:[],bankPasswordToken:"",bankCountDownFlag:!1,bindBankKey:"",bindBankData:"",amountRechargeID:"",amountWithdrawID:"",rechargeWithdrawOrderDetail:[],orderInfoData:[],amountWithdrawFlag:!1},ee={getWalletInfo:function(e,t){e.walletInfoData=t.data},sendSafesms:function(e,t){e.verifyShowImgCode=!t.verifyCountDownFlag,e.verifyCountDownFlag=t.verifyCountDownFlag},smsVerifyActivate:function(e,t){e.activateShowImgCode=!t.activateCountDownFlag,e.activateCountDownFlag=t.activateCountDownFlag},smsVerifyRetrieve:function(e,t){e.retieveShowImgCode=!t.retieveCountDownFlag,e.retieveCountDownFlag=t.retieveCountDownFlag},verifyResetsms:function(e,t){e.passwordToken=t.data},walletListLog:function(e,t){e.walletListData=t.data},walletRecordList:function(e,t){e.walletRecordData=t.data},verifySafeMobile:function(e,t){e.bankPasswordToken=t.data,Z["a"].setCookie("bankPasswordToken",t.data,1)},getBindBankmsg:function(e,t){e.bankCountDownFlag=t.bankCountDownFlag,e.bindBankKey=t.data.access_key,e.bindBankData=t.data.access_data},walletRecharge:function(e,t){e.amountRechargeID=t.data},walletWithdraw:function(e,t){},rechargeWithdrawOrderIfo:function(e,t){e.rechargeWithdrawOrderDetail=t.data},payTodo:function(e,t){e.rechargeWithdrawOrderDetail=t.data},orderInfo:function(e,t){e.orderInfoData=t.data}},te={getWalletInfo:function(e,t){var n=e.commit,a={};K["b"].getWalletInfo(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code&&n({type:"getWalletInfo",data:t.data})}).catch(function(e){})},smsVerifyActivate:function(e,t){var n=e.commit;$["q"].loading({message:"处理中..."});var a={mobile:t.mobile,verify:t.imgCode,channel:3};K["b"].smsVerify(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyActivate",activateCountDownFlag:!0})):23019==t.err_code||11008==t.err_code||11011==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyActivate",activateCountDownFlag:!1})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},activateWallet:function(e,t){e.commit;var n={intl_code:"",safe_mobile:t.mobile,verify_code:t.verifyCode,pay_password:t.password,reconfirm:t.passwordConfirm};K["b"].activateWallet(Q.stringify(n)).then(function(e){var n=e.data;0==n.err_code?(Object($["q"])({message:n.err_msg,duration:2e3}),t.referer?setTimeout(function(){window.location.href=t.referer},2e3):setTimeout(function(){window.location.href="/h5/view/#/wallet"},2e3)):(Object($["q"])({message:n.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/wallet/activate"},2e3))}).catch(function(e){})},sendSafesms:function(e,t){var n=e.commit;$["q"].loading({message:"处理中..."});var a={verify:t.imgCode,channel:3};K["b"].sendSafesms(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"sendSafesms",verifyCountDownFlag:!0})):23019==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"sendSafesms",verifyCountDownFlag:!1})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},smsVerifyRetrieve:function(e,t){var n=e.commit;$["q"].loading({message:"处理中..."});var a={verify:t.imgCode,channel:3};K["b"].sendSafesms(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyRetrieve",retieveCountDownFlag:!0})):23019==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyRetrieve",retieveCountDownFlag:!1})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},verifyResetsms:function(e,t){var n=e.commit,a={verify_code:t.verify_code};K["b"].verifyResetsms(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"verifyResetsms",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},changeWalletpwd:function(e,t){e.commit;var n={token:t.token,pay_password:t.pay_password,reconfirm:t.reconfirm,mode:t.mode};K["b"].changeWalletpwd(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/wallet"},2e3)):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},walletListLog:function(e,t){var n=e.commit;$["q"].loading({message:"加载中..."});var a={log_type:t.log_type,stime:t.stime,etime:t.etime};K["b"].walletListLog(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(n({type:"walletListLog",data:t.data.list}),$["q"].clear()):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},walletRecordList:function(e,t){var n=e.commit;$["q"].loading({message:"加载中..."});var a={wallet_type:t.wallet_type,stime:t.stime,etime:t.etime};K["b"].walletRecordList(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(n({type:"walletRecordList",data:t.data.list}),$["q"].clear()):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},verifySafeMobile:function(e,t){var n=e.commit,a={verify_code:t.verify_code,pay_password:t.pay_password};K["b"].verifySafeMobile(Q.stringify(a)).then(function(e){var t=e.data;$["q"].loading({message:"处理中..."}),0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"verifySafeMobile",data:t.data}),setTimeout(function(){window.location.href="/h5/view/#/wallet/bind"},2e3)):11030==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/"},2e3)):Object($["q"])({message:t.err_msg,duration:2e3})}).catch(function(e){$["q"].clear()})},getBindBankmsg:function(e,t){var n=e.commit,a={bank_user:t.bank_user,bank_id:t.bank_id,bank_account:t.bank_account,id_type:t.id_type,id_number:t.id_number,account_type:t.account_type,mobile:t.mobile,channel:3};K["b"].getBindBankmsg(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"getBindBankmsg",bankCountDownFlag:!0,data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},bindBankCard:function(e,t){e.commit;$["q"].loading({message:"处理中..."});var n={token:t.token,wallet_bank_id:t.wallet_bank_id,sms_code:t.sms_code,access_key:t.access_key,access_data:t.access_data};K["b"].bindBankCard(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/wallet"},2e3)):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},walletRecharge:function(e,t){var n=e.commit,a={amount:t.amount};K["b"].walletRecharge(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?n({type:"walletRecharge",data:t.data}):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},walletWithdraw:function(e,t){e.commit;var n={amount:t.amount,pay_password:t.pay_password};$["q"].loading({message:"处理中..."}),X.amountWithdrawFlag=!0,K["b"].walletWithdraw(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:"提现申请成功,预计1个工作日后到账,节假日顺延,请耐心等待",duration:2e3}),setTimeout(function(){X.amountWithdrawFlag=!1,window.location.href="/h5/view/#/wallet/record"},2e3)):(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){X.amountWithdrawFlag=!1},2e3))}).catch(function(e){$["q"].clear()})},rechargeWithdrawOrderIfo:function(e,t){var n=e.commit,a={wallet_id:t.wallet_id};K["b"].rechargeWithdrawOrderIfo(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"rechargeWithdrawOrderIfo",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},payTodo:function(e,t){e.commit;var n={pay_code:t.pay_code,rescue:t.rescue,types:t.types,site_type:t.site_type,order_id:t.order_id};K["b"].payTodo(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?is_miniProgram()?wx.requestPayment(t.data):window.location.href=t.data:Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},orderInfo:function(e,t){var n=e.commit,a={order_id:t.order_id};K["b"].orderInfo(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?n({type:"orderInfo",data:t.data}):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},walletPayTodo:function(e,t){e.commit;var n={pay_code:t.pay_code,pay_password:t.pay_password,types:t.types,order_id:t.order_id,site_type:t.site_type};K["b"].payTodo(Q.stringify(n)).then(function(e){var n=e.data;0==n.err_code?setTimeout(function(){window.location.href="/v3/pay/success?order_id="+t.order_id+"&types="+(t.types||0)},2e3):Object($["q"])({message:n.err_msg,duration:3e3})}).catch(function(e){})}},ne={},ae={state:X,mutations:ee,actions:te,getters:ne};s["a"].use($["q"]);var ie={index:{},loading:!0},oe={index:function(e,t){e.index=t.data}},re={index:function(e,t){var n=e.commit;ie.loading=!0;var a=Z["a"].getParams();K["b"].index(a).then(function(e){var t=e.data;ie.loading=!1,0==t.err_code?n({type:"index",data:t.data}):2==t.err_code&&Object($["q"])({message:"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间",duration:3e3})}).catch(function(e){ie.loading=!1})}},ce={},se={state:ie,mutations:oe,actions:re,getters:ce};s["a"].use($["q"]);var de={cartCount:"",loginCheck:!1,phpParams:{}},ue={cartCount:function(e,t){e.cartCount=0==t.data?"":t.data},loginCheck:function(e,t){0==t.data.err_code?e.loginCheck=!0:11030==t.data.err_code?e.loginCheck=!0:e.loginCheck=!1},phpParams:function(e,t){e.phpParams=t.data.data}},le={cartCount:function(e,t){var n=e.commit;K["b"].cartCount().then(function(e){var t=e.data;0==t.err_code&&n({type:"cartCount",data:t.datacartCount})}).catch(function(e){})},loginCheck:function(e,t){var n=e.commit;K["b"].loginCheck().then(function(e){var a=e.data;t.is_jump?11010==a.err_code?window.location.href="/h5/view/":11030==a.err_code&&(window.location.href="/v3/login"):n({type:"loginCheck",data:a})}).catch(function(e){})},customsrService:function(e,t){e.commit;var n={pf:window.lxpf,searchModel:""};K["b"].customsrService(n).then(function(e){}).catch(function(e){})},getCommonParams:function(e,t){var n=e.commit,a=Z["a"].getParams();K["b"].getCommonParams(a).then(function(e){var t=e.data;n({type:"phpParams",data:t})}).catch(function(e){})}},fe={},he={state:de,mutations:ue,actions:le,getters:fe},me=n("0427");s["a"].use($["q"]);var ge={loading:!1},pe={index:function(e,t){e.index=t.data}},be={checkAccountExists:function(e,t){e.commit;ge.loading=!0;var n={pf:2,type:2,account:t.account};K["b"].checkAccountExists(me.stringify(n)).then(function(e){var t=e.data;ge.loading=!1,0!=t.err_code&&Object($["q"])({message:"该手机号尚未注册,我们将为您自动生成猎芯网帐号",duration:3e3})}).catch(function(e){ge.loading=!1})},customSmsVerify:function(e,t){e.commit;ge.loading=!0;var n={pf:2,verify:"",mobile:t.mobile};K["b"].customSmsVerify(me.stringify(n)).then(function(e){var t=e.data;ge.loading=!1,0==t.err_code?Object($["q"])({message:t.err_msg,duration:2e3}):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){ge.loading=!1})},chainFind:function(e,t){e.commit;if(ge.loading=!0,1==t.types)var n={type:2,mobile:t.mobile,linkName:t.linkName,verifyCode:t.verifyCode,com_name:t.com_name,main_brand:t.main_brand,supplier_type:t.supplier_type};else if(3==t.types)n={type:3,mobile:t.mobile,linkName:t.linkName,verifyCode:t.verifyCode};K["b"].chainFind(me.stringify(n)).then(function(e){var n=e.data;ge.loading=!1,1==n.errcode?Object($["q"])({message:n.errmsg,duration:3e3}):2==n.errcode?(Object($["q"])({message:"已为您自动创建的猎芯网登录账号为"+t.mobile+"请使用免密码登录",duration:3e3}),setTimeout(function(){window.location.reload()},3e3)):(Object($["q"])({message:"您已经提交成功,我们将会在2个工作日内联系您",duration:3e3}),setTimeout(function(){window.location.reload()},3e3))}).catch(function(e){ge.loading=!1,Object($["q"])({message:"网络出现问题,请重试",duration:3e3})})}},ve={},we={state:ge,mutations:pe,actions:be,getters:ve},ye=n("0427");s["a"].use($["q"]);var _e={loadStatus:!1,wechatArticle:{},wechatArticleList:[],finished:!1,limits:1},ke={wechatArticle:function(e,t){e.wechatArticle=t.data,e.wechatArticleList=e.wechatArticleList.concat(t.data.list),e.limits=Math.ceil(t.data.total/6),t.page>=e.limits&&(e.finished=!0)}},Ce={wechatArticle:function(e,t){var n=e.commit;_e.loadStatus=!0;var a={type_id:t.type_id,page:t.page,limit:t.limit};K["b"].wechatArticle(ye.stringify(a)).then(function(e){var a=e.data;_e.loadStatus=!1,0==a.err_code&&n({type:"wechatArticle",data:a.data,page:t.page,limit:t.limit})}).catch(function(e){_e.loadStatus=!1})}},Se={},Pe={state:_e,mutations:ke,actions:Ce,getters:Se},qe=(n("27fb"),n("0427"));s["a"].use($["q"]);var Oe={finished:!1,loadStatus:!1,cat_list:[],content_list:[],rollbanner:[],p:1,limit:10,totalLimit:0},xe={newsArticle:function(e,t){e.rollbanner=t.data.rollbanner,e.cat_list=t.data.cat_list,1==e.p?e.content_list=t.data.content_list:e.content_list=e.content_list.concat(t.data.content_list),e.totalLimit=Math.ceil(Number(t.data.tatol_num)/e.limit),e.p>=e.totalLimit?e.finished=!0:e.finished=!1}},De={newsArticle:function(e,t){var n=e.commit;Oe.loadStatus=!0;var a={cat_id:t.cat_id,p:t.p,limit:t.limit};Oe.p=t.p,Oe.limit=t.limit,K["b"].newsArticle(qe.stringify(a)).then(function(e){var t=e.data;Oe.loadStatus=!1,0==t.err_code&&n({type:"newsArticle",data:t.data})}).catch(function(e){Oe.loadStatus=!1})}},Ae={},je={state:Oe,mutations:xe,actions:De,getters:Ae},Ie=n("0427");s["a"].use($["q"]);var Te={loadStatus:!1,newsDetailObj:{},newsDetailAd:{}},Le={newsArticleDetail:function(e,t){e.newsDetailObj=t.data},newsArticleDetailAd:function(e,t){e.newsDetailAd=t.data,Z["a"].getCookie("newsdetailpop")?e.newsDetailAd.h5_news_ad_pop="":Z["a"].setCookie("newsdetailpop","1",1)}},We={newsArticleDetail:function(e,t){var n=e.commit;Te.newsDetailObj={},Te.loadStatus=!0;var a={art_id:t.art_id};K["b"].newsArticleDetail(Ie.stringify(a)).then(function(e){Te.loadStatus=!1;var t=e.data;0==t.err_code&&n({type:"newsArticleDetail",data:t.data})}).catch(function(e){Te.loadStatus=!1})},newsArticleDetailAd:function(e,t){var n=e.commit,a={cat_id:t.cat_id},i=Z["a"].getParams(a);K["b"].newsArticleDetailAd(i).then(function(e){var t=e.data;0==t.err_code&&n({type:"newsArticleDetailAd",data:t.data})}).catch(function(e){})}},Re={},Ee={state:Te,mutations:Le,actions:We,getters:Re},Ue=n("0427");s["a"].use($["q"]);var Fe={loading:!1,form1ImgShow:!1,form2ImgShow:!1,form1CodeStatus:!1,form2CodeStatus:!1,isRegLogin:!1},ze={smsVerify:function(e,t){}},Be={smsVerify:function(e,t){var n=e.commit;Fe.form1CodeStatus=!1,Fe.loading=!0;var a={mobile:t.mobile,verify:t.verify,channel:1};K["b"].smsVerify(Ue.stringify(a)).then(function(e){var a=e.data;Fe.loading=!1;var i="form2"==t.types?"form2":"form1";Fe[i+"ImgShow"]=!1,0==a.err_code?(Object($["q"])({message:a.err_msg,duration:2e3}),Fe[i+"CodeStatus"]=!0,n({type:"smsVerify",data:a.data})):23019==a.err_code||11008==a.err_code||11011==a.err_code?(Object($["q"])({message:a.err_msg,duration:2e3}),Fe[i+"ImgShow"]=!0):Object($["q"])({message:a.err_msg,duration:3e3})}).catch(function(e){Fe.loading=!1})},actionLogin:function(e,t){var n=e.commit;Fe.loading=!0,Fe.isRegLogin=!1;var a={account:t.account,sms_verify:t.sms_verify};K["b"].actionLogin(Ue.stringify(a)).then(function(e){var a=e.data;if(Fe.loading=!1,0==a.err_code){if("form1"==t.form_name)return Object($["q"])({message:"提交成功",duration:2e3}),void setTimeout(function(){window.location.href="/"},2e3);Fe.isRegLogin=!0,n({type:"actionLogin",data:a.data})}else Object($["q"])({message:a.err_msg,duration:3e3})}).catch(function(e){Fe.loading=!1})},feedback:function(e,t){var n=e.commit;Fe.loading=!0;var a={type:t.types,content:t.content,mobile:t.mobile,source:window.location.href};K["b"].feedback(Ue.stringify(a)).then(function(e){var t=e.data;Fe.loading=!1,0==t.err_code?(Object($["q"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Fe.loading=!1})}},Me={},Ve={state:Fe,mutations:ze,actions:Be,getters:Me},Ye=n("0427");s["a"].use($["q"]);var Ne={loading:!1,form1ImgShow:!1,form1CodeStatus:!1,isRegLogin:!1},Ge={},Je={smsVerify1:function(e,t){var n=e.commit;Ne.form1CodeStatus=!1,Ne.loading=!0;var a={mobile:t.mobile,verify:t.verify,channel:1};K["b"].smsVerify(Ye.stringify(a)).then(function(e){var t=e.data;Ne.loading=!1,Ne["form1ImgShow"]=!1,0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),Ne["form1CodeStatus"]=!0,n({type:"smsVerify",data:t.data})):23019==t.err_code||11008==t.err_code||11011==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),Ne["form1ImgShow"]=!0):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Ne.loading=!1})},actionLogin1:function(e,t){var n=e.commit;Ne.loading=!0,Ne.isRegLogin=!1;var a={account:t.account,sms_verify:t.sms_verify};K["b"].actionLogin(Ye.stringify(a)).then(function(e){var t=e.data;Ne.loading=!1,0==t.err_code?(Ne.isRegLogin=!0,n({type:"actionLogin",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Ne.loading=!1})},feedback1:function(e,t){var n=e.commit;Ne.loading=!0;var a={type:t.types,content:t.content,mobile:t.mobile,source:window.location.href};K["b"].feedback(Ye.stringify(a)).then(function(e){var t=e.data;Ne.loading=!1,0==t.err_code?(Object($["q"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Ne.loading=!1})}},He={},$e={state:Ne,mutations:Ge,actions:Je,getters:He},Ke=(n("9029"),n("ac74"),n("0427"));s["a"].use($["q"]);var Ze={loginUrl:"/v3/login?referer="+encodeURIComponent(window.location.href),userInfo:"",loading:!1,getUserCurrentPoint:0,isSignInToday:!1,isSignInTodayStateGo:!1,checkInfoState:!1,navlist:[],listdata:[]},Qe={getPointPrize:function(e,t){var n=t.data||[];if(n.length>0){for(var a=[],i=[],o=[],r=[],c=0;c<n.length;c++)a.push(n[c]["prize_type"]),r.push(n[c]["prize_sort"]),i.push(n[c]["prize_type_text"].replace(/\s/g,""));a=Z["a"].distinct(a),i=Z["a"].distinct(i),r=Z["a"].distinct(r);for(var s=0;s<a.length;s++)o.push({prise_type:a[s],prise_type_text:i[s],prize_sort:r[s]});o=o.sort(Z["a"].compare("prise_type",1)),e.navlist=o,e.listdata=n}}},Xe={getPointPrize:function(e,t){var n=e.commit;Ze.loading=!0;var a={limit:1e3};K["b"].getPointPrize(Ke.stringify(a)).then(function(e){Ze.loading=!1;var t=e.data;0==t.errcode&&n({type:"getPointPrize",data:t.data.data})}).catch(function(e){Ze.loading=!1})},loginCheckp:function(e,t){e.commit;K["b"].loginCheck().then(function(e){var t=e.data;0!=t.err_code&&11030!=t.err_code||(Ze.userInfo=t.data)})},getUserCurrentPoint:function(e,t){e.commit;var n={user_id:Z["a"].getCookie("Yo4teW_uid")};K["b"].getUserCurrentPoint(Ke.stringify(n)).then(function(e){var t=e.data;0==t.errcode&&(Ze.getUserCurrentPoint=t.data)})},isSignInToday:function(e,t){e.commit;K["b"].isSignInToday().then(function(e){var t=e.data;0==t.err_code&&(Ze.isSignInToday=t.data)})},signIn:function(e,t){e.commit;Ze.loading=!0,K["b"].signIn().then(function(e){Ze.loading=!1;var t=e.data;0==t.err_code&&(Ze.isSignInToday=!0,Ze.isSignInTodayStateGo=!0,Object($["q"])({message:"签到完成,恭喜您获得100个积分!",duration:3e3}))}).catch(function(e){Ze.loading=!1})},checkMktScore:function(e,t){e.commit;Ze.loading=!0,K["b"].checkMktScore().then(function(e){Ze.loading=!1;var t=e.data;0==t.err_code&&(1==t.data?Ze.checkInfoState=!0:Ze.checkInfoState=!1)}).catch(function(e){Ze.loading=!1})},exchangePrize:function(e,t){e.commit;Ze.loading=!0;var n={user_id:Z["a"].getCookie("Yo4teW_uid"),point_prize_id:t.point_prize_id};K["b"].exchangePrize(Ke.stringify(n)).then(function(e){Ze.loading=!1;var t=e.data;if(0==t.errcode){var n=t.data.point_exchange_id;window.location.href="/h5/view/#/pointchange?point_exchange_id="+n+"&prize_type="+t.data.prize_type}else Object($["q"])({message:t.errmsg,duration:2500})}).catch(function(e){Ze.loading=!1})}},et={},tt={state:Ze,mutations:Qe,actions:Xe,getters:et},nt=n("0427");s["a"].use($["q"]);var at={loading:!1,prize_info:"",prize_types:"",address_id:"",address_info:"",adressApiState:!1},it={},ot={getUserPointExchangeDetail:function(e,t){e.commit;at.loading=!0;var n={point_exchange_id:t.point_exchange_id};K["b"].getUserPointExchangeDetail(nt.stringify(n)).then(function(e){at.loading=!1;var t=e.data;0==t.errcode&&(at.prize_info=t.data.prize_info,at.prize_types=t.data.prize_info.prize_type,t.data.address_info?(at.address_info=t.data.address_info,at.address_info.point_addressp=1,at.address_id=t.data.prize_info.address_id):at.adressApiState=!0)}).catch(function(e){at.loading=!1})},recvlist:function(e,t){e.commit;K["b"].recvlist().then(function(e){var t=e.data;if(0==t.err_code){var n=t.data||[];if(n.length>0)for(var a=0;a<n.length;a++)1==n[a].is_default&&(at.address_info=n[a],at.address_id=n[a].address_id)}})}},rt={},ct={state:at,mutations:it,actions:ot,getters:rt};s["a"].use($["q"]);var st={loading:!1,ruledata:""},dt={},ut={pointruleApi:function(e,t){e.commit;st.loading=!0,K["b"].pointruleApi().then(function(e){st.loading=!1;var t=e.data;0==t.err_code&&(st.ruledata=t.data.data[0])}).catch(function(e){st.loading=!1})}},lt={},ft={state:st,mutations:dt,actions:ut,getters:lt},ht=n("0427");s["a"].use($["q"]);var mt={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},gt={getUserPointDetail:function(e,t){1==t.data.current_page?e.detaillist=t.data.data:e.detaillist=e.detaillist.concat(t.data.data),e.totalLimit=t.data.last_page,t.data.current_page>=t.data.last_page?e.finished=!0:e.finished=!1}},pt={getUserPointDetail:function(e,t){var n=e.commit;mt.loadStatus=!0;var a={page:t.page,limit:t.limit,user_id:Z["a"].getCookie("Yo4teW_uid"),flow_type:t.flow_type};1==t.page&&(mt.finished=!1,mt.detaillist=[]),K["b"].getUserPointDetail(ht.stringify(a)).then(function(e){var t=e.data;mt.loadStatus=!1,0==t.errcode&&n({type:"getUserPointDetail",data:t.data})}).catch(function(e){mt.loadStatus=!1})},getUserCurrentPointdetail:function(e,t){e.commit;var n={user_id:Z["a"].getCookie("Yo4teW_uid")};K["b"].getUserCurrentPoint(ht.stringify(n)).then(function(e){var t=e.data;0==t.errcode&&(mt.getUserCurrentPoint=t.data)})}},bt={},vt={state:mt,mutations:gt,actions:pt,getters:bt},wt=n("0427");s["a"].use($["q"]);var yt={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},_t={getUserPointExchangeList:function(e,t){1==t.data.current_page?e.detaillist=t.data.data:e.detaillist=e.detaillist.concat(t.data.data),e.totalLimit=t.data.last_page,t.data.current_page>=t.data.last_page?e.finished=!0:e.finished=!1}},kt={getUserPointExchangeList:function(e,t){var n=e.commit;yt.loadStatus=!0;var a={page:t.page,limit:t.limit,user_id:Z["a"].getCookie("Yo4teW_uid"),prize_type:t.prize_type};1==t.page&&(yt.finished=!1,yt.detaillist=[]),K["b"].getUserPointExchangeList(wt.stringify(a)).then(function(e){var t=e.data;yt.loadStatus=!1,0==t.errcode&&n({type:"getUserPointExchangeList",data:t.data})}).catch(function(e){yt.loadStatus=!1})}},Ct={},St={state:yt,mutations:_t,actions:kt,getters:Ct};s["a"].use(H["a"]);var Pt=new H["a"].Store({modules:{wallet:ae,home:se,common:he,smt:we,wxlist:Pe,news:je,newsdetail:Ee,seo:Ve,findthing:$e,pointmall:tt,pointchange:ct,pointrule:ft,pointdetail:vt,exchange:St}}),qt=function(e,t){var n=e;return-1==n.indexOf("ptag")&&(n=n.indexOf("?")>-1?n+"&ptag="+t:n+"?ptag="+t),n},Ot=function(e){return encodeURIComponent(e)},xt=function(e){return e.indexOf("?")>-1?e+"&ptag=index-dynamic":e+"?ptag=index-dynamic"},Dt=function(e,t){var n=new Date(1e3*e);function a(e){return e<10&&(e="0"+e),e}var i=n.getFullYear(),o=n.getMonth()+1,r=n.getDate(),c=n.getHours(),s=n.getMinutes(),d=n.getSeconds();return i+"-"+a(o)+"-"+a(r)+" "+a(c)+":"+a(s)+":"+a(d)},At={dateTimeFormate:Dt,urlParams:xt,urlPatg:qt,urlEncode:Ot},jt={bind:function(e,t){e.addEventListener("click",function(){var e=document.querySelector(".container-wrap").scrollTop,t=(e/100).toFixed(0),n=setInterval(function(){e-=t,e<=0&&(e=0,clearInterval(n)),document.querySelector(".container-wrap").scrollTop=e},1)},!1)}},It={bind:function(e,t){e.addEventListener("click",function(e){var t=document.documentElement.scrollTop||document.body.scrollTop,n=(t/100).toFixed(0),a=setInterval(function(){t-=n,t<=0&&(t=0,clearInterval(a)),document.documentElement.scrollTop?document.documentElement.scrollTop=t:document.body.scrollTop?document.body.scrollTop=t:document.querySelector("html,body").scrollTop=t},1)},!1)}},Tt={install:function(e){e.directive("backTop",jt),e.directive("backTopWindow",It)}},Lt=n("897d"),Wt=n.n(Lt),Rt=n("c501"),Et=n.n(Rt);n("d6f9"),n("bfd9");s["a"].config.productionTip=!1;var Ut="production";if("production"!=Ut)new Et.a;c()(At).forEach(function(e){return s["a"].filter(e,At[e])}),s["a"].use(Tt),s["a"].prototype.$http=b.a,b.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",b.a.defaults.withCredentials=!0,b.a.interceptors.request.use(function(e){if("post"==e.method)e.data?-1==e.data.indexOf("&pf=2")&&(e.data+="&pf="+window.lxpf):e.data="pf="+window.lxpf;else if("get"==e.method){var t=c()(e.params);t.length?-1==t.indexOf("pf")&&(e.params=Object(o["a"])({pf:window.lxpf},e.params)):e.params={pf:window.lxpf}}return e},function(e){return i.a.reject(e)});var Ft=Z["a"].getCookie("Yo4teW_gid");if(null==Ft){var zt=Wt()("");Z["a"].setCookie("Yo4teW_gid",zt,1,window.cookieHostname)}var Bt={urlhash:window.location.hash};Bt=Z["a"].getParams(Bt),K["b"].wxaccess(Bt).then(function(e){var t=e.data;0==t.err_code&&t.data&&(window.location.href=t.data)}),J.beforeEach(function(e,t,n){var a=e.meta&&e.meta.title;a&&(document.title=a);var i=e.meta.back||"";if(i){var o=!!Z["a"].isLogin();o?n():window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)}else n()}),new s["a"]({router:J,store:Pt,render:function(e){return e(g)}}).$mount("#app")},bfd9:function(e,t,n){}});
\ No newline at end of file
(function(e){function t(t){for(var a,i,c=t[0],s=t[1],d=t[2],u=0,l=[];u<c.length;u++)i=c[u],o[i]&&l.push(o[i][0]),o[i]=0;for(a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a]);f&&f(t);while(l.length)l.shift()();return r.push.apply(r,d||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==o[c]&&(a=!1)}a&&(r.splice(t--,1),e=s(s.s=n[0]))}return e}var a={},i={app:0},o={app:0},r=[];function c(e){return s.p+"js/"+({}[e]||e)+"."+{"chunk-08d96656":"6c1bb75b","chunk-0f6c30a5":"25afe783","chunk-23376506":"be746015","chunk-252b3a4b":"658eb76e","chunk-2d46f0b5":"d9da17c1","chunk-3edc1273":"49e702bf","chunk-40d9be3a":"0ddd9e78","chunk-411c813f":"52702479","chunk-5935c7ce":"f8f4a7d5","chunk-6199b240":"c0fc563b","chunk-74b6e450":"5927e89c","chunk-04919bf8":"2c19a49d","chunk-0d173d7c":"da37e331","chunk-206b79a6":"21d0c64a","chunk-544c8192":"ba4beddb","chunk-5599f6b0":"ad35e295","chunk-5f6a2832":"101bbbe8","chunk-7301a23e":"0f3cab4f","chunk-7b85b420":"e84552b6","chunk-7f31d2db":"ceecd51b","chunk-8dd312b6":"e1aeec9f","chunk-90775f4a":"77028cc7","chunk-cea6557a":"58b4368a","chunk-d0339a00":"142fb6c7","chunk-f032f5de":"17ad67a8","chunk-7ca9eb7d":"a107a3a4","chunk-9c7774ae":"eb7e97f9","chunk-b392abb4":"ab4563df"}[e]+".js"}function s(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.e=function(e){var t=[],n={"chunk-08d96656":1,"chunk-0f6c30a5":1,"chunk-23376506":1,"chunk-252b3a4b":1,"chunk-2d46f0b5":1,"chunk-3edc1273":1,"chunk-40d9be3a":1,"chunk-411c813f":1,"chunk-5935c7ce":1,"chunk-6199b240":1,"chunk-74b6e450":1,"chunk-04919bf8":1,"chunk-0d173d7c":1,"chunk-206b79a6":1,"chunk-544c8192":1,"chunk-5599f6b0":1,"chunk-5f6a2832":1,"chunk-7301a23e":1,"chunk-7b85b420":1,"chunk-7f31d2db":1,"chunk-8dd312b6":1,"chunk-90775f4a":1,"chunk-cea6557a":1,"chunk-d0339a00":1,"chunk-f032f5de":1,"chunk-7ca9eb7d":1,"chunk-9c7774ae":1,"chunk-b392abb4":1};i[e]?t.push(i[e]):0!==i[e]&&n[e]&&t.push(i[e]=new Promise(function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-08d96656":"ee089bf8","chunk-0f6c30a5":"29799028","chunk-23376506":"16c2a686","chunk-252b3a4b":"ddfd4037","chunk-2d46f0b5":"016efea4","chunk-3edc1273":"e997ff53","chunk-40d9be3a":"d7e46390","chunk-411c813f":"768ec1f7","chunk-5935c7ce":"43c91bcb","chunk-6199b240":"f866fa36","chunk-74b6e450":"a9860cbc","chunk-04919bf8":"92647ec0","chunk-0d173d7c":"92647ec0","chunk-206b79a6":"92647ec0","chunk-544c8192":"92647ec0","chunk-5599f6b0":"92647ec0","chunk-5f6a2832":"92647ec0","chunk-7301a23e":"92647ec0","chunk-7b85b420":"92647ec0","chunk-7f31d2db":"92647ec0","chunk-8dd312b6":"92647ec0","chunk-90775f4a":"92647ec0","chunk-cea6557a":"92647ec0","chunk-d0339a00":"92647ec0","chunk-f032f5de":"92647ec0","chunk-7ca9eb7d":"5cdc36e3","chunk-9c7774ae":"22356d82","chunk-b392abb4":"35e6bd82"}[e]+".css",o=s.p+a,r=document.getElementsByTagName("link"),c=0;c<r.length;c++){var d=r[c],u=d.getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(u===a||u===o))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){d=l[c],u=d.getAttribute("data-href");if(u===a||u===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||o,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.request=a,delete i[e],f.parentNode.removeChild(f),n(r)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)}).then(function(){i[e]=0}));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var r=new Promise(function(t,n){a=o[e]=[t,n]});t.push(a[2]=r);var d,u=document.createElement("script");u.charset="utf-8",u.timeout=120,s.nc&&u.setAttribute("nonce",s.nc),u.src=c(e),d=function(t){u.onerror=u.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+i+")");r.type=a,r.request=i,n[1](r)}o[e]=void 0}};var l=setTimeout(function(){d({type:"timeout",target:u})},12e4);u.onerror=u.onload=d,document.head.appendChild(u)}return Promise.all(t)},s.m=e,s.c=a,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)s.d(n,a,function(t){return e[t]}.bind(null,a));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="//h5static.ichunt.com/",s.oe=function(e){throw e};var d=window["webpackJsonp"]=window["webpackJsonp"]||[],u=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var f=u;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"365c":function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h});var a,i,o,r=n("bd31"),c=(n("9f07"),n("0964"),n("7f43")),s=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 d=o,u=i,l=a,f={index:u+"index",loginCheck:l+"login/check",cartCount:l+"cart/count",customsrService:l+"public/customsrservice",getCommonParams:u+"getcommonparams",wxaccess:u+"api/wxaccess",checkAccountExists:l+"public/checkAccountExists",customSmsVerify:l+"public/customSmsVerify",chainFind:u+"Service/chainFind",wechatArticle:l+"Wechat/WechatArticleJinJi/article",newsArticle:l+"Article/Article/index",newsArticleDetail:l+"Article/Article/details",newsArticleDetailAd:u+"api/newsdetailad",actionLogin:l+"login/action",smsVerify:l+"public/smsVerify",feedback:l+"help/help/feedback",getUserCurrentPoint:l+"/point/getUserCurrentPoint",isSignInToday:l+"signIn/isSignInToday",signIn:l+"signIn/signIn",checkMktScore:l+"user/checkMktScore",getPointPrize:l+"point/getPointPrize",exchangePrize:l+"point/exchangePrize",getUserPointExchangeDetail:l+"point/getUserPointExchangeDetail",recvlist:l+"address/recvlist",pointruleApi:u+"api/pointrule",getUserPointDetail:l+"point/getUserPointDetail",getUserPointExchangeList:l+"point/getUserPointExchangeList",getWalletInfo:l+"wallet/info",activateWallet:l+"wallet/activate",sendSafesms:l+"wallet/safesms",verifyResetsms:l+"wallet/verifyresetsms",changeWalletpwd:l+"wallet/changepwd",walletListLog:l+"wallet/log",walletRecordList:l+"wallet/lists",verifySafeMobile:l+"wallet/verifysafe",getBindBankmsg:l+"wallet/getbankmsg",bindBankCard:l+"wallet/bindbankcard",walletRecharge:l+"wallet/recharge",walletWithdraw:l+"wallet/withdraw",rechargeWithdrawOrderIfo:l+"wallet/orderinfo",payTodo:l+"pay/todo",orderInfo:l+"order/info"},h={index:function(e){return s.a.post(f.index,e)},loginCheck:function(e){return s.a.get(f.loginCheck,{params:Object(r["a"])({},e)})},smsVerify:function(e){return s.a.post(f.smsVerify,e)},actionLogin:function(e){return s.a.post(f.actionLogin,e)},feedback:function(e){return s.a.post(f.feedback,e)},cartCount:function(e){return s.a.get(f.cartCount,{params:Object(r["a"])({},e)})},customsrService:function(e){return s.a.get(f.customsrService,{params:Object(r["a"])({},e)})},getCommonParams:function(e){return s.a.post(f.getCommonParams,e)},wxaccess:function(e){return s.a.post(f.wxaccess,e)},checkAccountExists:function(e){return s.a.post(f.checkAccountExists,e)},customSmsVerify:function(e){return s.a.post(f.customSmsVerify,e)},chainFind:function(e){return s.a.post(f.chainFind,e)},wechatArticle:function(e){return s.a.post(f.wechatArticle,e)},newsArticle:function(e){return s.a.post(f.newsArticle,e)},newsArticleDetail:function(e){return s.a.post(f.newsArticleDetail,e)},newsArticleDetailAd:function(e){return s.a.post(f.newsArticleDetailAd,e)},getUserCurrentPoint:function(e){return s.a.post(f.getUserCurrentPoint,e)},isSignInToday:function(e){return s.a.post(f.isSignInToday,e)},signIn:function(e){return s.a.post(f.signIn,e)},checkMktScore:function(e){return s.a.post(f.checkMktScore,e)},getPointPrize:function(e){return s.a.post(f.getPointPrize,e)},exchangePrize:function(e){return s.a.post(f.exchangePrize,e)},recvlist:function(e){return s.a.post(f.recvlist,e)},getUserPointExchangeDetail:function(e){return s.a.post(f.getUserPointExchangeDetail,e)},pointruleApi:function(e){return s.a.post(f.pointruleApi,e)},getUserPointDetail:function(e){return s.a.post(f.getUserPointDetail,e)},getUserPointExchangeList:function(e){return s.a.post(f.getUserPointExchangeList,e)},getWalletInfo:function(e){return s.a.get(f.getWalletInfo,{params:Object(r["a"])({},e)})},activateWallet:function(e){return s.a.post(f.activateWallet,e)},sendSafesms:function(e){return s.a.post(f.sendSafesms,e)},verifyResetsms:function(e){return s.a.post(f.verifyResetsms,e)},walletListLog:function(e){return s.a.post(f.walletListLog,e)},changeWalletpwd:function(e){return s.a.post(f.changeWalletpwd,e)},walletRecordList:function(e){return s.a.post(f.walletRecordList,e)},verifySafeMobile:function(e){return s.a.post(f.verifySafeMobile,e)},getBindBankmsg:function(e){return s.a.post(f.getBindBankmsg,e)},bindBankCard:function(e){return s.a.post(f.bindBankCard,e)},walletRecharge:function(e){return s.a.post(f.walletRecharge,e)},walletWithdraw:function(e){return s.a.post(f.walletWithdraw,e)},rechargeWithdrawOrderIfo:function(e){return s.a.post(f.rechargeWithdrawOrderIfo,e)},payTodo:function(e){return s.a.post(f.payTodo,e)},orderInfo:function(e){return s.a.post(f.orderInfo,e)}}},4260:function(e,t,n){"use strict";n("ac74"),n("9029");var a=n("0ec6"),i=n.n(a),o=(n("c764"),n("ab01")),r=n.n(o),c=(n("4ddc"),0),s=8;function d(e){return p(u(g(e),e.length*s))}function u(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n=Array(80),a=1732584193,i=-271733879,o=-1732584194,r=271733878,c=-1009589776,s=0;s<e.length;s+=16){for(var d=a,u=i,g=o,p=r,b=c,v=0;v<80;v++){n[v]=v<16?e[s+v]:m(n[v-3]^n[v-8]^n[v-14]^n[v-16],1);var w=h(h(m(a,5),l(v,i,o,r)),h(h(c,n[v]),f(v)));c=r,r=o,o=m(i,30),i=a,a=w}a=h(a,d),i=h(i,u),o=h(o,g),r=h(r,p),c=h(c,b)}return Array(a,i,o,r,c)}function l(e,t,n,a){return e<20?t&n|~t&a:e<40?t^n^a:e<60?t&n|t&a|n&a:t^n^a}function f(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function h(e,t){var n=(65535&e)+(65535&t),a=(e>>16)+(t>>16)+(n>>16);return a<<16|65535&n}function m(e,t){return e<<t|e>>>32-t}function g(e){for(var t=Array(),n=(1<<s)-1,a=0;a<e.length*s;a+=s)t[a>>5]|=(e.charCodeAt(a/s)&n)<<24-a%32;return t}function p(e){for(var t=c?"0123456789ABCDEF":"0123456789abcdef",n="",a=0;a<4*e.length;a++)n+=t.charAt(e[a>>2]>>8*(3-a%4)+4&15)+t.charAt(e[a>>2]>>8*(3-a%4)&15);return n}var b=n("0427");t["a"]={setCookie:function(e,t,n,a){a=a?";domain="+a:"";var i=n,o=new Date;return o.setTime(o.getTime()+24*i*60*60*1e3),document.cookie=e+"="+encodeURIComponent(t)+";expires="+o.toGMTString()+";path=/"+a,!0},getCookie:function(e){for(var t=document.cookie,n=t.split("; "),a=0;a<n.length;a++){var i=n[a].split("=");if(e==i[0])return i[1]}return null},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=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=[],c={},s="",u="",l="",f={pf:2,qwertyuiop:a,Yo4teW_gid:t},h=r()({},f,e);i()(h).forEach(function(e,t,n){o.push(e)}),o=o.sort(),o.forEach(function(e,t,n){c[o[t]]=h[o[t]]}),i()(c).forEach(function(e,t,n){s+=e+"="+c[e]}),u=s.replace(/[^0-9a-zA-Z]/g,""),u=u.toUpperCase();for(var m=0;m<u.length;m++)"A"!=u[m]&&"B"!=u[m]&&"C"!=u[m]&&(l+=u[m]);s=d(l);var g=r()({},e,{asdfghjkl:s},{qwertyuiop:a},{pf:2});return b.stringify(g)},isLogin:function(){var e=0;return this.getCookie("Yo4teW_uid")&&(e=2,this.getCookie("Yo4teW_skey")&&(e=1)),e},loginBack:function(){},compare:function(e,t){return function(n,a){var i=n[e],o=a[e];return t?i-o:o-i}},distinct:function(e){var t,n,a=e,i=[],o=a.length;for(t=0;t<o;t++){for(n=t+1;n<o;n++)a[t]===a[n]&&(n=++t);i.push(a[t])}return i}}},"56d7":function(e,t,n){"use strict";n.r(t);var a=n("a700"),i=n.n(a),o=n("bd31"),r=n("0ec6"),c=n.n(r),s=(n("c764"),n("9f07"),n("0964"),n("1cc5")),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("keep-alive",{attrs:{exclude:"newsDetail,pointchange,wallet,walletRetrieve,walletDetail,walletRecord,walletStatus,walletWithdraw,walletRecharge"}},[n("router-view",{staticClass:"router-view"})],1)],1)},u=[],l={name:"app"},f=l,h=n("fc05"),m=Object(h["a"])(f,d,u,!1,null,null,null),g=m.exports,p=n("7f43"),b=n.n(p),v=(n("0a16"),n("081a")),w=function(e){return n.e("chunk-9c7774ae").then(function(){var t=[n("9553")];e.apply(null,t)}.bind(this)).catch(n.oe)},y=function(e){return n.e("chunk-40d9be3a").then(function(){var t=[n("2500")];e.apply(null,t)}.bind(this)).catch(n.oe)},_=function(e){return n.e("chunk-5935c7ce").then(function(){var t=[n("9055")];e.apply(null,t)}.bind(this)).catch(n.oe)},k=function(e){return n.e("chunk-6199b240").then(function(){var t=[n("bd04")];e.apply(null,t)}.bind(this)).catch(n.oe)},C=function(e){return n.e("chunk-252b3a4b").then(function(){var t=[n("2536")];e.apply(null,t)}.bind(this)).catch(n.oe)},S=function(e){return n.e("chunk-411c813f").then(function(){var t=[n("832f")];e.apply(null,t)}.bind(this)).catch(n.oe)},P=function(e){return n.e("chunk-0f6c30a5").then(function(){var t=[n("f825")];e.apply(null,t)}.bind(this)).catch(n.oe)},q=function(e){return n.e("chunk-23376506").then(function(){var t=[n("9c63")];e.apply(null,t)}.bind(this)).catch(n.oe)},O=function(e){return n.e("chunk-7ca9eb7d").then(function(){var t=[n("c46d")];e.apply(null,t)}.bind(this)).catch(n.oe)},x=function(e){return n.e("chunk-3edc1273").then(function(){var t=[n("ca8b")];e.apply(null,t)}.bind(this)).catch(n.oe)},D=function(e){return n.e("chunk-2d46f0b5").then(function(){var t=[n("4835")];e.apply(null,t)}.bind(this)).catch(n.oe)},A=function(e){return n.e("chunk-08d96656").then(function(){var t=[n("0224")];e.apply(null,t)}.bind(this)).catch(n.oe)},j=function(e){return n.e("chunk-b392abb4").then(function(){var t=[n("9646")];e.apply(null,t)}.bind(this)).catch(n.oe)},I=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-f032f5de")]).then(function(){var t=[n("7526")];e.apply(null,t)}.bind(this)).catch(n.oe)},T=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-7f31d2db")]).then(function(){var t=[n("e175")];e.apply(null,t)}.bind(this)).catch(n.oe)},L=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-04919bf8")]).then(function(){var t=[n("51d9")];e.apply(null,t)}.bind(this)).catch(n.oe)},W=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-8dd312b6")]).then(function(){var t=[n("f9f6")];e.apply(null,t)}.bind(this)).catch(n.oe)},R=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-cea6557a")]).then(function(){var t=[n("bdad")];e.apply(null,t)}.bind(this)).catch(n.oe)},E=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-5599f6b0")]).then(function(){var t=[n("6a6c")];e.apply(null,t)}.bind(this)).catch(n.oe)},U=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-0d173d7c")]).then(function(){var t=[n("c96d")];e.apply(null,t)}.bind(this)).catch(n.oe)},F=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-5f6a2832")]).then(function(){var t=[n("a34f")];e.apply(null,t)}.bind(this)).catch(n.oe)},z=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-7b85b420")]).then(function(){var t=[n("a619")];e.apply(null,t)}.bind(this)).catch(n.oe)},B=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-90775f4a")]).then(function(){var t=[n("10b5")];e.apply(null,t)}.bind(this)).catch(n.oe)},M=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-7301a23e")]).then(function(){var t=[n("2d18")];e.apply(null,t)}.bind(this)).catch(n.oe)},V=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-206b79a6")]).then(function(){var t=[n("4c69")];e.apply(null,t)}.bind(this)).catch(n.oe)},Y=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-d0339a00")]).then(function(){var t=[n("a179")];e.apply(null,t)}.bind(this)).catch(n.oe)},N=function(e){return Promise.all([n.e("chunk-74b6e450"),n.e("chunk-544c8192")]).then(function(){var t=[n("82d7")];e.apply(null,t)}.bind(this)).catch(n.oe)};s["a"].use(v["a"]);var G=[{path:"/",component:w,meta:{title:"猎芯网"}},{path:"/smt",component:y,meta:{title:"SMT打样"}},{path:"/supplier",component:_,meta:{title:"猎芯网,猎芯网供应商,猎芯网合作伙伴,电子元器件采购,电子元器件商城,IC采购网"}},{path:"/wxlist",name:"Wxlist",component:k,meta:{title:"猎芯网"}},{path:"/news",name:"News",component:C,meta:{title:"猎芯网-新闻列表"}},{path:"/seo",name:"Seo",component:P,meta:{title:"猎芯网——京东战投元器件商城"}},{path:"/findthing",name:"Findthing",component:q,meta:{title:"猎芯网——快速找料"}},{path:"/pointmall",name:"Pointmall",component:O,meta:{title:"积分商城"}},{path:"/pointchange",name:"Pointchange",component:A,meta:{title:"兑换成功",back:!0}},{path:"/exchange",component:D,meta:{title:"兑换记录",back:!0}},{path:"/point",component:x,meta:{title:"积分明细",back:!0}},{path:"/pointrule",component:j,meta:{title:"积分规则"}},{path:"/news/detail/:art_id/:cat_id",name:"NewsDetail",component:S,meta:{title:"猎芯网-新闻详情"}},{path:"/wallet",component:I,meta:{title:"猎芯网-我的钱包"}},{path:"/wallet/status",component:T,meta:{title:"猎芯网-钱包状态"}},{path:"/wallet/activate",component:L,meta:{title:"猎芯网-激活钱包"}},{path:"/wallet/recharge",component:W,meta:{title:"猎芯网-钱包充值"}},{path:"/wallet/verify",component:R,meta:{title:"猎芯网-验证身份"}},{path:"/wallet/bind",component:E,meta:{title:"猎芯网-绑定银行账号"}},{path:"/wallet/withdraw",component:U,meta:{title:"猎芯网-钱包提现"}},{path:"/wallet/question",component:F,meta:{title:"猎芯网-常见问题"}},{path:"/wallet/walletdetail",component:z,meta:{title:"猎芯网-钱包明细"}},{path:"/wallet/accountdetail",component:B,meta:{title:"猎芯网-账单详情"}},{path:"/wallet/record",component:M,meta:{title:"猎芯网-充值提现记录"}},{path:"/wallet/withdrawdetail",component:V,meta:{title:"猎芯网-充值提现详情"}},{path:"/wallet/retrieve",component:Y,meta:{title:"猎芯网-找回密码"}},{path:"/wallet/cashier",component:N,meta:{title:"猎芯网-收银台"}},{path:"*",redirect:"/"}];G.forEach(function(e){e.path=e.path||"/"+(e.name||"")});var J=new v["a"]({routes:G,scrollBehavior:function(e,t,n){return{x:0,y:0}}}),H=n("52c1"),$=n("01c5"),K=n("365c"),Z=n("4260"),Q=n("0427");s["a"].use($["q"]);var X={walletInfoData:{},verifyShowImgCode:!1,verifyCountDownFlag:!1,activateShowImgCode:!1,activateCountDownFlag:!1,retieveShowImgCode:!1,retieveCountDownFlag:!1,passwordToken:"",walletListData:[],walletRecordData:[],bankPasswordToken:"",bankCountDownFlag:!1,bindBankKey:"",bindBankData:"",amountRechargeID:"",amountWithdrawID:"",rechargeWithdrawOrderDetail:[],orderInfoData:[],amountWithdrawFlag:!1},ee={getWalletInfo:function(e,t){e.walletInfoData=t.data},sendSafesms:function(e,t){e.verifyShowImgCode=!t.verifyCountDownFlag,e.verifyCountDownFlag=t.verifyCountDownFlag},smsVerifyActivate:function(e,t){e.activateShowImgCode=!t.activateCountDownFlag,e.activateCountDownFlag=t.activateCountDownFlag},smsVerifyRetrieve:function(e,t){e.retieveShowImgCode=!t.retieveCountDownFlag,e.retieveCountDownFlag=t.retieveCountDownFlag},verifyResetsms:function(e,t){e.passwordToken=t.data},walletListLog:function(e,t){e.walletListData=t.data},walletRecordList:function(e,t){e.walletRecordData=t.data},verifySafeMobile:function(e,t){e.bankPasswordToken=t.data,Z["a"].setCookie("bankPasswordToken",t.data,1)},getBindBankmsg:function(e,t){e.bankCountDownFlag=t.bankCountDownFlag,e.bindBankKey=t.data.access_key,e.bindBankData=t.data.access_data},walletRecharge:function(e,t){e.amountRechargeID=t.data},walletWithdraw:function(e,t){},rechargeWithdrawOrderIfo:function(e,t){e.rechargeWithdrawOrderDetail=t.data},payTodo:function(e,t){e.rechargeWithdrawOrderDetail=t.data},orderInfo:function(e,t){e.orderInfoData=t.data}},te={getWalletInfo:function(e,t){var n=e.commit,a={};K["b"].getWalletInfo(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code&&n({type:"getWalletInfo",data:t.data})}).catch(function(e){})},smsVerifyActivate:function(e,t){var n=e.commit;$["q"].loading({message:"处理中..."});var a={mobile:t.mobile,verify:t.imgCode,channel:3};K["b"].smsVerify(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyActivate",activateCountDownFlag:!0})):23019==t.err_code||11008==t.err_code||11011==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyActivate",activateCountDownFlag:!1})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},activateWallet:function(e,t){e.commit;var n={intl_code:"",safe_mobile:t.mobile,verify_code:t.verifyCode,pay_password:t.password,reconfirm:t.passwordConfirm};K["b"].activateWallet(Q.stringify(n)).then(function(e){var n=e.data;0==n.err_code?(Object($["q"])({message:n.err_msg,duration:2e3}),t.referer?setTimeout(function(){window.location.href=t.referer},2e3):setTimeout(function(){window.location.href="/h5/view/#/wallet"},2e3)):(Object($["q"])({message:n.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/wallet/activate"},2e3))}).catch(function(e){})},sendSafesms:function(e,t){var n=e.commit;$["q"].loading({message:"处理中..."});var a={verify:t.imgCode,channel:3};K["b"].sendSafesms(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"sendSafesms",verifyCountDownFlag:!0})):23019==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"sendSafesms",verifyCountDownFlag:!1})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},smsVerifyRetrieve:function(e,t){var n=e.commit;$["q"].loading({message:"处理中..."});var a={verify:t.imgCode,channel:3};K["b"].sendSafesms(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyRetrieve",retieveCountDownFlag:!0})):23019==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"smsVerifyRetrieve",retieveCountDownFlag:!1})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},verifyResetsms:function(e,t){var n=e.commit,a={verify_code:t.verify_code};K["b"].verifyResetsms(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"verifyResetsms",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},changeWalletpwd:function(e,t){e.commit;var n={token:t.token,pay_password:t.pay_password,reconfirm:t.reconfirm,mode:t.mode};K["b"].changeWalletpwd(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/wallet"},2e3)):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},walletListLog:function(e,t){var n=e.commit;$["q"].loading({message:"加载中..."});var a={log_type:t.log_type,stime:t.stime,etime:t.etime};K["b"].walletListLog(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(n({type:"walletListLog",data:t.data.list}),$["q"].clear()):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},walletRecordList:function(e,t){var n=e.commit;$["q"].loading({message:"加载中..."});var a={wallet_type:t.wallet_type,stime:t.stime,etime:t.etime};K["b"].walletRecordList(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(n({type:"walletRecordList",data:t.data.list}),$["q"].clear()):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},verifySafeMobile:function(e,t){var n=e.commit,a={verify_code:t.verify_code,pay_password:t.pay_password};K["b"].verifySafeMobile(Q.stringify(a)).then(function(e){var t=e.data;$["q"].loading({message:"处理中..."}),0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"verifySafeMobile",data:t.data}),setTimeout(function(){window.location.href="/h5/view/#/wallet/bind"},2e3)):11030==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/"},2e3)):Object($["q"])({message:t.err_msg,duration:2e3})}).catch(function(e){$["q"].clear()})},getBindBankmsg:function(e,t){var n=e.commit,a={bank_user:t.bank_user,bank_id:t.bank_id,bank_account:t.bank_account,id_type:t.id_type,id_number:t.id_number,account_type:t.account_type,mobile:t.mobile,channel:3};K["b"].getBindBankmsg(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"getBindBankmsg",bankCountDownFlag:!0,data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},bindBankCard:function(e,t){e.commit;$["q"].loading({message:"处理中..."});var n={token:t.token,wallet_bank_id:t.wallet_bank_id,sms_code:t.sms_code,access_key:t.access_key,access_data:t.access_data};K["b"].bindBankCard(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){window.location.href="/h5/view/#/wallet"},2e3)):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){$["q"].clear()})},walletRecharge:function(e,t){var n=e.commit,a={amount:t.amount};K["b"].walletRecharge(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?n({type:"walletRecharge",data:t.data}):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},walletWithdraw:function(e,t){e.commit;var n={amount:t.amount,pay_password:t.pay_password};$["q"].loading({message:"处理中..."}),X.amountWithdrawFlag=!0,K["b"].walletWithdraw(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:"提现申请成功,预计1个工作日后到账,节假日顺延,请耐心等待",duration:2e3}),setTimeout(function(){X.amountWithdrawFlag=!1,window.location.href="/h5/view/#/wallet/record"},2e3)):(Object($["q"])({message:t.err_msg,duration:2e3}),setTimeout(function(){X.amountWithdrawFlag=!1},2e3))}).catch(function(e){$["q"].clear()})},rechargeWithdrawOrderIfo:function(e,t){var n=e.commit,a={wallet_id:t.wallet_id};K["b"].rechargeWithdrawOrderIfo(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),n({type:"rechargeWithdrawOrderIfo",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},payTodo:function(e,t){e.commit;var n={pay_code:t.pay_code,rescue:t.rescue,types:t.types,site_type:t.site_type,order_id:t.order_id};K["b"].payTodo(Q.stringify(n)).then(function(e){var t=e.data;0==t.err_code?is_miniProgram()?wx.requestPayment(t.data):window.location.href=t.data:Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},orderInfo:function(e,t){var n=e.commit,a={order_id:t.order_id};K["b"].orderInfo(Q.stringify(a)).then(function(e){var t=e.data;0==t.err_code?n({type:"orderInfo",data:t.data}):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){})},walletPayTodo:function(e,t){e.commit;var n={pay_code:t.pay_code,pay_password:t.pay_password,types:t.types,order_id:t.order_id,site_type:t.site_type};K["b"].payTodo(Q.stringify(n)).then(function(e){var n=e.data;0==n.err_code?setTimeout(function(){window.location.href="/v3/pay/success?order_id="+t.order_id+"&types="+(t.types||0)},2e3):Object($["q"])({message:n.err_msg,duration:3e3})}).catch(function(e){})}},ne={},ae={state:X,mutations:ee,actions:te,getters:ne};s["a"].use($["q"]);var ie={index:{},loading:!0},oe={index:function(e,t){e.index=t.data}},re={index:function(e,t){var n=e.commit;ie.loading=!0;var a=Z["a"].getParams();K["b"].index(a).then(function(e){var t=e.data;ie.loading=!1,0==t.err_code?n({type:"index",data:t.data}):2==t.err_code&&Object($["q"])({message:"非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间",duration:3e3})}).catch(function(e){ie.loading=!1})}},ce={},se={state:ie,mutations:oe,actions:re,getters:ce};s["a"].use($["q"]);var de={cartCount:"",loginCheck:!1,phpParams:{}},ue={cartCount:function(e,t){e.cartCount=0==t.data?"":t.data},loginCheck:function(e,t){0==t.data.err_code?e.loginCheck=!0:11030==t.data.err_code?e.loginCheck=!0:e.loginCheck=!1},phpParams:function(e,t){e.phpParams=t.data.data}},le={cartCount:function(e,t){var n=e.commit;K["b"].cartCount().then(function(e){var t=e.data;0==t.err_code&&n({type:"cartCount",data:t.datacartCount})}).catch(function(e){})},loginCheck:function(e,t){var n=e.commit;K["b"].loginCheck().then(function(e){var a=e.data;t.is_jump?11010==a.err_code?window.location.href="/h5/view/":11030==a.err_code&&(window.location.href="/v3/login"):n({type:"loginCheck",data:a})}).catch(function(e){})},customsrService:function(e,t){e.commit;var n={pf:window.lxpf,searchModel:""};K["b"].customsrService(n).then(function(e){}).catch(function(e){})},getCommonParams:function(e,t){var n=e.commit,a=Z["a"].getParams();K["b"].getCommonParams(a).then(function(e){var t=e.data;n({type:"phpParams",data:t})}).catch(function(e){})}},fe={},he={state:de,mutations:ue,actions:le,getters:fe},me=n("0427");s["a"].use($["q"]);var ge={loading:!1},pe={index:function(e,t){e.index=t.data}},be={checkAccountExists:function(e,t){e.commit;ge.loading=!0;var n={pf:2,type:2,account:t.account};K["b"].checkAccountExists(me.stringify(n)).then(function(e){var t=e.data;ge.loading=!1,0!=t.err_code&&Object($["q"])({message:"该手机号尚未注册,我们将为您自动生成猎芯网帐号",duration:3e3})}).catch(function(e){ge.loading=!1})},customSmsVerify:function(e,t){e.commit;ge.loading=!0;var n={pf:2,verify:"",mobile:t.mobile};K["b"].customSmsVerify(me.stringify(n)).then(function(e){var t=e.data;ge.loading=!1,0==t.err_code?Object($["q"])({message:t.err_msg,duration:2e3}):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){ge.loading=!1})},chainFind:function(e,t){e.commit;if(ge.loading=!0,1==t.types)var n={type:2,mobile:t.mobile,linkName:t.linkName,verifyCode:t.verifyCode,com_name:t.com_name,main_brand:t.main_brand,supplier_type:t.supplier_type};else if(3==t.types)n={type:3,mobile:t.mobile,linkName:t.linkName,verifyCode:t.verifyCode};K["b"].chainFind(me.stringify(n)).then(function(e){var n=e.data;ge.loading=!1,1==n.errcode?Object($["q"])({message:n.errmsg,duration:3e3}):2==n.errcode?(Object($["q"])({message:"已为您自动创建的猎芯网登录账号为"+t.mobile+"请使用免密码登录",duration:3e3}),setTimeout(function(){window.location.reload()},3e3)):(Object($["q"])({message:"您已经提交成功,我们将会在2个工作日内联系您",duration:3e3}),setTimeout(function(){window.location.reload()},3e3))}).catch(function(e){ge.loading=!1,Object($["q"])({message:"网络出现问题,请重试",duration:3e3})})}},ve={},we={state:ge,mutations:pe,actions:be,getters:ve},ye=n("0427");s["a"].use($["q"]);var _e={loadStatus:!1,wechatArticle:{},wechatArticleList:[],finished:!1,limits:1},ke={wechatArticle:function(e,t){e.wechatArticle=t.data,e.wechatArticleList=e.wechatArticleList.concat(t.data.list),e.limits=Math.ceil(t.data.total/6),t.page>=e.limits&&(e.finished=!0)}},Ce={wechatArticle:function(e,t){var n=e.commit;_e.loadStatus=!0;var a={type_id:t.type_id,page:t.page,limit:t.limit};K["b"].wechatArticle(ye.stringify(a)).then(function(e){var a=e.data;_e.loadStatus=!1,0==a.err_code&&n({type:"wechatArticle",data:a.data,page:t.page,limit:t.limit})}).catch(function(e){_e.loadStatus=!1})}},Se={},Pe={state:_e,mutations:ke,actions:Ce,getters:Se},qe=(n("27fb"),n("0427"));s["a"].use($["q"]);var Oe={finished:!1,loadStatus:!1,cat_list:[],content_list:[],rollbanner:[],p:1,limit:10,totalLimit:0},xe={newsArticle:function(e,t){e.rollbanner=t.data.rollbanner,e.cat_list=t.data.cat_list,1==e.p?e.content_list=t.data.content_list:e.content_list=e.content_list.concat(t.data.content_list),e.totalLimit=Math.ceil(Number(t.data.tatol_num)/e.limit),e.p>=e.totalLimit?e.finished=!0:e.finished=!1}},De={newsArticle:function(e,t){var n=e.commit;Oe.loadStatus=!0;var a={cat_id:t.cat_id,p:t.p,limit:t.limit};Oe.p=t.p,Oe.limit=t.limit,K["b"].newsArticle(qe.stringify(a)).then(function(e){var t=e.data;Oe.loadStatus=!1,0==t.err_code&&n({type:"newsArticle",data:t.data})}).catch(function(e){Oe.loadStatus=!1})}},Ae={},je={state:Oe,mutations:xe,actions:De,getters:Ae},Ie=n("0427");s["a"].use($["q"]);var Te={loadStatus:!1,newsDetailObj:{},newsDetailAd:{}},Le={newsArticleDetail:function(e,t){e.newsDetailObj=t.data},newsArticleDetailAd:function(e,t){e.newsDetailAd=t.data,Z["a"].getCookie("newsdetailpop")?e.newsDetailAd.h5_news_ad_pop="":Z["a"].setCookie("newsdetailpop","1",1)}},We={newsArticleDetail:function(e,t){var n=e.commit;Te.newsDetailObj={},Te.loadStatus=!0;var a={art_id:t.art_id};K["b"].newsArticleDetail(Ie.stringify(a)).then(function(e){Te.loadStatus=!1;var t=e.data;0==t.err_code&&n({type:"newsArticleDetail",data:t.data})}).catch(function(e){Te.loadStatus=!1})},newsArticleDetailAd:function(e,t){var n=e.commit,a={cat_id:t.cat_id},i=Z["a"].getParams(a);K["b"].newsArticleDetailAd(i).then(function(e){var t=e.data;0==t.err_code&&n({type:"newsArticleDetailAd",data:t.data})}).catch(function(e){})}},Re={},Ee={state:Te,mutations:Le,actions:We,getters:Re},Ue=n("0427");s["a"].use($["q"]);var Fe={loading:!1,form1ImgShow:!1,form2ImgShow:!1,form1CodeStatus:!1,form2CodeStatus:!1,isRegLogin:!1},ze={smsVerify:function(e,t){}},Be={smsVerify:function(e,t){var n=e.commit;Fe.form1CodeStatus=!1,Fe.loading=!0;var a={mobile:t.mobile,verify:t.verify,channel:1};K["b"].smsVerify(Ue.stringify(a)).then(function(e){var a=e.data;Fe.loading=!1;var i="form2"==t.types?"form2":"form1";Fe[i+"ImgShow"]=!1,0==a.err_code?(Object($["q"])({message:a.err_msg,duration:2e3}),Fe[i+"CodeStatus"]=!0,n({type:"smsVerify",data:a.data})):23019==a.err_code||11008==a.err_code||11011==a.err_code?(Object($["q"])({message:a.err_msg,duration:2e3}),Fe[i+"ImgShow"]=!0):Object($["q"])({message:a.err_msg,duration:3e3})}).catch(function(e){Fe.loading=!1})},actionLogin:function(e,t){var n=e.commit;Fe.loading=!0,Fe.isRegLogin=!1;var a={account:t.account,sms_verify:t.sms_verify};K["b"].actionLogin(Ue.stringify(a)).then(function(e){var a=e.data;if(Fe.loading=!1,0==a.err_code){if("form1"==t.form_name)return Object($["q"])({message:"提交成功",duration:2e3}),void setTimeout(function(){window.location.href="/"},2e3);Fe.isRegLogin=!0,n({type:"actionLogin",data:a.data})}else Object($["q"])({message:a.err_msg,duration:3e3})}).catch(function(e){Fe.loading=!1})},feedback:function(e,t){var n=e.commit;Fe.loading=!0;var a={type:t.types,content:t.content,mobile:t.mobile,source:window.location.href};K["b"].feedback(Ue.stringify(a)).then(function(e){var t=e.data;Fe.loading=!1,0==t.err_code?(Object($["q"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Fe.loading=!1})}},Me={},Ve={state:Fe,mutations:ze,actions:Be,getters:Me},Ye=n("0427");s["a"].use($["q"]);var Ne={loading:!1,form1ImgShow:!1,form1CodeStatus:!1,isRegLogin:!1},Ge={},Je={smsVerify1:function(e,t){var n=e.commit;Ne.form1CodeStatus=!1,Ne.loading=!0;var a={mobile:t.mobile,verify:t.verify,channel:1};K["b"].smsVerify(Ye.stringify(a)).then(function(e){var t=e.data;Ne.loading=!1,Ne["form1ImgShow"]=!1,0==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),Ne["form1CodeStatus"]=!0,n({type:"smsVerify",data:t.data})):23019==t.err_code||11008==t.err_code||11011==t.err_code?(Object($["q"])({message:t.err_msg,duration:2e3}),Ne["form1ImgShow"]=!0):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Ne.loading=!1})},actionLogin1:function(e,t){var n=e.commit;Ne.loading=!0,Ne.isRegLogin=!1;var a={account:t.account,sms_verify:t.sms_verify};K["b"].actionLogin(Ye.stringify(a)).then(function(e){var t=e.data;Ne.loading=!1,0==t.err_code?(Ne.isRegLogin=!0,n({type:"actionLogin",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Ne.loading=!1})},feedback1:function(e,t){var n=e.commit;Ne.loading=!0;var a={type:t.types,content:t.content,mobile:t.mobile,source:window.location.href};K["b"].feedback(Ye.stringify(a)).then(function(e){var t=e.data;Ne.loading=!1,0==t.err_code?(Object($["q"])({message:"需求已提交成功,客服人员会尽快与您联系",duration:3e3}),setTimeout(function(){window.location.href="/"},3e3),n({type:"feedback",data:t.data})):Object($["q"])({message:t.err_msg,duration:3e3})}).catch(function(e){Ne.loading=!1})}},He={},$e={state:Ne,mutations:Ge,actions:Je,getters:He},Ke=(n("9029"),n("ac74"),n("0427"));s["a"].use($["q"]);var Ze={loginUrl:"/v3/login?referer="+encodeURIComponent(window.location.href),userInfo:"",loading:!1,getUserCurrentPoint:0,isSignInToday:!1,isSignInTodayStateGo:!1,checkInfoState:!1,navlist:[],listdata:[]},Qe={getPointPrize:function(e,t){var n=t.data||[];if(n.length>0){for(var a=[],i=[],o=[],r=[],c=0;c<n.length;c++)a.push(n[c]["prize_type"]),r.push(n[c]["prize_sort"]),i.push(n[c]["prize_type_text"].replace(/\s/g,""));a=Z["a"].distinct(a),i=Z["a"].distinct(i),r=Z["a"].distinct(r);for(var s=0;s<a.length;s++)o.push({prise_type:a[s],prise_type_text:i[s],prize_sort:r[s]});o=o.sort(Z["a"].compare("prise_type",1)),e.navlist=o,e.listdata=n}}},Xe={getPointPrize:function(e,t){var n=e.commit;Ze.loading=!0;var a={limit:1e3};K["b"].getPointPrize(Ke.stringify(a)).then(function(e){Ze.loading=!1;var t=e.data;0==t.errcode&&n({type:"getPointPrize",data:t.data.data})}).catch(function(e){Ze.loading=!1})},loginCheckp:function(e,t){e.commit;K["b"].loginCheck().then(function(e){var t=e.data;0!=t.err_code&&11030!=t.err_code||(Ze.userInfo=t.data)})},getUserCurrentPoint:function(e,t){e.commit;var n={user_id:Z["a"].getCookie("Yo4teW_uid")};K["b"].getUserCurrentPoint(Ke.stringify(n)).then(function(e){var t=e.data;0==t.errcode&&(Ze.getUserCurrentPoint=t.data)})},isSignInToday:function(e,t){e.commit;K["b"].isSignInToday().then(function(e){var t=e.data;0==t.err_code&&(Ze.isSignInToday=t.data)})},signIn:function(e,t){e.commit;Ze.loading=!0,K["b"].signIn().then(function(e){Ze.loading=!1;var t=e.data;0==t.err_code&&(Ze.isSignInToday=!0,Ze.isSignInTodayStateGo=!0,Object($["q"])({message:"签到完成,恭喜您获得100个积分!",duration:3e3}))}).catch(function(e){Ze.loading=!1})},checkMktScore:function(e,t){e.commit;Ze.loading=!0,K["b"].checkMktScore().then(function(e){Ze.loading=!1;var t=e.data;0==t.err_code&&(1==t.data?Ze.checkInfoState=!0:Ze.checkInfoState=!1)}).catch(function(e){Ze.loading=!1})},exchangePrize:function(e,t){e.commit;Ze.loading=!0;var n={user_id:Z["a"].getCookie("Yo4teW_uid"),point_prize_id:t.point_prize_id};K["b"].exchangePrize(Ke.stringify(n)).then(function(e){Ze.loading=!1;var t=e.data;if(0==t.errcode){var n=t.data.point_exchange_id;window.location.href="/h5/view/#/pointchange?point_exchange_id="+n+"&prize_type="+t.data.prize_type}else Object($["q"])({message:t.errmsg,duration:2500})}).catch(function(e){Ze.loading=!1})}},et={},tt={state:Ze,mutations:Qe,actions:Xe,getters:et},nt=n("0427");s["a"].use($["q"]);var at={loading:!1,prize_info:"",prize_types:"",address_id:"",address_info:"",adressApiState:!1},it={},ot={getUserPointExchangeDetail:function(e,t){e.commit;at.loading=!0;var n={point_exchange_id:t.point_exchange_id};K["b"].getUserPointExchangeDetail(nt.stringify(n)).then(function(e){at.loading=!1;var t=e.data;0==t.errcode&&(at.prize_info=t.data.prize_info,at.prize_types=t.data.prize_info.prize_type,t.data.address_info?(at.address_info=t.data.address_info,at.address_info.point_addressp=1,at.address_id=t.data.prize_info.address_id):at.adressApiState=!0)}).catch(function(e){at.loading=!1})},recvlist:function(e,t){e.commit;K["b"].recvlist().then(function(e){var t=e.data;if(0==t.err_code){var n=t.data||[];if(n.length>0)for(var a=0;a<n.length;a++)1==n[a].is_default&&(at.address_info=n[a],at.address_id=n[a].address_id)}})}},rt={},ct={state:at,mutations:it,actions:ot,getters:rt};s["a"].use($["q"]);var st={loading:!1,ruledata:""},dt={},ut={pointruleApi:function(e,t){e.commit;st.loading=!0,K["b"].pointruleApi().then(function(e){st.loading=!1;var t=e.data;0==t.err_code&&(st.ruledata=t.data.data[0])}).catch(function(e){st.loading=!1})}},lt={},ft={state:st,mutations:dt,actions:ut,getters:lt},ht=n("0427");s["a"].use($["q"]);var mt={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},gt={getUserPointDetail:function(e,t){1==t.data.current_page?e.detaillist=t.data.data:e.detaillist=e.detaillist.concat(t.data.data),e.totalLimit=t.data.last_page,t.data.current_page>=t.data.last_page?e.finished=!0:e.finished=!1}},pt={getUserPointDetail:function(e,t){var n=e.commit;mt.loadStatus=!0;var a={page:t.page,limit:t.limit,user_id:Z["a"].getCookie("Yo4teW_uid"),flow_type:t.flow_type};1==t.page&&(mt.finished=!1,mt.detaillist=[]),K["b"].getUserPointDetail(ht.stringify(a)).then(function(e){var t=e.data;mt.loadStatus=!1,0==t.errcode&&n({type:"getUserPointDetail",data:t.data})}).catch(function(e){mt.loadStatus=!1})},getUserCurrentPointdetail:function(e,t){e.commit;var n={user_id:Z["a"].getCookie("Yo4teW_uid")};K["b"].getUserCurrentPoint(ht.stringify(n)).then(function(e){var t=e.data;0==t.errcode&&(mt.getUserCurrentPoint=t.data)})}},bt={},vt={state:mt,mutations:gt,actions:pt,getters:bt},wt=n("0427");s["a"].use($["q"]);var yt={finished:!1,loadStatus:!1,getUserCurrentPoint:0,detaillist:[],totalLimit:0},_t={getUserPointExchangeList:function(e,t){1==t.data.current_page?e.detaillist=t.data.data:e.detaillist=e.detaillist.concat(t.data.data),e.totalLimit=t.data.last_page,t.data.current_page>=t.data.last_page?e.finished=!0:e.finished=!1}},kt={getUserPointExchangeList:function(e,t){var n=e.commit;yt.loadStatus=!0;var a={page:t.page,limit:t.limit,user_id:Z["a"].getCookie("Yo4teW_uid"),prize_type:t.prize_type};1==t.page&&(yt.finished=!1,yt.detaillist=[]),K["b"].getUserPointExchangeList(wt.stringify(a)).then(function(e){var t=e.data;yt.loadStatus=!1,0==t.errcode&&n({type:"getUserPointExchangeList",data:t.data})}).catch(function(e){yt.loadStatus=!1})}},Ct={},St={state:yt,mutations:_t,actions:kt,getters:Ct};s["a"].use(H["a"]);var Pt=new H["a"].Store({modules:{wallet:ae,home:se,common:he,smt:we,wxlist:Pe,news:je,newsdetail:Ee,seo:Ve,findthing:$e,pointmall:tt,pointchange:ct,pointrule:ft,pointdetail:vt,exchange:St}}),qt=function(e,t){var n=e;return-1==n.indexOf("ptag")&&(n=n.indexOf("?")>-1?n+"&ptag="+t:n+"?ptag="+t),n},Ot=function(e){return encodeURIComponent(e)},xt=function(e){return e.indexOf("?")>-1?e+"&ptag=index-dynamic":e+"?ptag=index-dynamic"},Dt=function(e,t){var n=new Date(1e3*e);function a(e){return e<10&&(e="0"+e),e}var i=n.getFullYear(),o=n.getMonth()+1,r=n.getDate(),c=n.getHours(),s=n.getMinutes(),d=n.getSeconds();return i+"-"+a(o)+"-"+a(r)+" "+a(c)+":"+a(s)+":"+a(d)},At={dateTimeFormate:Dt,urlParams:xt,urlPatg:qt,urlEncode:Ot},jt={bind:function(e,t){e.addEventListener("click",function(){var e=document.querySelector(".container-wrap").scrollTop,t=(e/100).toFixed(0),n=setInterval(function(){e-=t,e<=0&&(e=0,clearInterval(n)),document.querySelector(".container-wrap").scrollTop=e},1)},!1)}},It={bind:function(e,t){e.addEventListener("click",function(e){var t=document.documentElement.scrollTop||document.body.scrollTop,n=(t/100).toFixed(0),a=setInterval(function(){t-=n,t<=0&&(t=0,clearInterval(a)),document.documentElement.scrollTop?document.documentElement.scrollTop=t:document.body.scrollTop?document.body.scrollTop=t:document.querySelector("html,body").scrollTop=t},1)},!1)}},Tt={install:function(e){e.directive("backTop",jt),e.directive("backTopWindow",It)}},Lt=n("897d"),Wt=n.n(Lt),Rt=n("c501"),Et=n.n(Rt);n("d6f9"),n("bfd9");s["a"].config.productionTip=!1;var Ut="production";if("production"!=Ut)new Et.a;c()(At).forEach(function(e){return s["a"].filter(e,At[e])}),s["a"].use(Tt),s["a"].prototype.$http=b.a,b.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",b.a.defaults.withCredentials=!0,b.a.interceptors.request.use(function(e){if("post"==e.method)e.data?-1==e.data.indexOf("&pf=2")&&(e.data+="&pf="+window.lxpf):e.data="pf="+window.lxpf;else if("get"==e.method){var t=c()(e.params);t.length?-1==t.indexOf("pf")&&(e.params=Object(o["a"])({pf:window.lxpf},e.params)):e.params={pf:window.lxpf}}return e},function(e){return i.a.reject(e)});var Ft=Z["a"].getCookie("Yo4teW_gid");if(null==Ft){var zt=Wt()("");Z["a"].setCookie("Yo4teW_gid",zt,1,window.cookieHostname)}var Bt={urlhash:window.location.hash};Bt=Z["a"].getParams(Bt),K["b"].wxaccess(Bt).then(function(e){var t=e.data;0==t.err_code&&t.data&&(window.location.href=t.data)}),J.beforeEach(function(e,t,n){var a=e.meta&&e.meta.title;a&&(document.title=a);var i=e.meta.back||"";if(i){var o=!!Z["a"].isLogin();o?n():window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)}else n()}),new s["a"]({router:J,store:Pt,render:function(e){return e(g)}}).$mount("#app")},bfd9:function(e,t,n){}});
\ 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