Commit f6389dd2 by 施宇

h5重定向到pc

parent 0e1efce1
......@@ -62,13 +62,13 @@
}
}
},
beforeCreate(){
let href = window.location.href;
if(href.indexOf('groupmessage') > -1 || href.indexOf('singlemessage') > -1 || href.indexOf('timeline') > -1){
href = href.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/, '#');
window.location.replace(href);
}
},
// beforeCreate(){
// let href = window.location.href;
// if(href.indexOf('groupmessage') > -1 || href.indexOf('singlemessage') > -1 || href.indexOf('timeline') > -1){
// href = href.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/, '#');
// window.location.replace(href);
// }
// },
created() {
//无需登录的情况下
......
......@@ -135,6 +135,30 @@ export default {
this.yaoHaoYouJP();
this.getYaoHaoYouGoodId()
},
beforeCreate(){
if (!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
//如果是不是移动端
let paramsStr = '';
for (let k in this.$route.query) {
paramsStr += k + '=' + this.$route.query[k] + '&'
}
paramsStr = paramsStr.slice(0, -1);
switch (window.location.hostname) {
case "m.liexin.com":
window.location.href = (paramsStr ? ("http://www.liexin.com/v3/oscilloscope?" + paramsStr) : ("http://www.liexin.com/v3/oscilloscope"));
break;
default:
window.location.href = window.location.origin + (paramsStr ? ("/v3/oscilloscope?" + paramsStr) : ("/v3/oscilloscope"));
break;
}
}else{
let href = window.location.href;
if(href.indexOf('groupmessage') > -1 || href.indexOf('singlemessage') > -1 || href.indexOf('timeline') > -1){
href = href.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/, '#');
window.location.replace(href);
}
}
},
computed: {
...mapState({
bannerData: state => state.oscilloscope.bannerData,
......
......@@ -201,7 +201,6 @@
},
beforeCreate() {
if (!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
let url = "";
let paramsStr = '';
for (let k in this.$route.query) {
paramsStr += k + '=' + this.$route.query[k] + '&'
......
<!DOCTYPE HTML><html lang=zh-CN><head><title>猎芯网 - 电子元器件_ic交易网_电子元件/元器件批发采购网上商城平台</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=keywords content=电子元器件,ic交易网,电子元件,元器件,电子元件商城,IC芯片,猎芯网><meta name=description content=猎芯网(www.Ichunt.com)是国内外知名的买电子元器件、电子元件、元器件采购商城平台,IC交易网站。为客户提供电子元器件现货批发采购,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.4.0.js charset=utf-8></script><script src=https://qzonestyle.gtimg.cn/qzone/qzact/common/share/share.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-0455f58c.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-05f567d8.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-06e5176e.3f03bf7c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-07bb2ad2.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0a69ed85.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0b25da2a.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0b443ae8.be20e716.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0b49c9fb.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0ba7f290.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0ec10f76.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0fdf5892.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-116636b9.6b29a51b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-13b538cc.db4e652e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-15bfe28c.5d3ce0db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-17e75682.dd5497c3.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1ed681f8.fb37b163.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1f118148.3c8a89a1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-203923a6.614bd80c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3184ee2b.b11e5fdf.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-331edff5.450e05a6.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3496124e.b1cd8c5b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-353edd02.079157bd.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-353fa5dc.7783f486.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-37e03490.737ad96c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3d557f58.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-43a68137.a86b5b21.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-49134d46.b2d544b7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4e39f614.f81b02da.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5181b066.5106f9db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-519a4c4c.271480a7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-53503266.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-60eda620.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-70ab5e53.036eb04e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-72c4a5b4.73516033.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-799537ff.5c1dc4d6.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-799df5d2.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-79b021fb.0930351f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7ac4d8ac.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7b15670c.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7becce21.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-822cd7e8.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-8c504092.093f2cac.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-8ff5d354.c17ac9f1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-935e7b56.aee9a026.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a6c2ea9e.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a818d724.2c3d307f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-aec0c2fa.ff0fdc85.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-b6f22368.988e49c1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e04e5fc2.fd90b228.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e93077d2.21c4acaa.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ebdf6a62.89aeaffb.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0455f58c.0af2ab2a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-05f567d8.42fcb5fc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-06e5176e.6770e4ae.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-07bb2ad2.7bcf8056.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0a69ed85.7a8e8c14.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0b25da2a.19ac06ba.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0b443ae8.c7d42248.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0b49c9fb.20daec4e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0ba7f290.fab7538e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0ec10f76.ba1935b4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0fdf5892.720bda92.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-116636b9.e339e233.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-13b538cc.f304fa77.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-15bfe28c.cec1be2d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-17e75682.ee53f2e9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1eb39824.4c6d4a5f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1ed681f8.86875594.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1f118148.dbaa0d7c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-203923a6.24b70db2.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-275fff86.123b17fa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3184ee2b.cf98e2f8.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-331edff5.706d2c78.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3496124e.39bc8505.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-353edd02.db2f718f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-353fa5dc.bfe93206.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-37e03490.c6c411e6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3d557f58.31f8094a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-43a68137.e29ebdd6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-49134d46.2191319a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4e39f614.2abbddfc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5181b066.e4706cc7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-519a4c4c.5b19f27c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-53503266.a66a18aa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-60eda620.b676aa0f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-70ab5e53.dce96bfc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-72c4a5b4.e5c8f2f5.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-799537ff.78dd6dd0.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-799df5d2.6b775248.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-79b021fb.e80f7f6b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7ac4d8ac.95443ea6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7b15670c.8d794753.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7becce21.28caf3d3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-822cd7e8.d1b6ca55.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-8c504092.3e4a98cd.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-8ff5d354.8f3dcbc5.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-935e7b56.8438f0ad.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a6c2ea9e.b4f3a33d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a818d724.91a342e3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-aec0c2fa.17a115ff.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-b6f22368.4aa05156.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e04e5fc2.d691bad3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e93077d2.e4ba2ede.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ebdf6a62.1af6fae8.js rel=prefetch><link href=//h5static.ichunt.com/css/app.eebcf7f8.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.97c56160.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.8cd2f5a1.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.dd2ea64b.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.97c56160.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.eebcf7f8.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>猎芯网 - 电子元器件_ic交易网_电子元件/元器件批发采购网上商城平台</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=keywords content=电子元器件,ic交易网,电子元件,元器件,电子元件商城,IC芯片,猎芯网><meta name=description content=猎芯网(www.Ichunt.com)是国内外知名的买电子元器件、电子元件、元器件采购商城平台,IC交易网站。为客户提供电子元器件现货批发采购,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.4.0.js charset=utf-8></script><script src=https://qzonestyle.gtimg.cn/qzone/qzact/common/share/share.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-0455f58c.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-05f567d8.92647ec0.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-07bb2ad2.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0a69ed85.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0b25da2a.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0b443ae8.be20e716.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0b49c9fb.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0ba7f290.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0ec10f76.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0fdf5892.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-116636b9.6b29a51b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-13b538cc.db4e652e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-15bfe28c.5d3ce0db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-17e75682.dd5497c3.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1ca90fe8.3f03bf7c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1ed681f8.fb37b163.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1f118148.3c8a89a1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-203923a6.614bd80c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3184ee2b.b11e5fdf.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-331edff5.450e05a6.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3496124e.b1cd8c5b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-353edd02.079157bd.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-353fa5dc.7783f486.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-37e03490.737ad96c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3d557f58.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-43a68137.a86b5b21.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-49134d46.b2d544b7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4e39f614.f81b02da.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5181b066.5106f9db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-519a4c4c.271480a7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-53503266.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-56568f8d.988e49c1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-60eda620.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-70ab5e53.036eb04e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-72c4a5b4.73516033.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-799537ff.5c1dc4d6.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-799df5d2.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-79b021fb.0930351f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7ac4d8ac.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7b15670c.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7becce21.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-822cd7e8.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-8c504092.093f2cac.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-8ff5d354.c17ac9f1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-935e7b56.aee9a026.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a6c2ea9e.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a818d724.2c3d307f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-aec0c2fa.ff0fdc85.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e04e5fc2.fd90b228.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-e93077d2.21c4acaa.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ebdf6a62.89aeaffb.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0455f58c.0af2ab2a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-05f567d8.42fcb5fc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-07bb2ad2.7bcf8056.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0a69ed85.5b3df29c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0b25da2a.19ac06ba.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0b443ae8.c7d42248.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0b49c9fb.20daec4e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0ba7f290.fab7538e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0ec10f76.ba1935b4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0fdf5892.720bda92.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-116636b9.e339e233.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-13b538cc.f304fa77.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-15bfe28c.cec1be2d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-17e75682.ee53f2e9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1ca90fe8.ab8b6f41.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1eb39824.4c6d4a5f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1ed681f8.86875594.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1f118148.dbaa0d7c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-203923a6.24b70db2.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-275fff86.123b17fa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3184ee2b.cf98e2f8.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-331edff5.706d2c78.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3496124e.39bc8505.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-353edd02.db2f718f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-353fa5dc.bfe93206.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-37e03490.c6c411e6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3d557f58.31f8094a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-43a68137.e29ebdd6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-49134d46.2191319a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4e39f614.2abbddfc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5181b066.e4706cc7.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-519a4c4c.5b19f27c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-53503266.a66a18aa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-56568f8d.d465213d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-60eda620.b676aa0f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-70ab5e53.dce96bfc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-72c4a5b4.e5c8f2f5.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-799537ff.78dd6dd0.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-799df5d2.6b775248.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-79b021fb.e80f7f6b.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7ac4d8ac.95443ea6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7b15670c.8d794753.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7becce21.28caf3d3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-822cd7e8.d1b6ca55.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-8c504092.3e4a98cd.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-8ff5d354.4f5a9b8c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-935e7b56.8438f0ad.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a6c2ea9e.b4f3a33d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a818d724.91a342e3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-aec0c2fa.17a115ff.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e04e5fc2.d691bad3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e93077d2.e4ba2ede.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ebdf6a62.1af6fae8.js rel=prefetch><link href=//h5static.ichunt.com/css/app.eebcf7f8.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.97c56160.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.deaf0def.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.dd2ea64b.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.97c56160.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.eebcf7f8.css rel=stylesheet></head><body class=boxsiz><noscript><strong>网站出现了一点小问题,正在紧急修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
domain = domain ? ";domain=" + domain : "";
var Days = time;
var exp = new Date();
......@@ -233,4 +233,4 @@
user_rank: '0'
});
sensors.quick('autoTrack');
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.dd2ea64b.js></script><script src=//h5static.ichunt.com/js/app.8cd2f5a1.js></script></body></html>
\ No newline at end of file
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.dd2ea64b.js></script><script src=//h5static.ichunt.com/js/app.deaf0def.js></script></body></html>
\ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-06e5176e"],{"0690":function(t,e,i){"use strict";var n=i("b09f"),r=i("468d"),o=i("201b"),s=i("7050"),a=i("d984"),c=Object(n["a"])("list"),l=c[0],u=c[1],h=c[2];e["a"]=l({mixins:[Object(s["a"])((function(t){this.scroller||(this.scroller=Object(o["d"])(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,i=t.$el,n=t.scroller,o=t.offset,s=t.direction;e=n.getBoundingClientRect?n.getBoundingClientRect():{top:0,bottom:n.innerHeight};var a=e.bottom-e.top;if(!a||Object(r["a"])(i))return!1;var c=!1,l=t.$refs.placeholder.getBoundingClientRect();c="up"===s?e.top-l.top<=o:l.bottom-e.bottom<=o,c&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{class:u("loading"),key:"loading"},[this.slots("loading")||t(a["a"],{attrs:{size:"16"}},[this.loadingText||h("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:u("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:u("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",class:u("placeholder")});return t("div",{class:u(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}})},"166e":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div")},r=[],o=(i("5ab2"),i("6d57"),i("e44b"),i("e10e"),i("f548"),i("70ea")),s=(i("5490"),i("ae8c")),a=i("4260");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+a["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(t){},error:function(){}}}},computed:l({},Object(s["c"])({wxShareInfo:function(t){return t.common.wxShareInfo},wxShareState:function(t){return t.common.wxShareState}})),watch:{wxShareState:function(t){t&&this.share()}},beforeCreate:function(){var t=window.location.href;(t.indexOf("groupmessage")>-1||t.indexOf("singlemessage")>-1||t.indexOf("timeline")>-1)&&(t=t.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/,"#"),window.location.replace(t))},created:function(){this.isLogin?a["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var t=this;try{setShareInfo({title:t.shareObj.title,summary:t.shareObj.title,pic:t.shareObj.imgUrl,url:t.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature}})}catch(e){}wx.config({debug:!1,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(t){}}),wx.onMenuShareTimeline(t.shareObj),wx.onMenuShareAppMessage(t.shareObj),wx.onMenuShareWeibo(t.shareObj),wx.onMenuShareQZone(t.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(t.shareObj):wx.updateAppMessageShareData(t.shareObj),wx.updateTimelineShareData(t.shareObj)}))}}},h=u,d=i("4023"),f=Object(d["a"])(h,n,r,!1,null,null,null);e["a"]=f.exports},"1fe0":function(t,e,i){"use strict";var n=i("e866"),r=i("b09f"),o=i("5bcd"),s=Object(r["a"])("swipe-item"),a=s[0],c=s[1];e["a"]=a({mixins:[Object(o["a"])("vanSwipe")],data:function(){return{offset:0,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,i=e.size,n=e.vertical;return t[n?"height":"width"]=i+"px",this.offset&&(t.transform="translate"+(n?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.parent,i=this.mounted;if(!e.lazyRender)return!0;if(!i)return!1;var n=e.activeIndicator,r=e.count-1,o=0===n?r:n-1,s=n===r?0:n+1;return t===n||t===o||t===s}},render:function(){var t=arguments[0];return t("div",{class:c(),style:this.style,on:Object(n["a"])({},this.$listeners)},[this.shouldRender&&this.slots()])}})},"2a15":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"sample"},[i("Header",{attrs:{title:t.title,meaushow:t.meaushow,bgcolor:t.bgcolor}}),i("van-popup",{model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("div",{staticStyle:{padding:"30px 0"}},[i("p",{staticClass:"text",staticStyle:{"font-size":"16px","text-align":"center","font-weight":"bold","padding-bottom":"20px",color:"#333333","margin-top":"30%"}},[t._v("样片活动已经结束了哦,去看看其他活动吧")]),i("a",{staticStyle:{display:"block","border-radius":"5px",margin:"0 auto",width:"110px","text-align":"center",color:"#fff","font-size":"14px",height:"40px","line-height":"40px",background:"#0073c5"},attrs:{href:"https://m.ichunt.com/v3/activity/activityhz.html"}},[t._v("去看看")])])]),t._e()],1)},r=[],o=(i("5ab2"),i("6d57"),i("e44b"),i("e10e"),i("5f54"),i("70ea")),s=i("0261"),a=i("ae8c"),c=i("57af"),l=i("166e"),u=i("365c"),h=i("4260"),d=i("4103"),f=i("621c"),p=i("f801"),v=i("ac21"),b=i("8767"),g=i("1fe0"),m=i("5e31"),y=i("0690");function w(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function x(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?w(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):w(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}s["a"].use(d["a"]).use(f["a"]).use(p["a"]).use(v["a"]).use(b["a"]).use(g["a"]).use(m["a"]);var S={name:"sample",data:function(){return{show:!0,bannerHeight:173,title:"猎芯网-自营样片",meaushow:!0,bgcolor:"#fafafa",color:"#1080d0",defaultcolor:"#333",swipeThreshold:4,active:0,getPop:!1,getPops:!1,quota:"",quotaNum:"",loadingYp:!1,applyCount:0,inviteCount:0,p:1,classId:"",fxType:0,layer:!1,type:"",sample_class_id:"",brand_id:{},packing:{},encap:{},attrs:{},curr:!1,id:[],shareUrl:window.location.origin+"/v3/samplereg?uid="+h["a"].getCookie("Yo4teW_uid")}},computed:x({},Object(a["c"])({aggSample:function(t){return t.sample.aggSample},ziYingIndex:function(t){return t.sample.ziYingIndex},aggs:function(t){return t.sample.aggs},goodList:function(t){return t.sample.goodList},loading:function(t){return t.sample.loading},finished:function(t){return t.sample.finished},smaple_class_id:function(t){return t.sample.smaple_class_id},getsamplebanner:function(t){return t.sample.getsamplebanner}})),watch:{loading:function(t){this.loadingYp=t},smaple_class_id:function(t){t&&this.$store.dispatch({type:"ziYingIndex",params:{"sample_class_id/eq":t,p:this.p}})}},beforeCreate:function(){if(!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){var t="";for(var e in this.$route.query)t+=e+"="+this.$route.query[e]+"&";switch(t=t.slice(0,-1),window.location.hostname){case"m.liexin.com":window.location.href=t?"http://www.liexin.com/v3/sample?"+t:"http://www.liexin.com/v3/sample";break;default:window.location.href=window.location.origin+(t?"/v3/sample?"+t:"/v3/sample");break}}},created:function(){setTimeout((function(){window.location.href="https://www.ichunt.com/v3/activity/activityhz.html"}),5e3)},methods:{judgeLogin:function(){getCookie("Yo4teW_uid")?this.getCount():this.fxType=3},getGoodList:function(){this.$store.dispatch({type:"getGoodList",data:{p:this.p,class_id:this.classId}})},onClick:function(t){this.sample_class_id=t,this.layer=!this.layer,this.getAggData(t)},changeTab:function(t){this.layer=!1,this.sample_class_id=t,this.$store.dispatch({type:"ziYingIndex",params:{"sample_class_id/eq":t,p:this.p}})},onLoad:function(){var t=this;this.p++;var e=Object.assign({},{p:this.p},{"sample_class_id/eq":this.sample_class_id||this.smaple_class_id},this.brand_id,this.packing,this.encap,this.attrs);setTimeout((function(){t.$store.dispatch({type:"ziYingIndex",params:e})}),100)},getuserf:function(){this.getPop=!1},getAggData:function(t){var e=Object.assign({},{reset:!0,"sample_class_id/eq":t});this.id=[],this.brand_id={},this.packing={},this.encap={},this.attrs={},this.$store.dispatch(Object(o["a"])({type:"aggs",params:e},"params",e))},submit:function(){var t=Object.assign({},{"sample_class_id/eq":this.sample_class_id},this.brand_id,this.packing,this.encap,this.attrs);this.$store.dispatch({type:"ziYingIndex",params:t}),this.layer=!1},canel:function(){var t=Object.assign({},{reset:!0,"sample_class_id/eq":this.sample_class_id});this.id=[],this.brand_id={},this.packing={},this.encap={},this.attrs={},this.$store.dispatch(Object(o["a"])({type:"aggs",params:t},"params",t))},screenFn:function(t,e,i){if("brand_id"==e)this.brand_id={"brand_id/condition":t},i&&(this.brand_id={});else if("packing"==e)this.packing={"packing/condition":t},i&&(this.packing={});else if("encap"==e)this.encap={"encap/condition":t},i&&(this.encap={});else{var n={};n[e]=[t],this.attrs={"attrs/nested":JSON.stringify(n)},i&&(this.attrs={})}this.id.push(t);var r=Object.assign({},{"sample_class_id/eq":this.sample_class_id},this.brand_id,this.packing,this.encap,this.attrs,{id:this.id.join(",")});this.$store.dispatch({type:"aggs",params:r})},getCount:function(){var t=this;u["c"].getUserSampleInfo().then((function(e){var i=e.data;0==i.err_code?(t.applyCount=i.data.apply_count||0,t.inviteCount=i.data.invite_count||0,0==t.inviteCount?t.fxType=2:t.fxType=1):"11012"==i.err_code&&(window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href))})).catch((function(t){}))},yaoqing:function(t){var e=h["a"].isLogin();if(1==e){var i=h["a"].aggxde(t.stock);0!=this.applyCount?i?1*this.applyCount<1*t.quota?(this.getPops=!0,this.quota=t.quota,this.quotaNum=1*t.quota-1*this.applyCount):this.$router.push({path:"/sampleapply",query:{id:t.goods_id}}):Object(v["a"])("样品库存不足"):this.getPop=!0}else window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)}},components:{Header:c["a"],wxShare:l["a"],"van-list":y["a"]}},O=S,j=(i("6e2e"),i("4023")),k=Object(j["a"])(O,n,r,!1,null,"1724cb23",null);e["default"]=k.exports},4103:function(t,e,i){"use strict";var n=i("e866"),r=i("b09f"),o=i("ec86"),s=i("5bcd"),a=i("36b5"),c=Object(r["a"])("tab"),l=c[0],u=c[1];e["a"]=l({mixins:[Object(s["a"])("vanTabs")],props:Object(n["a"])(Object(n["a"])({},a["c"]),{},{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){return Object(o["b"])(this.name)?this.name:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick((function(){e.parent.$emit("rendered",e.computedName,e.title)}))}},render:function(t){var e=this.slots,i=this.parent,n=this.isActive,r=this.inited||i.scrollspy||!i.lazyRender,o=i.scrollspy||n,s=r?e():t();return i.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!n},class:u("pane-wrapper",{inactive:!n})},[t("div",{class:u("pane")},[s])]):t("div",{directives:[{name:"show",value:o}],attrs:{role:"tabpanel"},class:u("pane")},[s])}})},"468d":function(t,e,i){"use strict";function n(t){var e=window.getComputedStyle(t),i="none"===e.display,n=null===t.offsetParent&&"fixed"!==e.position;return i||n}i.d(e,"a",(function(){return n}))},5490:function(t,e,i){"use strict";i("9a0e")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},"5a2a":function(t,e,i){
/*!
* Vue-Lazyload.js v1.2.3
* (c) 2018 Awe <hilongjw@gmail.com>
* Released under the MIT License.
*/
!function(e,i){t.exports=i()}(0,(function(){"use strict";function t(t){return t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function e(t){t=t||{};var e=arguments.length,r=0;if(1===e)return t;for(;++r<e;){var o=arguments[r];m(t)&&(t=o),n(o)&&i(t,o)}return t}function i(t,i){for(var o in y(t,i),i)if("__proto__"!==o&&r(i,o)){var s=i[o];n(s)?("undefined"===x(t[o])&&"function"===x(s)&&(t[o]=s),t[o]=e(t[o]||{},s)):t[o]=s}return t}function n(t){return"object"===x(t)||"function"===x(t)}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t,e){if(t.length){var i=t.indexOf(e);return i>-1?t.splice(i,1):void 0}}function s(t,e){for(var i=!1,n=0,r=t.length;n<r;n++)if(e(t[n])){i=!0;break}return i}function a(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var i=t.getAttribute("data-srcset"),n=[],r=t.parentNode,o=r.offsetWidth*e,s=void 0,a=void 0,c=void 0;i=i.trim().split(","),i.map((function(t){t=t.trim(),s=t.lastIndexOf(" "),-1===s?(a=t,c=999998):(a=t.substr(0,s),c=parseInt(t.substr(s+1,t.length-s-2),10)),n.push([c,a])})),n.sort((function(t,e){if(t[0]<e[0])return-1;if(t[0]>e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var l="",u=void 0,h=n.length,d=0;d<h;d++)if(u=n[d],u[0]>=o){l=u[1];break}return l}}function c(t,e){for(var i=void 0,n=0,r=t.length;n<r;n++)if(e(t[n])){i=t[n];break}return i}function l(){if(!O)return!1;var t=!0,e=document;try{var i=e.createElement("object");i.type="image/webp",i.style.visibility="hidden",i.innerHTML="!",e.body.appendChild(i),t=!i.offsetWidth,e.body.removeChild(i)}catch(e){t=!1}return t}function u(t,e){var i=null,n=0;return function(){if(!i){var r=Date.now()-n,o=this,s=arguments,a=function(){n=Date.now(),i=!1,t.apply(o,s)};r>=e?a():i=setTimeout(a,e)}}}function h(t){return null!==t&&"object"===(void 0===t?"undefined":v(t))}function d(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e}function f(t){for(var e=t.length,i=[],n=0;n<e;n++)i.push(t[n]);return i}function p(){}var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},g=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),m=function(t){return null==t||"function"!=typeof t&&"object"!==(void 0===t?"undefined":v(t))},y=function(t,e){if(null===t||void 0===t)throw new TypeError("expected first argument to be an object.");if(void 0===e||"undefined"==typeof Symbol)return t;if("function"!=typeof Object.getOwnPropertySymbols)return t;for(var i=Object.prototype.propertyIsEnumerable,n=Object(t),r=arguments.length,o=0;++o<r;)for(var s=Object(arguments[o]),a=Object.getOwnPropertySymbols(s),c=0;c<a.length;c++){var l=a[c];i.call(s,l)&&(n[l]=s[l])}return n},w=Object.prototype.toString,x=function(e){var i=void 0===e?"undefined":v(e);return"undefined"===i?"undefined":null===e?"null":!0===e||!1===e||e instanceof Boolean?"boolean":"string"===i||e instanceof String?"string":"number"===i||e instanceof Number?"number":"function"===i||e instanceof Function?void 0!==e.constructor.name&&"Generator"===e.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(e)?"array":e instanceof RegExp?"regexp":e instanceof Date?"date":(i=w.call(e),"[object RegExp]"===i?"regexp":"[object Date]"===i?"date":"[object Arguments]"===i?"arguments":"[object Error]"===i?"error":"[object Promise]"===i?"promise":t(e)?"buffer":"[object Set]"===i?"set":"[object WeakSet]"===i?"weakset":"[object Map]"===i?"map":"[object WeakMap]"===i?"weakmap":"[object Symbol]"===i?"symbol":"[object Map Iterator]"===i?"mapiterator":"[object Set Iterator]"===i?"setiterator":"[object String Iterator]"===i?"stringiterator":"[object Array Iterator]"===i?"arrayiterator":"[object Int8Array]"===i?"int8array":"[object Uint8Array]"===i?"uint8array":"[object Uint8ClampedArray]"===i?"uint8clampedarray":"[object Int16Array]"===i?"int16array":"[object Uint16Array]"===i?"uint16array":"[object Int32Array]"===i?"int32array":"[object Uint32Array]"===i?"uint32array":"[object Float32Array]"===i?"float32array":"[object Float64Array]"===i?"float64array":"object")},S=e,O="undefined"!=typeof window,j=O&&"IntersectionObserver"in window,k={event:"event",observer:"observer"},_=function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i}if(O)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t)}(),T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return O&&window.devicePixelRatio||t},I=function(){if(O){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),C={on:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];I?t.addEventListener(e,i,{capture:n,passive:!0}):t.addEventListener(e,i,n)},off:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,i,n)}},$=function(t,e,i){var n=new Image;n.src=t.src,n.onload=function(){e({naturalHeight:n.naturalHeight,naturalWidth:n.naturalWidth,src:n.src})},n.onerror=function(t){i(t)}},L=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},A=function(t){return L(t,"overflow")+L(t,"overflow-y")+L(t,"overflow-x")},z=function(t){if(O){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(A(e)))return e;e=e.parentNode}return window}},E={},B=function(){function t(e){var i=e.el,n=e.src,r=e.error,o=e.loading,s=e.bindType,a=e.$parent,c=e.options,l=e.elRenderer;b(this,t),this.el=i,this.src=n,this.error=r,this.loading=o,this.bindType=s,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=c,this.rect=null,this.$parent=a,this.elRenderer=l,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return g(t,[{key:"initState",value:function(){this.el.dataset.src=this.src,this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,i=t.loading,n=t.error,r=this.src;this.src=e,this.loading=i,this.error=n,this.filter(),r!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var t=this;d(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;$({src:this.loading},(function(i){e.render("loading",!1),t()}),(function(){t(),e.options.silent}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent,void e()):this.state.loaded||E[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),$({src:t.src},(function(i){t.naturalHeight=i.naturalHeight,t.naturalWidth=i.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),E[t.src]=1,e()}),(function(e){t.options.silent,t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),N="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",P=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],M={rootMargin:"0px",threshold:0},D=function(t){return function(){function e(t){var i=t.preLoad,n=t.error,r=t.throttleWait,o=t.preLoadTop,s=t.dispatchEvent,a=t.loading,c=t.attempt,h=t.silent,d=void 0===h||h,f=t.scale,p=t.listenEvents,v=(t.hasbind,t.filter),g=t.adapter,m=t.observer,y=t.observerOptions;b(this,e),this.version="1.2.3",this.mode=k.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!s,throttleWait:r||200,preLoad:i||1.3,preLoadTop:o||0,error:n||N,loading:a||N,attempt:c||3,scale:f||T(f),ListenEvents:p||P,hasbind:!1,supportWebp:l(),filter:v||{},adapter:g||{},observer:!!m,observerOptions:y||M},this._initEvent(),this.lazyLoadHandler=u(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?k.observer:k.event)}return g(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map((function(e){t.push(e.performance())})),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),O&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,i,n){var r=this;if(s(this.ListenerQueue,(function(t){return t.el===e})))return this.update(e,i),t.nextTick(this.lazyLoadHandler);var o=this._valueFormatter(i.value),c=o.src,l=o.loading,u=o.error;t.nextTick((function(){c=a(e,r.options.scale)||c,r._observer&&r._observer.observe(e);var o=Object.keys(i.modifiers)[0],s=void 0;o&&(s=n.context.$refs[o],s=s?s.$el||s:document.getElementById(o)),s||(s=z(e));var h=new B({bindType:i.arg,$parent:s,el:e,loading:l,error:u,src:c,elRenderer:r._elRenderer.bind(r),options:r.options});r.ListenerQueue.push(h),O&&(r._addListenerTarget(window),r._addListenerTarget(s)),r.lazyLoadHandler(),t.nextTick((function(){return r.lazyLoadHandler()}))}))}},{key:"update",value:function(e,i){var n=this,r=this._valueFormatter(i.value),o=r.src,s=r.loading,l=r.error;o=a(e,this.options.scale)||o;var u=c(this.ListenerQueue,(function(t){return t.el===e}));u&&u.update({src:o,loading:s,error:l}),this._observer&&(this._observer.unobserve(e),this._observer.observe(e)),this.lazyLoadHandler(),t.nextTick((function(){return n.lazyLoadHandler()}))}},{key:"remove",value:function(t){if(t){this._observer&&this._observer.unobserve(t);var e=c(this.ListenerQueue,(function(e){return e.el===t}));e&&(this._removeListenerTarget(e.$parent),this._removeListenerTarget(window),o(this.ListenerQueue,e)&&e.destroy())}}},{key:"removeComponent",value:function(t){t&&(o(this.ListenerQueue,t),this._observer&&this._observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this._removeListenerTarget(t.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;j||t!==k.observer||(t=k.event),this.mode=t,t===k.event?(this._observer&&(this.ListenerQueue.forEach((function(t){e._observer.unobserve(t.el)})),this._observer=null),this.TargetQueue.forEach((function(t){e._initListen(t.el,!0)}))):(this.TargetQueue.forEach((function(t){e._initListen(t.el,!1)})),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(t){if(t){var e=c(this.TargetQueue,(function(e){return e.el===t}));return e?e.childrenCount++:(e={el:t,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===k.event&&this._initListen(e.el,!0),this.TargetQueue.push(e)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(t){var e=this;this.TargetQueue.forEach((function(i,n){i.el===t&&(--i.childrenCount||(e._initListen(i.el,!1),e.TargetQueue.splice(n,1),i=null))}))}},{key:"_initListen",value:function(t,e){var i=this;this.options.ListenEvents.forEach((function(n){return C[e?"on":"off"](t,n,i.lazyLoadHandler)}))}},{key:"_initEvent",value:function(){var t=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(e,i){t.Event.listeners[e].push(i)},this.$once=function(e,i){function n(){r.$off(e,n),i.apply(r,arguments)}var r=t;t.$on(e,n)},this.$off=function(e,i){i?o(t.Event.listeners[e],i):t.Event.listeners[e]=[]},this.$emit=function(e,i,n){t.Event.listeners[e].forEach((function(t){return t(i,n)}))}}},{key:"_lazyLoadHandler",value:function(){var t=this;this.ListenerQueue.forEach((function(e,i){e.state.loaded||e.checkInView()&&e.load((function(){!e.error&&e.loaded&&t.ListenerQueue.splice(i,1)}))}))}},{key:"_initIntersectionObserver",value:function(){var t=this;j&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach((function(e){t._observer.observe(e.el)})))}},{key:"_observerHandler",value:function(t,e){var i=this;t.forEach((function(t){t.isIntersecting&&i.ListenerQueue.forEach((function(e){if(e.el===t.target){if(e.state.loaded)return i._observer.unobserve(e.el);e.load()}}))}))}},{key:"_elRenderer",value:function(t,e,i){if(t.el){var n=t.el,r=t.bindType,o=void 0;switch(e){case"loading":o=t.loading;break;case"error":o=t.error;break;default:o=t.src}if(r?n.style[r]='url("'+o+'")':n.getAttribute("src")!==o&&n.setAttribute("src",o),n.setAttribute("lazy",e),this.$emit(e,t,i),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var s=new _(e,{detail:t});n.dispatchEvent(s)}}}},{key:"_valueFormatter",value:function(t){var e=t,i=this.options.loading,n=this.options.error;return h(t)&&(t.src||this.options.silent,e=t.src,i=t.loading||this.options.loading,n=t.error||this.options.error),{src:e,loading:i,error:n}}}]),e}()},H=function(t){return{props:{tag:{type:String,default:"div"}},render:function(t){return!1===this.show?t(this.tag):t(this.tag,null,this.$slots.default)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),O&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}},R=function(){function t(e){var i=e.lazy;b(this,t),this.lazy=i,i.lazyContainerMananger=this,this._queue=[]}return g(t,[{key:"bind",value:function(t,e,i){var n=new W({el:t,binding:e,vnode:i,lazy:this.lazy});this._queue.push(n)}},{key:"update",value:function(t,e,i){var n=c(this._queue,(function(e){return e.el===t}));n&&n.update({el:t,binding:e,vnode:i})}},{key:"unbind",value:function(t,e,i){var n=c(this._queue,(function(e){return e.el===t}));n&&(n.clear(),o(this._queue,n))}}]),t}(),Q={selector:"img"},W=function(){function t(e){var i=e.el,n=e.binding,r=e.vnode,o=e.lazy;b(this,t),this.el=null,this.vnode=r,this.binding=n,this.options={},this.lazy=o,this._queue=[],this.update({el:i,binding:n})}return g(t,[{key:"update",value:function(t){var e=this,i=t.el,n=t.binding;this.el=i,this.options=S({},Q,n.value),this.getImgs().forEach((function(t){e.lazy.add(t,S({},e.binding,{value:{src:t.dataset.src,error:t.dataset.error,loading:t.dataset.loading}}),e.vnode)}))}},{key:"getImgs",value:function(){return f(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var t=this;this.getImgs().forEach((function(e){return t.lazy.remove(e)})),this.vnode=null,this.binding=null,this.lazy=null}}]),t}();return{install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=D(t),n=new i(e),r=new R({lazy:n}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=n,e.lazyComponent&&t.component("lazy-component",H(n)),o?(t.directive("lazy",{bind:n.add.bind(n),update:n.update.bind(n),componentUpdated:n.lazyLoadHandler.bind(n),unbind:n.remove.bind(n)}),t.directive("lazy-container",{bind:r.bind.bind(r),update:r.update.bind(r),unbind:r.unbind.bind(r)})):(t.directive("lazy",{bind:n.lazyLoadHandler.bind(n),update:function(t,e){S(this.vm.$refs,this.vm.$els),n.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){n.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){r.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.unbind(this.el)}}))}}}))},"5bcd":function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return a}));var n=i("0261");function r(t){var e=[];function i(t){t.forEach((function(t){e.push(t),t.componentInstance&&i(t.componentInstance.$children.map((function(t){return t.$vnode}))),t.children&&i(t.children)}))}return i(t),e}function o(t,e){var i=e.$vnode.componentOptions;if(i&&i.children){var n=r(i.children);t.sort((function(t,e){return n.indexOf(t.$vnode)-n.indexOf(e.$vnode)}))}}function s(t,e){var i,r;void 0===e&&(e={});var s=e.indexKey||"index";return n["a"].extend({inject:(i={},i[t]={default:null},i),computed:(r={parent:function(){return this.disableBindRelation?null:this[t]}},r[s]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},r),mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(e){return e!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);o(t,this.parent),this.parent.children=t}}}})}function a(t){return{provide:function(){var e;return e={},e[t]=this,e},data:function(){return{children:[]}}}}},"5e31":function(t,e,i){"use strict";var n=i("b09f"),r=i("ec86"),o=i("a217"),s=i("57e5"),a=Object(n["a"])("popup"),c=a[0],l=a[1];e["a"]=c({mixins:[Object(o["a"])()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,n=this.position,o=this.duration,a="center"===n,c=this.transition||(a?"van-fade":"van-popup-slide-"+n),u={};if(Object(r["b"])(o)){var h=a?"animationDuration":"transitionDuration";u[h]=o+"s"}return e("transition",{attrs:{name:c},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:u,class:l((t={round:i},t[n]=n,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(s["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})},"621c":function(t,e,i){"use strict";var n,r=i("b09f"),o=i("ec86"),s=i("1a56"),a=i("c3d6"),c=i("201b");function l(t,e,i){Object(a["a"])(n);var r=0,o=t.scrollLeft,s=0===i?1:Math.round(1e3*i/16);function c(){t.scrollLeft+=(e-o)/s,++r<s&&(n=Object(a["c"])(c))}c()}function u(t,e,i,n){var r=Object(c["c"])(t),o=r<e,s=0===i?1:Math.round(1e3*i/16),l=(e-r)/s;function u(){r+=l,(o&&r>e||!o&&r<e)&&(r=e),Object(c["h"])(t,r),o&&r<e||!o&&r>e?Object(a["c"])(u):n&&Object(a["c"])(n)}u()}var h=i("36b5"),d=i("468d"),f=i("f46a"),p=i("6c7c"),v=i("5bcd"),b=i("7050"),g=i("3dc8"),m=Object(r["a"])("tab"),y=m[0],w=m[1],x=y({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,ellipsis:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String,swipeThreshold:[Number,String]},computed:{style:function(){var t={},e=this.color,i=this.isActive,n="card"===this.type;e&&n&&(t.borderColor=e,this.disabled||(i?t.backgroundColor=e:t.color=e));var r=i?this.activeColor:this.inactiveColor;return r&&(t.color=r),this.scrollable&&this.ellipsis&&(t.flexBasis=88/this.swipeThreshold+"%"),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:w("text",{ellipsis:this.ellipsis})},[this.slots()||this.title]);return this.dot||Object(o["b"])(this.info)&&""!==this.info?t("span",{class:w("text-wrapper")},[e,t(g["a"],{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[w({active:this.isActive,disabled:this.disabled,complete:!this.ellipsis})],style:this.style,on:{click:this.onClick}},[this.genText()])}}),S=Object(r["a"])("sticky"),O=S[0],j=S[1],k=O({mixins:[Object(b["a"])((function(t,e){if(this.scroller||(this.scroller=Object(c["d"])(this.$el)),this.observer){var i=e?"observe":"unobserve";this.observer[i](this.$el)}t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()}))],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{style:function(){if(this.fixed){var t={};return Object(o["b"])(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTop&&this.fixed&&(t.top=this.offsetTop+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},created:function(){var t=this;!o["f"]&&window.IntersectionObserver&&(this.observer=new IntersectionObserver((function(e){e[0].intersectionRatio>0&&t.onScroll()}),{root:document.body}))},methods:{onScroll:function(){var t=this;if(!Object(d["a"])(this.$el)){this.height=this.$el.offsetHeight;var e=this.container,i=+this.offsetTop,n=Object(c["c"])(window),r=Object(c["a"])(this.$el),o=function(){t.$emit("scroll",{scrollTop:n,isFixed:t.fixed})};if(e){var s=r+e.offsetHeight;if(n+i+this.height>s){var a=this.height+n-s;return a<this.height?(this.fixed=!0,this.transform=-(a+i)):this.fixed=!1,void o()}}n+i>r?(this.fixed=!0,this.transform=0):this.fixed=!1,o()}}},render:function(){var t=arguments[0],e=this.fixed,i={height:e?this.height+"px":null};return t("div",{style:i},[t("div",{class:j({fixed:e}),style:this.style},[this.slots()])])}}),_=i("e866"),T=i("4f40"),I=Object(r["a"])("tabs"),C=I[0],$=I[1],L=50,A=C({mixins:[T["a"]],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,i=this.currentIndex;"horizontal"===t&&this.offsetX>=L&&(e>0&&0!==i?this.$emit("change",i-1):e<0&&i!==this.count-1&&this.$emit("change",i+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:$("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){var t=arguments[0];return t("div",{class:$("content",{animated:this.animated}),on:Object(_["a"])({},this.listeners)},[this.genChildren()])}}),z=Object(r["a"])("tabs"),E=z[0],B=z[1];e["a"]=E({mixins:[Object(v["b"])("vanTabs"),Object(b["a"])((function(t){this.scroller||(this.scroller=Object(c["d"])(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)}))],model:{prop:"active"},props:{color:String,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},border:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:4}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},scrollOffset:function(){return this.sticky?+this.offsetTop+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.currentName||this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&Object(c["g"])(Math.ceil(Object(c["a"])(this.$el)-this.offsetTop))},scrollspy:function(t){t?Object(f["b"])(this.scroller,"scroll",this.onScroll,!0):Object(f["a"])(this.scroller,"scroll",this.onScroll)}},mounted:function(){this.onShow()},activated:function(){this.onShow(),this.setLine()},methods:{resize:function(){this.setLine()},onShow:function(){var t=this;this.$nextTick((function(){t.inited=!0,t.tabHeight=Object(c["e"])(t.$refs.wrap),t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var i=t.$refs.titles;if(i&&i[t.currentIndex]&&"line"===t.type&&!Object(d["a"])(t.$el)){var n=i[t.currentIndex].$el,r=t.lineWidth,a=t.lineHeight,c=Object(o["b"])(r)?r:n.offsetWidth/2,l=n.offsetLeft+n.offsetWidth/2,u={width:Object(s["a"])(c),backgroundColor:t.color,transform:"translateX("+l+"px) translateX(-50%)"};if(e&&(u.transitionDuration=t.duration+"s"),Object(o["b"])(a)){var h=Object(s["a"])(a);u.height=h,u.borderRadius=h}t.lineStyle=u}}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),i=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:i)},setCurrentIndex:function(t){if(t=this.findAvailableTab(t),Object(o["b"])(t)&&t!==this.currentIndex){var e=null!==this.currentIndex;this.currentIndex=t,this.$emit("input",this.currentName),e&&this.$emit("change",this.currentName,this.children[t].title)}},findAvailableTab:function(t){var e=t<this.currentIndex?-1:1;while(t>=0&&t<this.children.length){if(!this.children[t].disabled)return t;t+=e}},onClick:function(t){var e=this.children[t],i=e.title,n=e.disabled,r=e.computedName;n?this.$emit("disabled",r,i):(this.setCurrentIndex(t),this.scrollToCurrentContent(),this.$emit("click",r,i))},scrollIntoView:function(t){var e=this.$refs.titles;if(this.scrollable&&e&&e[this.currentIndex]){var i=this.$refs.nav,n=e[this.currentIndex].$el,r=n.offsetLeft-(i.offsetWidth-n.offsetWidth)/2;l(i,r,t?0:+this.duration)}},onSticktScroll:function(t){this.stickyFixed=t.isFixed,this.$emit("scroll",t)},scrollToCurrentContent:function(){var t=this;if(this.scrollspy){var e=this.children[this.currentIndex],i=null==e?void 0:e.$el;if(i){var n=Object(c["a"])(i,this.scroller)-this.scrollOffset;this.lockScroll=!0,u(this.scroller,n,+this.duration,(function(){t.lockScroll=!1}))}}},onScroll:function(){if(this.scrollspy&&!this.lockScroll){var t=this.getCurrentIndexOnScroll();this.setCurrentIndex(t)}},getCurrentIndexOnScroll:function(){for(var t=this.children,e=0;e<t.length;e++){var i=Object(c["f"])(t[e].$el);if(i>this.scrollOffset)return 0===e?0:e-1}return t.length-1}},render:function(){var t,e=this,i=arguments[0],n=this.type,r=this.ellipsis,s=this.animated,a=this.scrollable,c=this.children.map((function(t,s){return i(x,{ref:"titles",refInFor:!0,attrs:{type:n,dot:t.dot,info:Object(o["b"])(t.badge)?t.badge:t.info,title:t.title,color:e.color,isActive:s===e.currentIndex,ellipsis:r,disabled:t.disabled,scrollable:a,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,swipeThreshold:e.swipeThreshold},style:t.titleStyle,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(s),Object(h["b"])(t.$router,t)}}})})),l=i("div",{ref:"wrap",class:[B("wrap",{scrollable:a}),(t={},t[p["e"]]="line"===n&&this.border,t)]},[i("div",{ref:"nav",attrs:{role:"tablist"},class:B("nav",[n]),style:this.navStyle},[this.slots("nav-left"),c,"line"===n&&i("div",{class:B("line"),style:this.lineStyle}),this.slots("nav-right")])]);return i("div",{class:B([n])},[this.sticky?i(k,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[l]):l,i(A,{attrs:{count:this.children.length,animated:s,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}})},"6c7c":function(t,e,i){"use strict";i.d(e,"g",(function(){return n})),i.d(e,"d",(function(){return o})),i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return a})),i.d(e,"c",(function(){return c})),i.d(e,"e",(function(){return l})),i.d(e,"f",(function(){return u}));var n="#fff",r="van-hairline",o=r+"--top",s=r+"--left",a=r+"--bottom",c=r+"--surround",l=r+"--top-bottom",u=r+"-unset--top-bottom"},"6e2e":function(t,e,i){"use strict";var n=i("caff"),r=i.n(n);r.a},8767:function(t,e,i){"use strict";var n=i("b09f"),r=i("468d"),o=i("f46a"),s=i("c3d6"),a=i("787b"),c=i("4f40"),l=i("5bcd"),u=i("7050"),h=Object(n["a"])("swipe"),d=h[0],f=h[1];e["a"]=d({mixins:[c["a"],Object(l["b"])("vanSwipe"),Object(u["a"])((function(t,e){t(window,"resize",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t,e=this.vertical?"height":"width",i=this.vertical?"width":"height";return t={},t[e]=this.trackSize+"px",t[i]=this[i]?this[i]+"px":"",t.transitionDuration=(this.swiping?0:this.duration)+"ms",t.transform="translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)",t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!Object(r["a"])(this.$el)){clearTimeout(this.timer);var e=this.$el.getBoundingClientRect();this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=Math.round(+this.width||e.width),this.computedHeight=Math.round(+this.height||e.height),this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(Object(o["c"])(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,e=this.delta,i=Date.now()-this.touchStartTime,n=e/i,r=Math.abs(n)>.25||Math.abs(e)>t/2;if(r&&this.isCorrectDirection){var o=this.vertical?this.offsetY:this.offsetX,s=0;s=this.loop?o>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:s,emitChange:!0})}else e&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,i=this.count,n=this.maxCount;return t?this.loop?Object(a["b"])(e+t,-1,i):Object(a["b"])(e+t,0,n):e},getTargetOffset:function(t,e){void 0===e&&(e=0);var i=t*this.size;this.loop||(i=Math.min(i,-this.minOffset));var n=Math.round(e-i);return this.loop||(n=Object(a["b"])(n,this.minOffset,0)),n},move:function(t){var e=t.pace,i=void 0===e?0:e,n=t.offset,r=void 0===n?0:n,o=t.emitChange,s=this.loop,a=this.count,c=this.active,l=this.children,u=this.trackSize,h=this.minOffset;if(!(a<=1)){var d=this.getTargetActive(i),f=this.getTargetOffset(d,r);if(s){if(l[0]&&f!==h){var p=f<h;l[0].offset=p?u:0}if(l[a-1]&&0!==f){var v=f>0;l[a-1].offset=v?-u:0}}this.active=d,this.offset=f,o&&d!==c&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(s["b"])((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(s["b"])((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var i=this;void 0===e&&(e={}),this.correctPosition(),this.resetTouchStatus(),Object(s["b"])((function(){var n;n=i.loop&&t===i.count?0===i.active?0:t:t%i.count,e.immediate?Object(s["b"])((function(){i.swiping=!1})):i.swiping=!1,i.move({pace:n-i.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;e>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},genIndicator:function(){var t=this,e=this.$createElement,i=this.count,n=this.activeIndicator,r=this.slots("indicator");return r||(this.showIndicators&&i>1?e("div",{class:f("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(i)).map((function(i,r){return e("i",{class:f("indicator",{active:r===n}),style:r===n?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:f()},[t("div",{ref:"track",style:this.trackStyle,class:f("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}})},"9a0e":function(t,e,i){var n=i("e46b"),r=i("238a"),o=i("f6b4"),s=/"/g,a=function(t,e,i,n){var r=String(o(t)),a="<"+e;return""!==i&&(a+=" "+i+'="'+String(n).replace(s,"&quot;")+'"'),a+">"+r+"</"+e+">"};t.exports=function(t,e){var i={};i[t]=e(a),n(n.P+n.F*r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",i)}},c3d6:function(t,e,i){"use strict";(function(t){i.d(e,"c",(function(){return l})),i.d(e,"b",(function(){return u})),i.d(e,"a",(function(){return h}));var n=i("ec86"),r=Date.now();function o(t){var e=Date.now(),i=Math.max(0,16-(e-r)),n=setTimeout(t,i);return r=e+i,n}var s=n["f"]?t:window,a=s.requestAnimationFrame||o,c=s.cancelAnimationFrame||s.clearTimeout;function l(t){return a.call(s,t)}function u(t){l((function(){l(t)}))}function h(t){c.call(s,t)}}).call(this,i("9edd"))},caff:function(t,e,i){},f801:function(t,e,i){"use strict";var n=i("5a2a"),r=i.n(n);e["a"]=r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a69ed85"],{"166e":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div")},a=[],r=(n("5ab2"),n("6d57"),n("e44b"),n("e10e"),n("70ea")),c=(n("5490"),n("ae8c")),s=n("4260");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(r["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var u={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+s["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(t){},error:function(){}}}},computed:h({},Object(c["c"])({wxShareInfo:function(t){return t.common.wxShareInfo},wxShareState:function(t){return t.common.wxShareState}})),watch:{wxShareState:function(t){t&&this.share()}},created:function(){this.isLogin?s["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var t=this;try{setShareInfo({title:t.shareObj.title,summary:t.shareObj.title,pic:t.shareObj.imgUrl,url:t.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature}})}catch(e){}wx.config({debug:!1,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(t){}}),wx.onMenuShareTimeline(t.shareObj),wx.onMenuShareAppMessage(t.shareObj),wx.onMenuShareWeibo(t.shareObj),wx.onMenuShareQZone(t.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(t.shareObj):wx.updateAppMessageShareData(t.shareObj),wx.updateTimelineShareData(t.shareObj)}))}}},m=u,p=n("4023"),g=Object(p["a"])(m,i,a,!1,null,null,null);e["a"]=g.exports},5490:function(t,e,n){"use strict";n("9a0e")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},"72c1":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"risk-success"},[n("div",{staticClass:"head"},[n("p",{staticClass:"tit"},[t._v("你的公司评级")]),n("p",{staticClass:"level"},[t._v(t._s(t.level)+"级")]),n("p",{staticClass:"txt"},[t._v("IC信用贷额度"+t._s(t.quota)+"万!")]),n("p",{staticClass:"tt"},[t._v("上述估值仅供参考,分享给朋友48小时内查收详细评估")])]),n("div",{staticClass:"content"},[n("ul",{staticClass:"list"},t._l(t.text,(function(e,i){return n("li",{key:i},[n("img",{attrs:{src:e.text_3,alt:""}}),n("p",{staticClass:"t1"},[t._v(t._s(e.text_1))]),n("p",{staticClass:"t2"},[t._v(t._s(e.text_2))])])})),0)]),n("a",{staticClass:"share",attrs:{href:"javascript:;"},on:{click:t.share}}),t.shade?n("div",{staticClass:"shade",on:{click:function(e){t.shade=!1}}},[n("b",{staticClass:"im"})]):t._e(),n("wxShare",{attrs:{isLogin:!1,link:t.link,title:t.title,desc:t.desc,imgUrl:t.imgUrl}})],1)},a=[],r=n("166e"),c={name:"risksuccess",data:function(){return{shade:!1,level:"",quota:"",text:[],link:window.location.origin+"/h5/view/#/creditest",title:"内容过于刺激!邀你偷偷看看你的公司评分",desc:"我们公司综合评级......",imgUrl:"http://img.ichunt.com/images/ichunt/minProgram/07afe4ceb4c5226f310c0e2832428cfb.jpg",account:""}},created:function(){var t=Math.floor(4*Math.random());this.getData(t)},methods:{getData:function(t){var e=["SSS","SS","S","A+"],n=["500","300","100","20"],i=[[{text_1:"巨无霸型公司",text_2:"订单接到手软,数钱数到抽筋。真不是我服务不努力,谁叫我客户多只能雨露均沾呢!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"财大气粗本粗",text_2:"此路是我开,此树是我栽,要想从此过,留下买路财!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"一诺千金就是你",text_2:"靠兄弟行走江湖,靠口碑扬名立万说的就是我!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"蒸蒸日上很开心",text_2:"老板说赚多少亿无所谓,做人重要是开心!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}],[{text_1:"传说型大公司",text_2:"他人贪婪我恐惧,他人恐惧我贪婪!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"豪气满满",text_2:"你的超能力是什么?”答:“Rich!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"颂声遍野就是你",text_2:"跟我谈信用!看看华强北有多少兄弟给我点赞!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"日高日上很开心",text_2:"老板说赚多少亿无所谓,做人重要是开心!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}],[{text_1:"大公司就是你,你就是大公司",text_2:"稳扎稳打,一步一个脚印!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"人间难寻的真土豪",text_2:"钱会有的,女朋(基)友也会有的!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"童叟无欺就是你",text_2:"跟我谈信用!看看华强北有多少兄弟给我点赞!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"欣欣向荣很开心",text_2:"先定一个能达到的小目标,比如我先赚他一个亿!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}],[{text_1:"史诗型巨",text_2:"客户虐我千百遍,我待客户如初恋!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"·真· 腰缠万贯",text_2:"钱会有的,女朋(基)友也会有的!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"言而有信就是你",text_2:"别的我不敢说,就算骗自己我也不会骗我的客(父)户(母)!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"势如破竹很开心",text_2:"我是一只潜力股,不管你信不信,反正我是不信的!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}]];this.text=i[t],this.level=e[t],this.quota=n[t]},share:function(){this.shade=!0}},components:{wxShare:r["a"]}},s=c,o=(n("93b3"),n("4023")),h=Object(o["a"])(s,i,a,!1,null,"c8182046",null);e["default"]=h.exports},"88eb":function(t,e,n){},"93b3":function(t,e,n){"use strict";var i=n("88eb"),a=n.n(i);a.a},"9a0e":function(t,e,n){var i=n("e46b"),a=n("238a"),r=n("f6b4"),c=/"/g,s=function(t,e,n,i){var a=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(c,"&quot;")+'"'),s+">"+a+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*a((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a69ed85"],{"166e":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div")},a=[],r=(n("5ab2"),n("6d57"),n("e44b"),n("e10e"),n("f548"),n("70ea")),c=(n("5490"),n("ae8c")),s=n("4260");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(r["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var u={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+s["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(t){},error:function(){}}}},computed:h({},Object(c["c"])({wxShareInfo:function(t){return t.common.wxShareInfo},wxShareState:function(t){return t.common.wxShareState}})),watch:{wxShareState:function(t){t&&this.share()}},beforeCreate:function(){var t=window.location.href;(t.indexOf("groupmessage")>-1||t.indexOf("singlemessage")>-1||t.indexOf("timeline")>-1)&&(t=t.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/,"#"),window.location.replace(t))},created:function(){this.isLogin?s["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var t=this;try{setShareInfo({title:t.shareObj.title,summary:t.shareObj.title,pic:t.shareObj.imgUrl,url:t.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature}})}catch(e){}wx.config({debug:!1,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(t){}}),wx.onMenuShareTimeline(t.shareObj),wx.onMenuShareAppMessage(t.shareObj),wx.onMenuShareWeibo(t.shareObj),wx.onMenuShareQZone(t.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(t.shareObj):wx.updateAppMessageShareData(t.shareObj),wx.updateTimelineShareData(t.shareObj)}))}}},m=u,g=n("4023"),p=Object(g["a"])(m,i,a,!1,null,null,null);e["a"]=p.exports},5490:function(t,e,n){"use strict";n("9a0e")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},"72c1":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"risk-success"},[n("div",{staticClass:"head"},[n("p",{staticClass:"tit"},[t._v("你的公司评级")]),n("p",{staticClass:"level"},[t._v(t._s(t.level)+"级")]),n("p",{staticClass:"txt"},[t._v("IC信用贷额度"+t._s(t.quota)+"万!")]),n("p",{staticClass:"tt"},[t._v("上述估值仅供参考,分享给朋友48小时内查收详细评估")])]),n("div",{staticClass:"content"},[n("ul",{staticClass:"list"},t._l(t.text,(function(e,i){return n("li",{key:i},[n("img",{attrs:{src:e.text_3,alt:""}}),n("p",{staticClass:"t1"},[t._v(t._s(e.text_1))]),n("p",{staticClass:"t2"},[t._v(t._s(e.text_2))])])})),0)]),n("a",{staticClass:"share",attrs:{href:"javascript:;"},on:{click:t.share}}),t.shade?n("div",{staticClass:"shade",on:{click:function(e){t.shade=!1}}},[n("b",{staticClass:"im"})]):t._e(),n("wxShare",{attrs:{isLogin:!1,link:t.link,title:t.title,desc:t.desc,imgUrl:t.imgUrl}})],1)},a=[],r=n("166e"),c={name:"risksuccess",data:function(){return{shade:!1,level:"",quota:"",text:[],link:window.location.origin+"/h5/view/#/creditest",title:"内容过于刺激!邀你偷偷看看你的公司评分",desc:"我们公司综合评级......",imgUrl:"http://img.ichunt.com/images/ichunt/minProgram/07afe4ceb4c5226f310c0e2832428cfb.jpg",account:""}},created:function(){var t=Math.floor(4*Math.random());this.getData(t)},methods:{getData:function(t){var e=["SSS","SS","S","A+"],n=["500","300","100","20"],i=[[{text_1:"巨无霸型公司",text_2:"订单接到手软,数钱数到抽筋。真不是我服务不努力,谁叫我客户多只能雨露均沾呢!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"财大气粗本粗",text_2:"此路是我开,此树是我栽,要想从此过,留下买路财!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"一诺千金就是你",text_2:"靠兄弟行走江湖,靠口碑扬名立万说的就是我!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"蒸蒸日上很开心",text_2:"老板说赚多少亿无所谓,做人重要是开心!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}],[{text_1:"传说型大公司",text_2:"他人贪婪我恐惧,他人恐惧我贪婪!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"豪气满满",text_2:"你的超能力是什么?”答:“Rich!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"颂声遍野就是你",text_2:"跟我谈信用!看看华强北有多少兄弟给我点赞!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"日高日上很开心",text_2:"老板说赚多少亿无所谓,做人重要是开心!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}],[{text_1:"大公司就是你,你就是大公司",text_2:"稳扎稳打,一步一个脚印!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"人间难寻的真土豪",text_2:"钱会有的,女朋(基)友也会有的!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"童叟无欺就是你",text_2:"跟我谈信用!看看华强北有多少兄弟给我点赞!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"欣欣向荣很开心",text_2:"先定一个能达到的小目标,比如我先赚他一个亿!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}],[{text_1:"史诗型巨",text_2:"客户虐我千百遍,我待客户如初恋!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/61565cb8f1ed21365366297300e546e8.png"},{text_1:"·真· 腰缠万贯",text_2:"钱会有的,女朋(基)友也会有的!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/8fc978fdd1c6f6b986a22f29c6b70935.png"},{text_1:"言而有信就是你",text_2:"别的我不敢说,就算骗自己我也不会骗我的客(父)户(母)!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/3663a7c8e978057c69943614f1b567c8.png"},{text_1:"势如破竹很开心",text_2:"我是一只潜力股,不管你信不信,反正我是不信的!",text_3:"http://img.ichunt.com/images/ichunt/minProgram/b600f7291689e1c107edefd828eb43ad.png"}]];this.text=i[t],this.level=e[t],this.quota=n[t]},share:function(){this.shade=!0}},components:{wxShare:r["a"]}},s=c,o=(n("93b3"),n("4023")),h=Object(o["a"])(s,i,a,!1,null,"c8182046",null);e["default"]=h.exports},"88eb":function(t,e,n){},"93b3":function(t,e,n){"use strict";var i=n("88eb"),a=n.n(i);a.a},"9a0e":function(t,e,n){var i=n("e46b"),a=n("238a"),r=n("f6b4"),c=/"/g,s=function(t,e,n,i){var a=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(c,"&quot;")+'"'),s+">"+a+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*a((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1ca90fe8"],{"0690":function(t,e,i){"use strict";var n=i("b09f"),r=i("468d"),o=i("201b"),s=i("7050"),a=i("d984"),c=Object(n["a"])("list"),l=c[0],u=c[1],h=c[2];e["a"]=l({mixins:[Object(s["a"])((function(t){this.scroller||(this.scroller=Object(o["d"])(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,i=t.$el,n=t.scroller,o=t.offset,s=t.direction;e=n.getBoundingClientRect?n.getBoundingClientRect():{top:0,bottom:n.innerHeight};var a=e.bottom-e.top;if(!a||Object(r["a"])(i))return!1;var c=!1,l=t.$refs.placeholder.getBoundingClientRect();c="up"===s?e.top-l.top<=o:l.bottom-e.bottom<=o,c&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{class:u("loading"),key:"loading"},[this.slots("loading")||t(a["a"],{attrs:{size:"16"}},[this.loadingText||h("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:u("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:u("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",class:u("placeholder")});return t("div",{class:u(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}})},"166e":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div")},r=[],o=(i("5ab2"),i("6d57"),i("e44b"),i("e10e"),i("70ea")),s=(i("5490"),i("ae8c")),a=i("4260");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+a["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(t){},error:function(){}}}},computed:l({},Object(s["c"])({wxShareInfo:function(t){return t.common.wxShareInfo},wxShareState:function(t){return t.common.wxShareState}})),watch:{wxShareState:function(t){t&&this.share()}},created:function(){this.isLogin?a["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var t=this;try{setShareInfo({title:t.shareObj.title,summary:t.shareObj.title,pic:t.shareObj.imgUrl,url:t.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature}})}catch(e){}wx.config({debug:!1,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(t){}}),wx.onMenuShareTimeline(t.shareObj),wx.onMenuShareAppMessage(t.shareObj),wx.onMenuShareWeibo(t.shareObj),wx.onMenuShareQZone(t.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(t.shareObj):wx.updateAppMessageShareData(t.shareObj),wx.updateTimelineShareData(t.shareObj)}))}}},h=u,d=i("4023"),f=Object(d["a"])(h,n,r,!1,null,null,null);e["a"]=f.exports},"16a8":function(t,e,i){"use strict";var n=i("525c"),r=i.n(n);r.a},"1fe0":function(t,e,i){"use strict";var n=i("e866"),r=i("b09f"),o=i("5bcd"),s=Object(r["a"])("swipe-item"),a=s[0],c=s[1];e["a"]=a({mixins:[Object(o["a"])("vanSwipe")],data:function(){return{offset:0,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,i=e.size,n=e.vertical;return t[n?"height":"width"]=i+"px",this.offset&&(t.transform="translate"+(n?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.parent,i=this.mounted;if(!e.lazyRender)return!0;if(!i)return!1;var n=e.activeIndicator,r=e.count-1,o=0===n?r:n-1,s=n===r?0:n+1;return t===n||t===o||t===s}},render:function(){var t=arguments[0];return t("div",{class:c(),style:this.style,on:Object(n["a"])({},this.$listeners)},[this.shouldRender&&this.slots()])}})},"2a15":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"sample"},[i("Header",{attrs:{title:t.title,meaushow:t.meaushow,bgcolor:t.bgcolor}}),i("van-popup",{model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("div",{staticStyle:{padding:"30px 0"}},[i("p",{staticClass:"text",staticStyle:{"font-size":"16px","text-align":"center","font-weight":"bold","padding-bottom":"20px",color:"#333333","margin-top":"30%"}},[t._v("样片活动已经结束了哦,去看看其他活动吧")]),i("a",{staticStyle:{display:"block","border-radius":"5px",margin:"0 auto",width:"110px","text-align":"center",color:"#fff","font-size":"14px",height:"40px","line-height":"40px",background:"#0073c5"},attrs:{href:"https://m.ichunt.com/v3/activity/activityhz.html"}},[t._v("去看看")])])]),t._e()],1)},r=[],o=(i("5ab2"),i("6d57"),i("e44b"),i("e10e"),i("5f54"),i("70ea")),s=i("0261"),a=i("ae8c"),c=i("57af"),l=i("166e"),u=i("365c"),h=i("4260"),d=i("4103"),f=i("621c"),p=i("f801"),v=i("ac21"),b=i("8767"),g=i("1fe0"),m=i("5e31"),y=i("0690");function w(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function x(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?w(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):w(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}s["a"].use(d["a"]).use(f["a"]).use(p["a"]).use(v["a"]).use(b["a"]).use(g["a"]).use(m["a"]);var S={name:"sample",data:function(){return{show:!0,bannerHeight:173,title:"猎芯网-自营样片",meaushow:!0,bgcolor:"#fafafa",color:"#1080d0",defaultcolor:"#333",swipeThreshold:4,active:0,getPop:!1,getPops:!1,quota:"",quotaNum:"",loadingYp:!1,applyCount:0,inviteCount:0,p:1,classId:"",fxType:0,layer:!1,type:"",sample_class_id:"",brand_id:{},packing:{},encap:{},attrs:{},curr:!1,id:[],shareUrl:window.location.origin+"/v3/samplereg?uid="+h["a"].getCookie("Yo4teW_uid")}},computed:x({},Object(a["c"])({aggSample:function(t){return t.sample.aggSample},ziYingIndex:function(t){return t.sample.ziYingIndex},aggs:function(t){return t.sample.aggs},goodList:function(t){return t.sample.goodList},loading:function(t){return t.sample.loading},finished:function(t){return t.sample.finished},smaple_class_id:function(t){return t.sample.smaple_class_id},getsamplebanner:function(t){return t.sample.getsamplebanner}})),watch:{loading:function(t){this.loadingYp=t},smaple_class_id:function(t){t&&this.$store.dispatch({type:"ziYingIndex",params:{"sample_class_id/eq":t,p:this.p}})}},beforeCreate:function(){if(!/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){var t="";for(var e in this.$route.query)t+=e+"="+this.$route.query[e]+"&";switch(t=t.slice(0,-1),window.location.hostname){case"m.liexin.com":window.location.href=t?"http://www.liexin.com/v3/sample?"+t:"http://www.liexin.com/v3/sample";break;default:window.location.href=window.location.origin+(t?"/v3/sample?"+t:"/v3/sample");break}}},created:function(){setTimeout((function(){window.location.href="https://www.ichunt.com/v3/activity/activityhz.html"}),5e3)},methods:{judgeLogin:function(){getCookie("Yo4teW_uid")?this.getCount():this.fxType=3},getGoodList:function(){this.$store.dispatch({type:"getGoodList",data:{p:this.p,class_id:this.classId}})},onClick:function(t){this.sample_class_id=t,this.layer=!this.layer,this.getAggData(t)},changeTab:function(t){this.layer=!1,this.sample_class_id=t,this.$store.dispatch({type:"ziYingIndex",params:{"sample_class_id/eq":t,p:this.p}})},onLoad:function(){var t=this;this.p++;var e=Object.assign({},{p:this.p},{"sample_class_id/eq":this.sample_class_id||this.smaple_class_id},this.brand_id,this.packing,this.encap,this.attrs);setTimeout((function(){t.$store.dispatch({type:"ziYingIndex",params:e})}),100)},getuserf:function(){this.getPop=!1},getAggData:function(t){var e=Object.assign({},{reset:!0,"sample_class_id/eq":t});this.id=[],this.brand_id={},this.packing={},this.encap={},this.attrs={},this.$store.dispatch(Object(o["a"])({type:"aggs",params:e},"params",e))},submit:function(){var t=Object.assign({},{"sample_class_id/eq":this.sample_class_id},this.brand_id,this.packing,this.encap,this.attrs);this.$store.dispatch({type:"ziYingIndex",params:t}),this.layer=!1},canel:function(){var t=Object.assign({},{reset:!0,"sample_class_id/eq":this.sample_class_id});this.id=[],this.brand_id={},this.packing={},this.encap={},this.attrs={},this.$store.dispatch(Object(o["a"])({type:"aggs",params:t},"params",t))},screenFn:function(t,e,i){if("brand_id"==e)this.brand_id={"brand_id/condition":t},i&&(this.brand_id={});else if("packing"==e)this.packing={"packing/condition":t},i&&(this.packing={});else if("encap"==e)this.encap={"encap/condition":t},i&&(this.encap={});else{var n={};n[e]=[t],this.attrs={"attrs/nested":JSON.stringify(n)},i&&(this.attrs={})}this.id.push(t);var r=Object.assign({},{"sample_class_id/eq":this.sample_class_id},this.brand_id,this.packing,this.encap,this.attrs,{id:this.id.join(",")});this.$store.dispatch({type:"aggs",params:r})},getCount:function(){var t=this;u["c"].getUserSampleInfo().then((function(e){var i=e.data;0==i.err_code?(t.applyCount=i.data.apply_count||0,t.inviteCount=i.data.invite_count||0,0==t.inviteCount?t.fxType=2:t.fxType=1):"11012"==i.err_code&&(window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href))})).catch((function(t){}))},yaoqing:function(t){var e=h["a"].isLogin();if(1==e){var i=h["a"].aggxde(t.stock);0!=this.applyCount?i?1*this.applyCount<1*t.quota?(this.getPops=!0,this.quota=t.quota,this.quotaNum=1*t.quota-1*this.applyCount):this.$router.push({path:"/sampleapply",query:{id:t.goods_id}}):Object(v["a"])("样品库存不足"):this.getPop=!0}else window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)}},components:{Header:c["a"],wxShare:l["a"],"van-list":y["a"]}},O=S,j=(i("16a8"),i("4023")),k=Object(j["a"])(O,n,r,!1,null,"0fa81a12",null);e["default"]=k.exports},4103:function(t,e,i){"use strict";var n=i("e866"),r=i("b09f"),o=i("ec86"),s=i("5bcd"),a=i("36b5"),c=Object(r["a"])("tab"),l=c[0],u=c[1];e["a"]=l({mixins:[Object(s["a"])("vanTabs")],props:Object(n["a"])(Object(n["a"])({},a["c"]),{},{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){return Object(o["b"])(this.name)?this.name:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick((function(){e.parent.$emit("rendered",e.computedName,e.title)}))}},render:function(t){var e=this.slots,i=this.parent,n=this.isActive,r=this.inited||i.scrollspy||!i.lazyRender,o=i.scrollspy||n,s=r?e():t();return i.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!n},class:u("pane-wrapper",{inactive:!n})},[t("div",{class:u("pane")},[s])]):t("div",{directives:[{name:"show",value:o}],attrs:{role:"tabpanel"},class:u("pane")},[s])}})},"468d":function(t,e,i){"use strict";function n(t){var e=window.getComputedStyle(t),i="none"===e.display,n=null===t.offsetParent&&"fixed"!==e.position;return i||n}i.d(e,"a",(function(){return n}))},"525c":function(t,e,i){},5490:function(t,e,i){"use strict";i("9a0e")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},"5a2a":function(t,e,i){
/*!
* Vue-Lazyload.js v1.2.3
* (c) 2018 Awe <hilongjw@gmail.com>
* Released under the MIT License.
*/
!function(e,i){t.exports=i()}(0,(function(){"use strict";function t(t){return t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function e(t){t=t||{};var e=arguments.length,r=0;if(1===e)return t;for(;++r<e;){var o=arguments[r];m(t)&&(t=o),n(o)&&i(t,o)}return t}function i(t,i){for(var o in y(t,i),i)if("__proto__"!==o&&r(i,o)){var s=i[o];n(s)?("undefined"===x(t[o])&&"function"===x(s)&&(t[o]=s),t[o]=e(t[o]||{},s)):t[o]=s}return t}function n(t){return"object"===x(t)||"function"===x(t)}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t,e){if(t.length){var i=t.indexOf(e);return i>-1?t.splice(i,1):void 0}}function s(t,e){for(var i=!1,n=0,r=t.length;n<r;n++)if(e(t[n])){i=!0;break}return i}function a(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var i=t.getAttribute("data-srcset"),n=[],r=t.parentNode,o=r.offsetWidth*e,s=void 0,a=void 0,c=void 0;i=i.trim().split(","),i.map((function(t){t=t.trim(),s=t.lastIndexOf(" "),-1===s?(a=t,c=999998):(a=t.substr(0,s),c=parseInt(t.substr(s+1,t.length-s-2),10)),n.push([c,a])})),n.sort((function(t,e){if(t[0]<e[0])return-1;if(t[0]>e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var l="",u=void 0,h=n.length,d=0;d<h;d++)if(u=n[d],u[0]>=o){l=u[1];break}return l}}function c(t,e){for(var i=void 0,n=0,r=t.length;n<r;n++)if(e(t[n])){i=t[n];break}return i}function l(){if(!O)return!1;var t=!0,e=document;try{var i=e.createElement("object");i.type="image/webp",i.style.visibility="hidden",i.innerHTML="!",e.body.appendChild(i),t=!i.offsetWidth,e.body.removeChild(i)}catch(e){t=!1}return t}function u(t,e){var i=null,n=0;return function(){if(!i){var r=Date.now()-n,o=this,s=arguments,a=function(){n=Date.now(),i=!1,t.apply(o,s)};r>=e?a():i=setTimeout(a,e)}}}function h(t){return null!==t&&"object"===(void 0===t?"undefined":v(t))}function d(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e}function f(t){for(var e=t.length,i=[],n=0;n<e;n++)i.push(t[n]);return i}function p(){}var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},g=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),m=function(t){return null==t||"function"!=typeof t&&"object"!==(void 0===t?"undefined":v(t))},y=function(t,e){if(null===t||void 0===t)throw new TypeError("expected first argument to be an object.");if(void 0===e||"undefined"==typeof Symbol)return t;if("function"!=typeof Object.getOwnPropertySymbols)return t;for(var i=Object.prototype.propertyIsEnumerable,n=Object(t),r=arguments.length,o=0;++o<r;)for(var s=Object(arguments[o]),a=Object.getOwnPropertySymbols(s),c=0;c<a.length;c++){var l=a[c];i.call(s,l)&&(n[l]=s[l])}return n},w=Object.prototype.toString,x=function(e){var i=void 0===e?"undefined":v(e);return"undefined"===i?"undefined":null===e?"null":!0===e||!1===e||e instanceof Boolean?"boolean":"string"===i||e instanceof String?"string":"number"===i||e instanceof Number?"number":"function"===i||e instanceof Function?void 0!==e.constructor.name&&"Generator"===e.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(e)?"array":e instanceof RegExp?"regexp":e instanceof Date?"date":(i=w.call(e),"[object RegExp]"===i?"regexp":"[object Date]"===i?"date":"[object Arguments]"===i?"arguments":"[object Error]"===i?"error":"[object Promise]"===i?"promise":t(e)?"buffer":"[object Set]"===i?"set":"[object WeakSet]"===i?"weakset":"[object Map]"===i?"map":"[object WeakMap]"===i?"weakmap":"[object Symbol]"===i?"symbol":"[object Map Iterator]"===i?"mapiterator":"[object Set Iterator]"===i?"setiterator":"[object String Iterator]"===i?"stringiterator":"[object Array Iterator]"===i?"arrayiterator":"[object Int8Array]"===i?"int8array":"[object Uint8Array]"===i?"uint8array":"[object Uint8ClampedArray]"===i?"uint8clampedarray":"[object Int16Array]"===i?"int16array":"[object Uint16Array]"===i?"uint16array":"[object Int32Array]"===i?"int32array":"[object Uint32Array]"===i?"uint32array":"[object Float32Array]"===i?"float32array":"[object Float64Array]"===i?"float64array":"object")},S=e,O="undefined"!=typeof window,j=O&&"IntersectionObserver"in window,k={event:"event",observer:"observer"},_=function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i}if(O)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t)}(),T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return O&&window.devicePixelRatio||t},I=function(){if(O){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),C={on:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];I?t.addEventListener(e,i,{capture:n,passive:!0}):t.addEventListener(e,i,n)},off:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,i,n)}},$=function(t,e,i){var n=new Image;n.src=t.src,n.onload=function(){e({naturalHeight:n.naturalHeight,naturalWidth:n.naturalWidth,src:n.src})},n.onerror=function(t){i(t)}},L=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},A=function(t){return L(t,"overflow")+L(t,"overflow-y")+L(t,"overflow-x")},z=function(t){if(O){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(A(e)))return e;e=e.parentNode}return window}},E={},B=function(){function t(e){var i=e.el,n=e.src,r=e.error,o=e.loading,s=e.bindType,a=e.$parent,c=e.options,l=e.elRenderer;b(this,t),this.el=i,this.src=n,this.error=r,this.loading=o,this.bindType=s,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=c,this.rect=null,this.$parent=a,this.elRenderer=l,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return g(t,[{key:"initState",value:function(){this.el.dataset.src=this.src,this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,i=t.loading,n=t.error,r=this.src;this.src=e,this.loading=i,this.error=n,this.filter(),r!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var t=this;d(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;$({src:this.loading},(function(i){e.render("loading",!1),t()}),(function(){t(),e.options.silent}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent,void e()):this.state.loaded||E[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),$({src:t.src},(function(i){t.naturalHeight=i.naturalHeight,t.naturalWidth=i.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),E[t.src]=1,e()}),(function(e){t.options.silent,t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),N="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",P=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],M={rootMargin:"0px",threshold:0},D=function(t){return function(){function e(t){var i=t.preLoad,n=t.error,r=t.throttleWait,o=t.preLoadTop,s=t.dispatchEvent,a=t.loading,c=t.attempt,h=t.silent,d=void 0===h||h,f=t.scale,p=t.listenEvents,v=(t.hasbind,t.filter),g=t.adapter,m=t.observer,y=t.observerOptions;b(this,e),this.version="1.2.3",this.mode=k.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!s,throttleWait:r||200,preLoad:i||1.3,preLoadTop:o||0,error:n||N,loading:a||N,attempt:c||3,scale:f||T(f),ListenEvents:p||P,hasbind:!1,supportWebp:l(),filter:v||{},adapter:g||{},observer:!!m,observerOptions:y||M},this._initEvent(),this.lazyLoadHandler=u(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?k.observer:k.event)}return g(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map((function(e){t.push(e.performance())})),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),O&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,i,n){var r=this;if(s(this.ListenerQueue,(function(t){return t.el===e})))return this.update(e,i),t.nextTick(this.lazyLoadHandler);var o=this._valueFormatter(i.value),c=o.src,l=o.loading,u=o.error;t.nextTick((function(){c=a(e,r.options.scale)||c,r._observer&&r._observer.observe(e);var o=Object.keys(i.modifiers)[0],s=void 0;o&&(s=n.context.$refs[o],s=s?s.$el||s:document.getElementById(o)),s||(s=z(e));var h=new B({bindType:i.arg,$parent:s,el:e,loading:l,error:u,src:c,elRenderer:r._elRenderer.bind(r),options:r.options});r.ListenerQueue.push(h),O&&(r._addListenerTarget(window),r._addListenerTarget(s)),r.lazyLoadHandler(),t.nextTick((function(){return r.lazyLoadHandler()}))}))}},{key:"update",value:function(e,i){var n=this,r=this._valueFormatter(i.value),o=r.src,s=r.loading,l=r.error;o=a(e,this.options.scale)||o;var u=c(this.ListenerQueue,(function(t){return t.el===e}));u&&u.update({src:o,loading:s,error:l}),this._observer&&(this._observer.unobserve(e),this._observer.observe(e)),this.lazyLoadHandler(),t.nextTick((function(){return n.lazyLoadHandler()}))}},{key:"remove",value:function(t){if(t){this._observer&&this._observer.unobserve(t);var e=c(this.ListenerQueue,(function(e){return e.el===t}));e&&(this._removeListenerTarget(e.$parent),this._removeListenerTarget(window),o(this.ListenerQueue,e)&&e.destroy())}}},{key:"removeComponent",value:function(t){t&&(o(this.ListenerQueue,t),this._observer&&this._observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this._removeListenerTarget(t.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;j||t!==k.observer||(t=k.event),this.mode=t,t===k.event?(this._observer&&(this.ListenerQueue.forEach((function(t){e._observer.unobserve(t.el)})),this._observer=null),this.TargetQueue.forEach((function(t){e._initListen(t.el,!0)}))):(this.TargetQueue.forEach((function(t){e._initListen(t.el,!1)})),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(t){if(t){var e=c(this.TargetQueue,(function(e){return e.el===t}));return e?e.childrenCount++:(e={el:t,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===k.event&&this._initListen(e.el,!0),this.TargetQueue.push(e)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(t){var e=this;this.TargetQueue.forEach((function(i,n){i.el===t&&(--i.childrenCount||(e._initListen(i.el,!1),e.TargetQueue.splice(n,1),i=null))}))}},{key:"_initListen",value:function(t,e){var i=this;this.options.ListenEvents.forEach((function(n){return C[e?"on":"off"](t,n,i.lazyLoadHandler)}))}},{key:"_initEvent",value:function(){var t=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(e,i){t.Event.listeners[e].push(i)},this.$once=function(e,i){function n(){r.$off(e,n),i.apply(r,arguments)}var r=t;t.$on(e,n)},this.$off=function(e,i){i?o(t.Event.listeners[e],i):t.Event.listeners[e]=[]},this.$emit=function(e,i,n){t.Event.listeners[e].forEach((function(t){return t(i,n)}))}}},{key:"_lazyLoadHandler",value:function(){var t=this;this.ListenerQueue.forEach((function(e,i){e.state.loaded||e.checkInView()&&e.load((function(){!e.error&&e.loaded&&t.ListenerQueue.splice(i,1)}))}))}},{key:"_initIntersectionObserver",value:function(){var t=this;j&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach((function(e){t._observer.observe(e.el)})))}},{key:"_observerHandler",value:function(t,e){var i=this;t.forEach((function(t){t.isIntersecting&&i.ListenerQueue.forEach((function(e){if(e.el===t.target){if(e.state.loaded)return i._observer.unobserve(e.el);e.load()}}))}))}},{key:"_elRenderer",value:function(t,e,i){if(t.el){var n=t.el,r=t.bindType,o=void 0;switch(e){case"loading":o=t.loading;break;case"error":o=t.error;break;default:o=t.src}if(r?n.style[r]='url("'+o+'")':n.getAttribute("src")!==o&&n.setAttribute("src",o),n.setAttribute("lazy",e),this.$emit(e,t,i),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var s=new _(e,{detail:t});n.dispatchEvent(s)}}}},{key:"_valueFormatter",value:function(t){var e=t,i=this.options.loading,n=this.options.error;return h(t)&&(t.src||this.options.silent,e=t.src,i=t.loading||this.options.loading,n=t.error||this.options.error),{src:e,loading:i,error:n}}}]),e}()},H=function(t){return{props:{tag:{type:String,default:"div"}},render:function(t){return!1===this.show?t(this.tag):t(this.tag,null,this.$slots.default)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),O&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}},R=function(){function t(e){var i=e.lazy;b(this,t),this.lazy=i,i.lazyContainerMananger=this,this._queue=[]}return g(t,[{key:"bind",value:function(t,e,i){var n=new W({el:t,binding:e,vnode:i,lazy:this.lazy});this._queue.push(n)}},{key:"update",value:function(t,e,i){var n=c(this._queue,(function(e){return e.el===t}));n&&n.update({el:t,binding:e,vnode:i})}},{key:"unbind",value:function(t,e,i){var n=c(this._queue,(function(e){return e.el===t}));n&&(n.clear(),o(this._queue,n))}}]),t}(),Q={selector:"img"},W=function(){function t(e){var i=e.el,n=e.binding,r=e.vnode,o=e.lazy;b(this,t),this.el=null,this.vnode=r,this.binding=n,this.options={},this.lazy=o,this._queue=[],this.update({el:i,binding:n})}return g(t,[{key:"update",value:function(t){var e=this,i=t.el,n=t.binding;this.el=i,this.options=S({},Q,n.value),this.getImgs().forEach((function(t){e.lazy.add(t,S({},e.binding,{value:{src:t.dataset.src,error:t.dataset.error,loading:t.dataset.loading}}),e.vnode)}))}},{key:"getImgs",value:function(){return f(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var t=this;this.getImgs().forEach((function(e){return t.lazy.remove(e)})),this.vnode=null,this.binding=null,this.lazy=null}}]),t}();return{install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=D(t),n=new i(e),r=new R({lazy:n}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=n,e.lazyComponent&&t.component("lazy-component",H(n)),o?(t.directive("lazy",{bind:n.add.bind(n),update:n.update.bind(n),componentUpdated:n.lazyLoadHandler.bind(n),unbind:n.remove.bind(n)}),t.directive("lazy-container",{bind:r.bind.bind(r),update:r.update.bind(r),unbind:r.unbind.bind(r)})):(t.directive("lazy",{bind:n.lazyLoadHandler.bind(n),update:function(t,e){S(this.vm.$refs,this.vm.$els),n.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){n.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){r.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.unbind(this.el)}}))}}}))},"5bcd":function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return a}));var n=i("0261");function r(t){var e=[];function i(t){t.forEach((function(t){e.push(t),t.componentInstance&&i(t.componentInstance.$children.map((function(t){return t.$vnode}))),t.children&&i(t.children)}))}return i(t),e}function o(t,e){var i=e.$vnode.componentOptions;if(i&&i.children){var n=r(i.children);t.sort((function(t,e){return n.indexOf(t.$vnode)-n.indexOf(e.$vnode)}))}}function s(t,e){var i,r;void 0===e&&(e={});var s=e.indexKey||"index";return n["a"].extend({inject:(i={},i[t]={default:null},i),computed:(r={parent:function(){return this.disableBindRelation?null:this[t]}},r[s]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},r),mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(e){return e!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);o(t,this.parent),this.parent.children=t}}}})}function a(t){return{provide:function(){var e;return e={},e[t]=this,e},data:function(){return{children:[]}}}}},"5e31":function(t,e,i){"use strict";var n=i("b09f"),r=i("ec86"),o=i("a217"),s=i("57e5"),a=Object(n["a"])("popup"),c=a[0],l=a[1];e["a"]=c({mixins:[Object(o["a"])()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){var t=this,e=function(e){return function(i){return t.$emit(e,i)}};this.onClick=e("click"),this.onOpened=e("opened"),this.onClosed=e("closed")},render:function(){var t,e=arguments[0];if(this.shouldRender){var i=this.round,n=this.position,o=this.duration,a="center"===n,c=this.transition||(a?"van-fade":"van-popup-slide-"+n),u={};if(Object(r["b"])(o)){var h=a?"animationDuration":"transitionDuration";u[h]=o+"s"}return e("transition",{attrs:{name:c},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],style:u,class:l((t={round:i},t[n]=n,t["safe-area-inset-bottom"]=this.safeAreaInsetBottom,t)),on:{click:this.onClick}},[this.slots(),this.closeable&&e(s["a"],{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:l("close-icon",this.closeIconPosition),on:{click:this.close}})])])}}})},"621c":function(t,e,i){"use strict";var n,r=i("b09f"),o=i("ec86"),s=i("1a56"),a=i("c3d6"),c=i("201b");function l(t,e,i){Object(a["a"])(n);var r=0,o=t.scrollLeft,s=0===i?1:Math.round(1e3*i/16);function c(){t.scrollLeft+=(e-o)/s,++r<s&&(n=Object(a["c"])(c))}c()}function u(t,e,i,n){var r=Object(c["c"])(t),o=r<e,s=0===i?1:Math.round(1e3*i/16),l=(e-r)/s;function u(){r+=l,(o&&r>e||!o&&r<e)&&(r=e),Object(c["h"])(t,r),o&&r<e||!o&&r>e?Object(a["c"])(u):n&&Object(a["c"])(n)}u()}var h=i("36b5"),d=i("468d"),f=i("f46a"),p=i("6c7c"),v=i("5bcd"),b=i("7050"),g=i("3dc8"),m=Object(r["a"])("tab"),y=m[0],w=m[1],x=y({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,ellipsis:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String,swipeThreshold:[Number,String]},computed:{style:function(){var t={},e=this.color,i=this.isActive,n="card"===this.type;e&&n&&(t.borderColor=e,this.disabled||(i?t.backgroundColor=e:t.color=e));var r=i?this.activeColor:this.inactiveColor;return r&&(t.color=r),this.scrollable&&this.ellipsis&&(t.flexBasis=88/this.swipeThreshold+"%"),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:w("text",{ellipsis:this.ellipsis})},[this.slots()||this.title]);return this.dot||Object(o["b"])(this.info)&&""!==this.info?t("span",{class:w("text-wrapper")},[e,t(g["a"],{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){var t=arguments[0];return t("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[w({active:this.isActive,disabled:this.disabled,complete:!this.ellipsis})],style:this.style,on:{click:this.onClick}},[this.genText()])}}),S=Object(r["a"])("sticky"),O=S[0],j=S[1],k=O({mixins:[Object(b["a"])((function(t,e){if(this.scroller||(this.scroller=Object(c["d"])(this.$el)),this.observer){var i=e?"observe":"unobserve";this.observer[i](this.$el)}t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()}))],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{style:function(){if(this.fixed){var t={};return Object(o["b"])(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTop&&this.fixed&&(t.top=this.offsetTop+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},created:function(){var t=this;!o["f"]&&window.IntersectionObserver&&(this.observer=new IntersectionObserver((function(e){e[0].intersectionRatio>0&&t.onScroll()}),{root:document.body}))},methods:{onScroll:function(){var t=this;if(!Object(d["a"])(this.$el)){this.height=this.$el.offsetHeight;var e=this.container,i=+this.offsetTop,n=Object(c["c"])(window),r=Object(c["a"])(this.$el),o=function(){t.$emit("scroll",{scrollTop:n,isFixed:t.fixed})};if(e){var s=r+e.offsetHeight;if(n+i+this.height>s){var a=this.height+n-s;return a<this.height?(this.fixed=!0,this.transform=-(a+i)):this.fixed=!1,void o()}}n+i>r?(this.fixed=!0,this.transform=0):this.fixed=!1,o()}}},render:function(){var t=arguments[0],e=this.fixed,i={height:e?this.height+"px":null};return t("div",{style:i},[t("div",{class:j({fixed:e}),style:this.style},[this.slots()])])}}),_=i("e866"),T=i("4f40"),I=Object(r["a"])("tabs"),C=I[0],$=I[1],L=50,A=C({mixins:[T["a"]],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,i=this.currentIndex;"horizontal"===t&&this.offsetX>=L&&(e>0&&0!==i?this.$emit("change",i-1):e<0&&i!==this.count-1&&this.$emit("change",i+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:$("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){var t=arguments[0];return t("div",{class:$("content",{animated:this.animated}),on:Object(_["a"])({},this.listeners)},[this.genChildren()])}}),z=Object(r["a"])("tabs"),E=z[0],B=z[1];e["a"]=E({mixins:[Object(v["b"])("vanTabs"),Object(b["a"])((function(t){this.scroller||(this.scroller=Object(c["d"])(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)}))],model:{prop:"active"},props:{color:String,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},border:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:4}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},scrollOffset:function(){return this.sticky?+this.offsetTop+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.currentName||this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&Object(c["g"])(Math.ceil(Object(c["a"])(this.$el)-this.offsetTop))},scrollspy:function(t){t?Object(f["b"])(this.scroller,"scroll",this.onScroll,!0):Object(f["a"])(this.scroller,"scroll",this.onScroll)}},mounted:function(){this.onShow()},activated:function(){this.onShow(),this.setLine()},methods:{resize:function(){this.setLine()},onShow:function(){var t=this;this.$nextTick((function(){t.inited=!0,t.tabHeight=Object(c["e"])(t.$refs.wrap),t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var i=t.$refs.titles;if(i&&i[t.currentIndex]&&"line"===t.type&&!Object(d["a"])(t.$el)){var n=i[t.currentIndex].$el,r=t.lineWidth,a=t.lineHeight,c=Object(o["b"])(r)?r:n.offsetWidth/2,l=n.offsetLeft+n.offsetWidth/2,u={width:Object(s["a"])(c),backgroundColor:t.color,transform:"translateX("+l+"px) translateX(-50%)"};if(e&&(u.transitionDuration=t.duration+"s"),Object(o["b"])(a)){var h=Object(s["a"])(a);u.height=h,u.borderRadius=h}t.lineStyle=u}}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),i=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:i)},setCurrentIndex:function(t){if(t=this.findAvailableTab(t),Object(o["b"])(t)&&t!==this.currentIndex){var e=null!==this.currentIndex;this.currentIndex=t,this.$emit("input",this.currentName),e&&this.$emit("change",this.currentName,this.children[t].title)}},findAvailableTab:function(t){var e=t<this.currentIndex?-1:1;while(t>=0&&t<this.children.length){if(!this.children[t].disabled)return t;t+=e}},onClick:function(t){var e=this.children[t],i=e.title,n=e.disabled,r=e.computedName;n?this.$emit("disabled",r,i):(this.setCurrentIndex(t),this.scrollToCurrentContent(),this.$emit("click",r,i))},scrollIntoView:function(t){var e=this.$refs.titles;if(this.scrollable&&e&&e[this.currentIndex]){var i=this.$refs.nav,n=e[this.currentIndex].$el,r=n.offsetLeft-(i.offsetWidth-n.offsetWidth)/2;l(i,r,t?0:+this.duration)}},onSticktScroll:function(t){this.stickyFixed=t.isFixed,this.$emit("scroll",t)},scrollToCurrentContent:function(){var t=this;if(this.scrollspy){var e=this.children[this.currentIndex],i=null==e?void 0:e.$el;if(i){var n=Object(c["a"])(i,this.scroller)-this.scrollOffset;this.lockScroll=!0,u(this.scroller,n,+this.duration,(function(){t.lockScroll=!1}))}}},onScroll:function(){if(this.scrollspy&&!this.lockScroll){var t=this.getCurrentIndexOnScroll();this.setCurrentIndex(t)}},getCurrentIndexOnScroll:function(){for(var t=this.children,e=0;e<t.length;e++){var i=Object(c["f"])(t[e].$el);if(i>this.scrollOffset)return 0===e?0:e-1}return t.length-1}},render:function(){var t,e=this,i=arguments[0],n=this.type,r=this.ellipsis,s=this.animated,a=this.scrollable,c=this.children.map((function(t,s){return i(x,{ref:"titles",refInFor:!0,attrs:{type:n,dot:t.dot,info:Object(o["b"])(t.badge)?t.badge:t.info,title:t.title,color:e.color,isActive:s===e.currentIndex,ellipsis:r,disabled:t.disabled,scrollable:a,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,swipeThreshold:e.swipeThreshold},style:t.titleStyle,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(s),Object(h["b"])(t.$router,t)}}})})),l=i("div",{ref:"wrap",class:[B("wrap",{scrollable:a}),(t={},t[p["e"]]="line"===n&&this.border,t)]},[i("div",{ref:"nav",attrs:{role:"tablist"},class:B("nav",[n]),style:this.navStyle},[this.slots("nav-left"),c,"line"===n&&i("div",{class:B("line"),style:this.lineStyle}),this.slots("nav-right")])]);return i("div",{class:B([n])},[this.sticky?i(k,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[l]):l,i(A,{attrs:{count:this.children.length,animated:s,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}})},"6c7c":function(t,e,i){"use strict";i.d(e,"g",(function(){return n})),i.d(e,"d",(function(){return o})),i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return a})),i.d(e,"c",(function(){return c})),i.d(e,"e",(function(){return l})),i.d(e,"f",(function(){return u}));var n="#fff",r="van-hairline",o=r+"--top",s=r+"--left",a=r+"--bottom",c=r+"--surround",l=r+"--top-bottom",u=r+"-unset--top-bottom"},8767:function(t,e,i){"use strict";var n=i("b09f"),r=i("468d"),o=i("f46a"),s=i("c3d6"),a=i("787b"),c=i("4f40"),l=i("5bcd"),u=i("7050"),h=Object(n["a"])("swipe"),d=h[0],f=h[1];e["a"]=d({mixins:[c["a"],Object(l["b"])("vanSwipe"),Object(u["a"])((function(t,e){t(window,"resize",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t,e=this.vertical?"height":"width",i=this.vertical?"width":"height";return t={},t[e]=this.trackSize+"px",t[i]=this[i]?this[i]+"px":"",t.transitionDuration=(this.swiping?0:this.duration)+"ms",t.transform="translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)",t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!Object(r["a"])(this.$el)){clearTimeout(this.timer);var e=this.$el.getBoundingClientRect();this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=Math.round(+this.width||e.width),this.computedHeight=Math.round(+this.height||e.height),this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(Object(o["c"])(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,e=this.delta,i=Date.now()-this.touchStartTime,n=e/i,r=Math.abs(n)>.25||Math.abs(e)>t/2;if(r&&this.isCorrectDirection){var o=this.vertical?this.offsetY:this.offsetX,s=0;s=this.loop?o>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:s,emitChange:!0})}else e&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,i=this.count,n=this.maxCount;return t?this.loop?Object(a["b"])(e+t,-1,i):Object(a["b"])(e+t,0,n):e},getTargetOffset:function(t,e){void 0===e&&(e=0);var i=t*this.size;this.loop||(i=Math.min(i,-this.minOffset));var n=Math.round(e-i);return this.loop||(n=Object(a["b"])(n,this.minOffset,0)),n},move:function(t){var e=t.pace,i=void 0===e?0:e,n=t.offset,r=void 0===n?0:n,o=t.emitChange,s=this.loop,a=this.count,c=this.active,l=this.children,u=this.trackSize,h=this.minOffset;if(!(a<=1)){var d=this.getTargetActive(i),f=this.getTargetOffset(d,r);if(s){if(l[0]&&f!==h){var p=f<h;l[0].offset=p?u:0}if(l[a-1]&&0!==f){var v=f>0;l[a-1].offset=v?-u:0}}this.active=d,this.offset=f,o&&d!==c&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(s["b"])((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(s["b"])((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var i=this;void 0===e&&(e={}),this.correctPosition(),this.resetTouchStatus(),Object(s["b"])((function(){var n;n=i.loop&&t===i.count?0===i.active?0:t:t%i.count,e.immediate?Object(s["b"])((function(){i.swiping=!1})):i.swiping=!1,i.move({pace:n-i.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;e>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},genIndicator:function(){var t=this,e=this.$createElement,i=this.count,n=this.activeIndicator,r=this.slots("indicator");return r||(this.showIndicators&&i>1?e("div",{class:f("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(i)).map((function(i,r){return e("i",{class:f("indicator",{active:r===n}),style:r===n?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:f()},[t("div",{ref:"track",style:this.trackStyle,class:f("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}})},"9a0e":function(t,e,i){var n=i("e46b"),r=i("238a"),o=i("f6b4"),s=/"/g,a=function(t,e,i,n){var r=String(o(t)),a="<"+e;return""!==i&&(a+=" "+i+'="'+String(n).replace(s,"&quot;")+'"'),a+">"+r+"</"+e+">"};t.exports=function(t,e){var i={};i[t]=e(a),n(n.P+n.F*r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",i)}},c3d6:function(t,e,i){"use strict";(function(t){i.d(e,"c",(function(){return l})),i.d(e,"b",(function(){return u})),i.d(e,"a",(function(){return h}));var n=i("ec86"),r=Date.now();function o(t){var e=Date.now(),i=Math.max(0,16-(e-r)),n=setTimeout(t,i);return r=e+i,n}var s=n["f"]?t:window,a=s.requestAnimationFrame||o,c=s.cancelAnimationFrame||s.clearTimeout;function l(t){return a.call(s,t)}function u(t){l((function(){l(t)}))}function h(t){c.call(s,t)}}).call(this,i("9edd"))},f801:function(t,e,i){"use strict";var n=i("5a2a"),r=i.n(n);e["a"]=r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56568f8d"],{"166e":function(t,i,e){"use strict";var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div")},a=[],s=(e("5ab2"),e("6d57"),e("e44b"),e("e10e"),e("70ea")),o=(e("5490"),e("ae8c")),r=e("4260");function c(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?c(Object(e),!0).forEach((function(i){Object(s["a"])(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}var h={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+r["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(t){},error:function(){}}}},computed:u({},Object(o["c"])({wxShareInfo:function(t){return t.common.wxShareInfo},wxShareState:function(t){return t.common.wxShareState}})),watch:{wxShareState:function(t){t&&this.share()}},created:function(){this.isLogin?r["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var t=this;try{setShareInfo({title:t.shareObj.title,summary:t.shareObj.title,pic:t.shareObj.imgUrl,url:t.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature}})}catch(i){}wx.config({debug:!1,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(t){}}),wx.onMenuShareTimeline(t.shareObj),wx.onMenuShareAppMessage(t.shareObj),wx.onMenuShareWeibo(t.shareObj),wx.onMenuShareQZone(t.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(t.shareObj):wx.updateAppMessageShareData(t.shareObj),wx.updateTimelineShareData(t.shareObj)}))}}},l=h,d=e("4023"),f=Object(d["a"])(l,n,a,!1,null,null,null);i["a"]=f.exports},"1fe0":function(t,i,e){"use strict";var n=e("e866"),a=e("b09f"),s=e("5bcd"),o=Object(a["a"])("swipe-item"),r=o[0],c=o[1];i["a"]=r({mixins:[Object(s["a"])("vanSwipe")],data:function(){return{offset:0,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},i=this.parent,e=i.size,n=i.vertical;return t[n?"height":"width"]=e+"px",this.offset&&(t.transform="translate"+(n?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,i=this.parent,e=this.mounted;if(!i.lazyRender)return!0;if(!e)return!1;var n=i.activeIndicator,a=i.count-1,s=0===n?a:n-1,o=n===a?0:n+1;return t===n||t===s||t===o}},render:function(){var t=arguments[0];return t("div",{class:c(),style:this.style,on:Object(n["a"])({},this.$listeners)},[this.shouldRender&&this.slots()])}})},"28a9":function(t,i,e){t.exports=e.p+"img/800.e24fdd1c.jpg"},"3d2c":function(t,i,e){t.exports=e.p+"img/300.31ee7e0e.jpg"},"468d":function(t,i,e){"use strict";function n(t){var i=window.getComputedStyle(t),e="none"===i.display,n=null===t.offsetParent&&"fixed"!==i.position;return e||n}e.d(i,"a",(function(){return n}))},5490:function(t,i,e){"use strict";e("9a0e")("link",(function(t){return function(i){return t(this,"a","href",i)}}))},"558e":function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("section",{staticClass:"oscilloscope"},[n("Header",{attrs:{title:t.title,meaushow:t.meaushow,bgcolor:t.bgcolor}}),n("wxShare",{attrs:{link:t.shareUrl,isSbq:!0,isLogin:!1,title:"DS1104示波器年中惊爆价3299,速抢!",desc:"示波器年中狂欢,ZDS1104仅需3299,邀请好友还能拿奖励〜",imgUrl:"http://img.ichunt.com/images/ichunt/self_sample/sbq-icon.jpg"}}),n("div",{staticClass:"top-users"},[n("ul",{class:{"animate-ul":t.animate}},t._l(t.bannerData,(function(i){return n("li",[t._v(t._s(i))])})),0)]),n("div",{staticClass:"oscilloscope-wrapper"},[n("div",{staticClass:"banner-div"},[n("van-swipe",{staticClass:"my-swipe",attrs:{autoplay:3e3,"show-indicators":!1}},[n("van-swipe-item",[n("img",{staticClass:"swiper-img",attrs:{src:e("7731"),alt:""}})]),n("van-swipe-item",[n("img",{staticClass:"swiper-img",attrs:{src:e("e7fb"),alt:""}})])],1)],1),n("div",{staticClass:"prize-div"},[n("h3",{staticClass:"title1 title"}),t._m(0),n("h3",{staticClass:"title2 title"}),n("div",{staticClass:"reward-div"},[t._m(1),n("div",{staticClass:"reward-datas"},[n("div",{staticClass:"reward-data clr"},[t.prizeData.goodsNums||t.prizeData.peopleNums||t.prizeData.prize?[n("div",{staticClass:"fl"},[t._v(t._s(t.prizeData.peopleNums)+"人")]),n("div",{staticClass:"fl"},[t._v(t._s(t.prizeData.goodsNums)+"台")]),n("div",{staticClass:"fl"},[t._v(t._s(t.prizeData.prize)+"元京东卡")])]:[n("div",{staticClass:"no-data"},[t._v("您还没有相关奖品数据")])]],2)])]),n("h3",{staticClass:"title3 title"}),t._m(2)]),n("div",{staticClass:"footer-btns clr"},[n("div",{staticClass:"btn fl gm-btn",on:{click:t.buyFun}},[t._v("立即购买")]),n("div",{directives:[{name:"shareMask",rawName:"v-shareMask",value:"sbq",expression:"'sbq'"}],staticClass:"btn fl fx-btn"},[t._v("立即分享")])])])],1)},a=[function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"prize-items-wrapper"},[n("h3",{staticClass:"prize-title"},[t._v("好友成功购买ZDS1104台数")]),n("div",{staticClass:"prize-items lbBox"},[n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("d90d"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("1台")])])]),n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("d0a5"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("2-4台")])])]),n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("3d2c"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("5-9台")])])]),n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("28a9"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("10台及以上")])])])])])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"reward-div-header clr"},[e("div",{staticClass:"fl"},[t._v("邀请好友数")]),e("div",{staticClass:"fl"},[t._v("好友购买台数")]),e("div",{staticClass:"fl"},[t._v("奖励")])])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"rule-datas"},[e("p",[t._v("1,活动时间:2020年6月15日-6月28日;")]),e("p",[t._v("2,京东E卡将在活动结束"),e("span",[t._v("7个")]),t._v("工作日内分发,卡号卡密将直接发送到用户注册猎芯网账号【会员中心】-"),e("span",[t._v("【我的消息】")]),t._v(";")]),e("p",[t._v("3,在法律允许范围内,本活动最终解释权归猎芯网所有,详情可致电4008-755-881。")])])}],s=(e("5ab2"),e("6d57"),e("e44b"),e("e10e"),e("70ea")),o=(e("f548"),e("57af")),r=e("4260"),c=e("ae8c"),u=e("166e"),h=e("0261"),l=e("8767"),d=e("1fe0");function f(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function p(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?f(Object(e),!0).forEach((function(i){Object(s["a"])(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}h["a"].use(l["a"]).use(d["a"]);var v={name:"oscilloscope",data:function(){return{invitedId:"",title:"",meaushow:!0,bgcolor:"#fafafa",animate:!1,shareUrl:window.location.origin+window.location.pathname+(r["a"].getCookie("Yo4teW_uid")?"#/oscilloscope?invitedId="+r["a"].getCookie("Yo4teW_uid"):"#/oscilloscope")}},created:function(){var t=this.$route.query.invitedId;t?(SetCookie("sbqinvitedId",t,1),this.invitedId=t):getCookie("sbqinvitedId")&&(this.invitedId=getCookie("sbqinvitedId")),this.oscilloscopeinvited(),this.getBannerData(),this.yaoHaoYouJP(),this.getYaoHaoYouGoodId()},beforeCreate:function(){if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){var t=window.location.href;(t.indexOf("groupmessage")>-1||t.indexOf("singlemessage")>-1||t.indexOf("timeline")>-1)&&(t=t.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/,"#"),window.location.replace(t))}else{var i="";for(var e in this.$route.query)i+=e+"="+this.$route.query[e]+"&";switch(i=i.slice(0,-1),window.location.hostname){case"m.liexin.com":window.location.href=i?"http://www.liexin.com/v3/oscilloscope?"+i:"http://www.liexin.com/v3/oscilloscope";break;default:window.location.href=window.location.origin+(i?"/v3/oscilloscope?"+i:"/v3/oscilloscope");break}}},computed:p({},Object(c["c"])({bannerData:function(t){return t.oscilloscope.bannerData},isLodingFinishData:function(t){return t.oscilloscope.isLodingFinishData},prizeData:function(t){return t.oscilloscope.prizeData},goodId:function(t){return t.oscilloscope.goodId}})),watch:{isLodingFinishData:function(t){t&&setInterval(this.showMarquee,2e3)}},methods:p(p({},Object(c["b"])(["changeBannerData"])),{},{getYaoHaoYouGoodId:function(){this.$store.dispatch({type:"getYaoHaoYouGoodId",data:{type_id:1}})},yaoHaoYouJP:function(){this.$store.dispatch({type:"yaoHaoYouJP"})},showMarquee:function(){var t=this;this.animate=!0,setTimeout((function(){t.changeBannerData(),t.animate=!1}),500)},oscilloscopeinvited:function(){var t=r["a"].getCookie("Yo4teW_uid"),i={};this.invitedId&&(i["invited_uid "]=this.invitedId),t&&(i["user_id "]=t),this.$store.dispatch({type:"oscilloscopeinvited",data:p({},i)})},getBannerData:function(){this.$store.dispatch({type:"getbannerdata",data:{is_liexin:1}})},buyFun:function(){var t=this;this.judgeLogin((function(){if(t.goodId){var i={id:t.goodId,num:1,buy:1},e="";t.invitedId?e=t.invitedId:r["a"].getCookie("Yo4teW_uid")&&(e=r["a"].getCookie("Yo4teW_uid")),t.$store.dispatch({type:"addGoods",data:{datax:i},invitedId:e})}}))},judgeLogin:function(t){1==r["a"].isLogin()?t():window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)+"&ptag=oscilloscope"}}),components:{Header:o["a"],wxShare:u["a"]}},m=v,g=(e("ff88"),e("4023")),b=Object(g["a"])(m,n,a,!1,null,"3959081d",null);i["default"]=b.exports},"5bcd":function(t,i,e){"use strict";e.d(i,"a",(function(){return o})),e.d(i,"b",(function(){return r}));var n=e("0261");function a(t){var i=[];function e(t){t.forEach((function(t){i.push(t),t.componentInstance&&e(t.componentInstance.$children.map((function(t){return t.$vnode}))),t.children&&e(t.children)}))}return e(t),i}function s(t,i){var e=i.$vnode.componentOptions;if(e&&e.children){var n=a(e.children);t.sort((function(t,i){return n.indexOf(t.$vnode)-n.indexOf(i.$vnode)}))}}function o(t,i){var e,a;void 0===i&&(i={});var o=i.indexKey||"index";return n["a"].extend({inject:(e={},e[t]={default:null},e),computed:(a={parent:function(){return this.disableBindRelation?null:this[t]}},a[o]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},a),mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(i){return i!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);s(t,this.parent),this.parent.children=t}}}})}function r(t){return{provide:function(){var i;return i={},i[t]=this,i},data:function(){return{children:[]}}}}},"65b1":function(t,i,e){},7731:function(t,i,e){t.exports=e.p+"img/banner1.c9c427b4.jpg"},8767:function(t,i,e){"use strict";var n=e("b09f"),a=e("468d"),s=e("f46a"),o=e("c3d6"),r=e("787b"),c=e("4f40"),u=e("5bcd"),h=e("7050"),l=Object(n["a"])("swipe"),d=l[0],f=l[1];i["a"]=d({mixins:[c["a"],Object(u["b"])("vanSwipe"),Object(h["a"])((function(t,i){t(window,"resize",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),i?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t,i=this.vertical?"height":"width",e=this.vertical?"width":"height";return t={},t[i]=this.trackSize+"px",t[e]=this[e]?this[e]+"px":"",t.transitionDuration=(this.swiping?0:this.duration)+"ms",t.transform="translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)",t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!Object(a["a"])(this.$el)){clearTimeout(this.timer);var i=this.$el.getBoundingClientRect();this.rect=i,this.swiping=!0,this.active=t,this.computedWidth=Math.round(+this.width||i.width),this.computedHeight=Math.round(+this.height||i.height),this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(Object(s["c"])(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,i=this.delta,e=Date.now()-this.touchStartTime,n=i/e,a=Math.abs(n)>.25||Math.abs(i)>t/2;if(a&&this.isCorrectDirection){var s=this.vertical?this.offsetY:this.offsetX,o=0;o=this.loop?s>0?i>0?-1:1:0:-Math[i>0?"ceil":"floor"](i/t),this.move({pace:o,emitChange:!0})}else i&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var i=this.active,e=this.count,n=this.maxCount;return t?this.loop?Object(r["b"])(i+t,-1,e):Object(r["b"])(i+t,0,n):i},getTargetOffset:function(t,i){void 0===i&&(i=0);var e=t*this.size;this.loop||(e=Math.min(e,-this.minOffset));var n=Math.round(i-e);return this.loop||(n=Object(r["b"])(n,this.minOffset,0)),n},move:function(t){var i=t.pace,e=void 0===i?0:i,n=t.offset,a=void 0===n?0:n,s=t.emitChange,o=this.loop,r=this.count,c=this.active,u=this.children,h=this.trackSize,l=this.minOffset;if(!(r<=1)){var d=this.getTargetActive(e),f=this.getTargetOffset(d,a);if(o){if(u[0]&&f!==l){var p=f<l;u[0].offset=p?h:0}if(u[r-1]&&0!==f){var v=f>0;u[r-1].offset=v?-h:0}}this.active=d,this.offset=f,s&&d!==c&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(o["b"])((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(o["b"])((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,i){var e=this;void 0===i&&(i={}),this.correctPosition(),this.resetTouchStatus(),Object(o["b"])((function(){var n;n=e.loop&&t===e.count?0===e.active?0:t:t%e.count,i.immediate?Object(o["b"])((function(){e.swiping=!1})):e.swiping=!1,e.move({pace:n-e.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,i=this.autoplay;i>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),i))},genIndicator:function(){var t=this,i=this.$createElement,e=this.count,n=this.activeIndicator,a=this.slots("indicator");return a||(this.showIndicators&&e>1?i("div",{class:f("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(e)).map((function(e,a){return i("i",{class:f("indicator",{active:a===n}),style:a===n?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:f()},[t("div",{ref:"track",style:this.trackStyle,class:f("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}})},"9a0e":function(t,i,e){var n=e("e46b"),a=e("238a"),s=e("f6b4"),o=/"/g,r=function(t,i,e,n){var a=String(s(t)),r="<"+i;return""!==e&&(r+=" "+e+'="'+String(n).replace(o,"&quot;")+'"'),r+">"+a+"</"+i+">"};t.exports=function(t,i){var e={};e[t]=i(r),n(n.P+n.F*a((function(){var i=""[t]('"');return i!==i.toLowerCase()||i.split('"').length>3})),"String",e)}},c3d6:function(t,i,e){"use strict";(function(t){e.d(i,"c",(function(){return u})),e.d(i,"b",(function(){return h})),e.d(i,"a",(function(){return l}));var n=e("ec86"),a=Date.now();function s(t){var i=Date.now(),e=Math.max(0,16-(i-a)),n=setTimeout(t,e);return a=i+e,n}var o=n["f"]?t:window,r=o.requestAnimationFrame||s,c=o.cancelAnimationFrame||o.clearTimeout;function u(t){return r.call(o,t)}function h(t){u((function(){u(t)}))}function l(t){c.call(o,t)}}).call(this,e("9edd"))},d0a5:function(t,i,e){t.exports=e.p+"img/100.2f2d0685.jpg"},d90d:function(t,i,e){t.exports=e.p+"img/30.9c67e601.jpg"},e7fb:function(t,i,e){t.exports=e.p+"img/banner2.1e0b77e3.jpg"},ff88:function(t,i,e){"use strict";var n=e("65b1"),a=e.n(n);a.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8ff5d354"],{"166e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div")},i=[],o=(n("5ab2"),n("6d57"),n("e44b"),n("e10e"),n("70ea")),s=(n("5490"),n("ae8c")),r=n("4260");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+r["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(e){},error:function(){}}}},computed:d({},Object(s["c"])({wxShareInfo:function(e){return e.common.wxShareInfo},wxShareState:function(e){return e.common.wxShareState}})),watch:{wxShareState:function(e){e&&this.share()}},created:function(){this.isLogin?r["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var e=this;try{setShareInfo({title:e.shareObj.title,summary:e.shareObj.title,pic:e.shareObj.imgUrl,url:e.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:e.wxShareInfo.appId,timestamp:e.wxShareInfo.timestamp,nonceStr:e.wxShareInfo.nonceStr,signature:e.wxShareInfo.signature}})}catch(t){}wx.config({debug:!1,appId:e.wxShareInfo.appId,timestamp:e.wxShareInfo.timestamp,nonceStr:e.wxShareInfo.nonceStr,signature:e.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(e){}}),wx.onMenuShareTimeline(e.shareObj),wx.onMenuShareAppMessage(e.shareObj),wx.onMenuShareWeibo(e.shareObj),wx.onMenuShareQZone(e.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(e.shareObj):wx.updateAppMessageShareData(e.shareObj),wx.updateTimelineShareData(e.shareObj)}))}}},l=u,p=n("4023"),f=Object(p["a"])(l,a,i,!1,null,null,null);t["a"]=f.exports},"451f":function(e,t,n){},5490:function(e,t,n){"use strict";n("9a0e")("link",(function(e){return function(t){return e(this,"a","href",t)}}))},"5bcd":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return r}));var a=n("0261");function i(e){var t=[];function n(e){e.forEach((function(e){t.push(e),e.componentInstance&&n(e.componentInstance.$children.map((function(e){return e.$vnode}))),e.children&&n(e.children)}))}return n(e),t}function o(e,t){var n=t.$vnode.componentOptions;if(n&&n.children){var a=i(n.children);e.sort((function(e,t){return a.indexOf(e.$vnode)-a.indexOf(t.$vnode)}))}}function s(e,t){var n,i;void 0===t&&(t={});var s=t.indexKey||"index";return a["a"].extend({inject:(n={},n[e]={default:null},n),computed:(i={parent:function(){return this.disableBindRelation?null:this[e]}},i[s]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},i),mounted:function(){this.bindRelation()},beforeDestroy:function(){var e=this;this.parent&&(this.parent.children=this.parent.children.filter((function(t){return t!==e})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var e=[].concat(this.parent.children,[this]);o(e,this.parent),this.parent.children=e}}}})}function r(e){return{provide:function(){var t;return t={},t[e]=this,t},data:function(){return{children:[]}}}}},"6c7c":function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u}));var a="#fff",i="van-hairline",o=i+"--top",s=i+"--left",r=i+"--bottom",c=i+"--surround",d=i+"--top-bottom",u=i+"-unset--top-bottom"},"9a0e":function(e,t,n){var a=n("e46b"),i=n("238a"),o=n("f6b4"),s=/"/g,r=function(e,t,n,a){var i=String(o(e)),r="<"+t;return""!==n&&(r+=" "+n+'="'+String(a).replace(s,"&quot;")+'"'),r+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(r),a(a.P+a.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},b7aa:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"sample-apply"},[n("Header",{attrs:{title:e.title,meaushow:e.meaushow,bgcolor:e.bgcolor}}),n("wxShare",{attrs:{url:e.shareUrl}}),e.ypGoodDetail.goods_info?n("van-collapse",{attrs:{accordion:"",border:e.noborder},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("van-collapse-item",{attrs:{title:"商品信息",name:"1",border:e.noborder}},[n("div",{staticClass:"info-con clr"},[n("div",{staticClass:"fl img-box"},[n("img",{attrs:{src:e.ypGoodDetail.goods_images||"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png",alt:""}})]),e.ypGoodDetail.goods_info?n("div",{staticClass:"fr cb-box"},[n("div",{staticClass:"title"},[e._v(e._s(e.ypGoodDetail.goods_info.goods_name))]),n("p",[n("span",[e._v("类别:")]),e._v(" "+e._s(e.ypGoodDetail.goods_info.class_id1_name))]),n("p",[n("span",[e._v("品牌:")]),e._v(e._s(e.ypGoodDetail.goods_info.brand_name))]),n("p",[n("span",[e._v("最大可申请数量:")]),e._v(e._s(e.ypGoodDetail.max_number||1))])]):e._e()]),e.ypGoodDetail.goods_info?n("div",{staticClass:"info-detail"},[n("p",[n("span",[e._v("型号: ")]),e._v(e._s(e.ypGoodDetail.goods_info.sku_name))]),n("p",{staticClass:"canshudetail"},[n("span",[e._v("参数描述: ")]),e._v("\n "+e._s(e.ypGoodDetail.goods_info.sku_name)+"由"+e._s(e.ypGoodDetail.goods_info.brand_name)+"设计生产制造,在猎芯网自营现货销售。"+e._s(e.ypGoodDetail.goods_info.goods_name)+"的封装/规格参数为:"+e._s(e.ypGoodDetail.goods_info.encap)+";您可以选择下载"+e._s(e.ypGoodDetail.goods_info.sku_name)+"中文资料等数据手册功能说明书,资料中有"+e._s(e.ypGoodDetail.goods_info.class_id1_name)+"、"+e._s(e.ypGoodDetail.goods_info.class_id2_name)+"详细使用方法及教程。\n ")]),n("p",[n("span",[e._v("需邀请好友人数: ")]),n("em",{staticClass:"f-red"},[e._v(e._s(e.ypGoodDetail.quota))])])]):e._e()])],1):e._e(),n("div",{staticClass:"form-info"},[e.addressInfo?n("div",{staticClass:"form-group adderss-sample",on:{click:function(t){return e.addressSample(e.addressInfo.address_id)}}},[n("h3",[n("p",[e._v(e._s(e.addressInfo.consignee)+"   "+e._s(e.addressInfo.mobile))]),n("p",[e._v(e._s(e.addressInfo.province_val+" "+e.addressInfo.district_val+" "+e.addressInfo.city_val+" "+e.addressInfo.detail_address))]),n("span",{staticClass:"fr icon iconfont icon-xiangyoujiankuohao"})])]):n("div",{staticClass:"form-group by",on:{click:e.adderssAdd}},[e._m(0)]),n("div",{staticClass:"form-group"},[e._m(1),n("input",{directives:[{name:"model",rawName:"v-model",value:e.com_name,expression:"com_name"}],attrs:{type:"text",placeholder:"深圳市猎芯科技有限公司"},domProps:{value:e.com_name},on:{input:function(t){t.target.composing||(e.com_name=t.target.value)}}})]),n("div",{staticClass:"form-group"},[n("h3",[e._v("  项目需求描述")]),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.sample_demand_desc,expression:"sample_demand_desc"}],staticClass:"placeh",attrs:{name:"",placeholder:"“参考描述:例1、无人机项目研发需要 例2、运动相机新方案验证需要 例3、毕业设计激光测距项目需要”"},domProps:{value:e.sample_demand_desc},on:{input:function(t){t.target.composing||(e.sample_demand_desc=t.target.value)}}})]),e._m(2),n("div",{staticClass:"line"})]),n("div",{staticClass:"fix-btns",on:{click:e.submitS}},[e._v("确认提交")]),e.ypGoodDetail.goods_info?n("div",{directives:[{name:"show",rawName:"v-show",value:e.successPop,expression:"successPop"}],staticClass:"submit-success-pop"},[n("div",{staticClass:"mask"}),n("div",{staticClass:"get-user-con"},[n("h3",[e._v("样片领取成功"),n("i",{staticClass:"icon iconfont icon-guanbi",on:{click:e.getuserf}})]),n("h2",[e._v(e._s(e.ypGoodDetail.goods_info.sku_name))]),n("div",{staticClass:"txt"},[n("span",[e._v("类别:"+e._s(e.ypGoodDetail.goods_info.class_id1_name))]),n("span",[e._v("品牌:"+e._s(e.ypGoodDetail.goods_info.brand_name))])]),n("div",{staticClass:"share-btn-wrap"},[n("span",{staticClass:"l",on:{click:e.toUrl}},[e._v("继续领取")]),n("span",{directives:[{name:"shareMask",rawName:"v-shareMask"}],staticClass:"r"},[e._v("给好友送免费样片")])]),e._m(3)])]):e._e(),e.loading?n("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):e._e()],1)},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h3",[e._v("新增收货地址 "),n("span",{staticClass:"fr icon iconfont icon-xiangyoujiankuohao"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h3",[n("span",{staticClass:"f-red"},[e._v("*")]),e._v("公司/机构/学校名称")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group by"},[n("div",{staticClass:"txt"},[n("span",[e._v("注意:")]),n("p",[e._v("1、请填写真是姓名(或某小姐/先生),并确保电话畅通,可能会有客服人员人工确认订单")]),n("p",[e._v("2、如果恶意刷单行为,本站将视情拒绝申请,猎芯网保留本活动解释权")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tips"},[n("em",[e._v("*")]),e._v("快递预计1-5个工作日内送达,请耐心等待")])}],o=(n("5ab2"),n("6d57"),n("e44b"),n("e10e"),n("70ea")),s=n("0261"),r=n("ae8c"),c=n("57af"),d=n("166e"),u=n("b09f"),l=n("5bcd"),p=n("6c7c"),f=Object(u["a"])("collapse"),h=f[0],m=f[1],v=h({mixins:[Object(l["b"])("vanCollapse")],props:{accordion:Boolean,value:[String,Number,Array],border:{type:Boolean,default:!0}},methods:{switch:function(e,t){this.accordion||(e=t?this.value.concat(e):this.value.filter((function(t){return t!==e}))),this.$emit("change",e),this.$emit("input",e)}},render:function(){var e,t=arguments[0];return t("div",{class:[m(),(e={},e[p["e"]]=this.border,e)]},[this.slots()])}}),_=n("e866"),b=n("ec86"),g=n("c3d6"),w=n("a1dd"),y=n("52b0"),S=Object(u["a"])("collapse-item"),x=S[0],O=S[1],j=["title","icon","right-icon"],C=x({mixins:[Object(l["a"])("vanCollapse")],props:Object(_["a"])(Object(_["a"])({},y["a"]),{},{name:[Number,String],disabled:Boolean,isLink:{type:Boolean,default:!0}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){return Object(b["b"])(this.name)?this.name:this.index},expanded:function(){var e=this;if(!this.parent)return null;var t=this.parent,n=t.value,a=t.accordion;return a?n===this.currentName:n.some((function(t){return t===e.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(e,t){var n=this;if(null!==t){e&&(this.show=!0,this.inited=!0);var a=e?this.$nextTick:g["c"];a((function(){var t=n.$refs,a=t.content,i=t.wrapper;if(a&&i){var o=a.offsetHeight;if(o){var s=o+"px";i.style.height=e?0:s,Object(g["b"])((function(){i.style.height=e?s:0}))}else n.onTransitionEnd()}}))}}},methods:{onClick:function(){if(!this.disabled){var e=this.parent,t=this.currentName,n=e.accordion&&t===e.value,a=n?"":t;e.switch(a,!this.expanded)}},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var e=this,t=this.$createElement,n=this.disabled,a=this.expanded,i=j.reduce((function(t,n){return e.slots(n)&&(t[n]=function(){return e.slots(n)}),t}),{});return this.slots("value")&&(i.default=function(){return e.slots("value")}),t(w["a"],{attrs:{role:"button",tabindex:n?-1:0,"aria-expanded":String(a)},class:O("title",{disabled:n,expanded:a}),on:{click:this.onClick},scopedSlots:i,props:Object(_["a"])({},this.$props)})},genContent:function(){var e=this.$createElement;if(this.inited)return e("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:O("wrapper"),on:{transitionend:this.onTransitionEnd}},[e("div",{ref:"content",class:O("content")},[this.slots()])])}},render:function(){var e=arguments[0];return e("div",{class:[O({border:this.index})]},[this.genTitle(),this.genContent()])}}),D=n("ac21"),k=n("d984"),I=n("4260");function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}s["a"].use(v).use(C).use(D["a"]).use(k["a"]);var G={name:"sampleapply",data:function(){return{title:"样片申请",meaushow:!0,bgcolor:"#fafafa",color:"#1080d0",activeName:"1",noborder:!1,successPop:!1,goods_id:this.$route.query.id,apply_num:"",com_name:"",sample_demand_desc:"",shareUrl:window.location.origin+"/v3/samplereg?uid="+I["a"].getCookie("Yo4teW_uid")}},computed:$({},Object(r["c"])({loading:function(e){return e.sampleapply.loading},addressInfo:function(e){return e.sampleapply.addressInfo},ypGoodDetail:function(e){return e.sampleapply.ypGoodDetail},submitState:function(e){return e.sampleapply.submitState},ordernum:function(e){return e.sampleapply.ordernum}})),watch:{submitState:function(e){e&&(this.successPop=!0)},apply_num:function(e){var t=this.ypGoodDetail.max_number;t?e>t&&(this.apply_num=t):this.apply_num=1}},created:function(){this.$store.dispatch({type:"getDetailYp",data:{id:this.goods_id}}),this.$store.dispatch({type:"recvlistSample"})},methods:{toUrl:function(){window.location.href="/h5/view/#/sample"},getuserf:function(){this.successPop=!1,window.location.href="/v3/user/order"},submitS:function(){var e=this;this.com_name?this.$store.dispatch({type:"selfSampleCreate",goods_id:e.goods_id,apply_num:e.apply_num,com_name:e.com_name,sample_demand_desc:e.sample_demand_desc,address_id:e.addressInfo.address_id}):Object(D["a"])("请输入单位名称")},addressSample:function(e){window.location.href="/h5/view/#/userAddress?points="+e},adderssAdd:function(){window.location.href="/h5/view/#/userAddress?fp=5"}},components:{Header:c["a"],wxShare:d["a"]}},P=G,A=(n("d1b0"),n("4023")),E=Object(A["a"])(P,a,i,!1,null,"770dc6a6",null);t["default"]=E.exports},c3d6:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return l}));var a=n("ec86"),i=Date.now();function o(e){var t=Date.now(),n=Math.max(0,16-(t-i)),a=setTimeout(e,n);return i=t+n,a}var s=a["f"]?e:window,r=s.requestAnimationFrame||o,c=s.cancelAnimationFrame||s.clearTimeout;function d(e){return r.call(s,e)}function u(e){d((function(){d(e)}))}function l(e){c.call(s,e)}}).call(this,n("9edd"))},d1b0:function(e,t,n){"use strict";var a=n("451f"),i=n.n(a);i.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8ff5d354"],{"166e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div")},i=[],o=(n("5ab2"),n("6d57"),n("e44b"),n("e10e"),n("f548"),n("70ea")),s=(n("5490"),n("ae8c")),r=n("4260");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+r["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(e){},error:function(){}}}},computed:d({},Object(s["c"])({wxShareInfo:function(e){return e.common.wxShareInfo},wxShareState:function(e){return e.common.wxShareState}})),watch:{wxShareState:function(e){e&&this.share()}},beforeCreate:function(){var e=window.location.href;(e.indexOf("groupmessage")>-1||e.indexOf("singlemessage")>-1||e.indexOf("timeline")>-1)&&(e=e.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/,"#"),window.location.replace(e))},created:function(){this.isLogin?r["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var e=this;try{setShareInfo({title:e.shareObj.title,summary:e.shareObj.title,pic:e.shareObj.imgUrl,url:e.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:e.wxShareInfo.appId,timestamp:e.wxShareInfo.timestamp,nonceStr:e.wxShareInfo.nonceStr,signature:e.wxShareInfo.signature}})}catch(t){}wx.config({debug:!1,appId:e.wxShareInfo.appId,timestamp:e.wxShareInfo.timestamp,nonceStr:e.wxShareInfo.nonceStr,signature:e.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(e){}}),wx.onMenuShareTimeline(e.shareObj),wx.onMenuShareAppMessage(e.shareObj),wx.onMenuShareWeibo(e.shareObj),wx.onMenuShareQZone(e.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(e.shareObj):wx.updateAppMessageShareData(e.shareObj),wx.updateTimelineShareData(e.shareObj)}))}}},l=u,p=n("4023"),f=Object(p["a"])(l,a,i,!1,null,null,null);t["a"]=f.exports},"451f":function(e,t,n){},5490:function(e,t,n){"use strict";n("9a0e")("link",(function(e){return function(t){return e(this,"a","href",t)}}))},"5bcd":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return r}));var a=n("0261");function i(e){var t=[];function n(e){e.forEach((function(e){t.push(e),e.componentInstance&&n(e.componentInstance.$children.map((function(e){return e.$vnode}))),e.children&&n(e.children)}))}return n(e),t}function o(e,t){var n=t.$vnode.componentOptions;if(n&&n.children){var a=i(n.children);e.sort((function(e,t){return a.indexOf(e.$vnode)-a.indexOf(t.$vnode)}))}}function s(e,t){var n,i;void 0===t&&(t={});var s=t.indexKey||"index";return a["a"].extend({inject:(n={},n[e]={default:null},n),computed:(i={parent:function(){return this.disableBindRelation?null:this[e]}},i[s]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},i),mounted:function(){this.bindRelation()},beforeDestroy:function(){var e=this;this.parent&&(this.parent.children=this.parent.children.filter((function(t){return t!==e})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var e=[].concat(this.parent.children,[this]);o(e,this.parent),this.parent.children=e}}}})}function r(e){return{provide:function(){var t;return t={},t[e]=this,t},data:function(){return{children:[]}}}}},"6c7c":function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u}));var a="#fff",i="van-hairline",o=i+"--top",s=i+"--left",r=i+"--bottom",c=i+"--surround",d=i+"--top-bottom",u=i+"-unset--top-bottom"},"9a0e":function(e,t,n){var a=n("e46b"),i=n("238a"),o=n("f6b4"),s=/"/g,r=function(e,t,n,a){var i=String(o(e)),r="<"+t;return""!==n&&(r+=" "+n+'="'+String(a).replace(s,"&quot;")+'"'),r+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(r),a(a.P+a.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},b7aa:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"sample-apply"},[n("Header",{attrs:{title:e.title,meaushow:e.meaushow,bgcolor:e.bgcolor}}),n("wxShare",{attrs:{url:e.shareUrl}}),e.ypGoodDetail.goods_info?n("van-collapse",{attrs:{accordion:"",border:e.noborder},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("van-collapse-item",{attrs:{title:"商品信息",name:"1",border:e.noborder}},[n("div",{staticClass:"info-con clr"},[n("div",{staticClass:"fl img-box"},[n("img",{attrs:{src:e.ypGoodDetail.goods_images||"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png",alt:""}})]),e.ypGoodDetail.goods_info?n("div",{staticClass:"fr cb-box"},[n("div",{staticClass:"title"},[e._v(e._s(e.ypGoodDetail.goods_info.goods_name))]),n("p",[n("span",[e._v("类别:")]),e._v(" "+e._s(e.ypGoodDetail.goods_info.class_id1_name))]),n("p",[n("span",[e._v("品牌:")]),e._v(e._s(e.ypGoodDetail.goods_info.brand_name))]),n("p",[n("span",[e._v("最大可申请数量:")]),e._v(e._s(e.ypGoodDetail.max_number||1))])]):e._e()]),e.ypGoodDetail.goods_info?n("div",{staticClass:"info-detail"},[n("p",[n("span",[e._v("型号: ")]),e._v(e._s(e.ypGoodDetail.goods_info.sku_name))]),n("p",{staticClass:"canshudetail"},[n("span",[e._v("参数描述: ")]),e._v("\n "+e._s(e.ypGoodDetail.goods_info.sku_name)+"由"+e._s(e.ypGoodDetail.goods_info.brand_name)+"设计生产制造,在猎芯网自营现货销售。"+e._s(e.ypGoodDetail.goods_info.goods_name)+"的封装/规格参数为:"+e._s(e.ypGoodDetail.goods_info.encap)+";您可以选择下载"+e._s(e.ypGoodDetail.goods_info.sku_name)+"中文资料等数据手册功能说明书,资料中有"+e._s(e.ypGoodDetail.goods_info.class_id1_name)+"、"+e._s(e.ypGoodDetail.goods_info.class_id2_name)+"详细使用方法及教程。\n ")]),n("p",[n("span",[e._v("需邀请好友人数: ")]),n("em",{staticClass:"f-red"},[e._v(e._s(e.ypGoodDetail.quota))])])]):e._e()])],1):e._e(),n("div",{staticClass:"form-info"},[e.addressInfo?n("div",{staticClass:"form-group adderss-sample",on:{click:function(t){return e.addressSample(e.addressInfo.address_id)}}},[n("h3",[n("p",[e._v(e._s(e.addressInfo.consignee)+"   "+e._s(e.addressInfo.mobile))]),n("p",[e._v(e._s(e.addressInfo.province_val+" "+e.addressInfo.district_val+" "+e.addressInfo.city_val+" "+e.addressInfo.detail_address))]),n("span",{staticClass:"fr icon iconfont icon-xiangyoujiankuohao"})])]):n("div",{staticClass:"form-group by",on:{click:e.adderssAdd}},[e._m(0)]),n("div",{staticClass:"form-group"},[e._m(1),n("input",{directives:[{name:"model",rawName:"v-model",value:e.com_name,expression:"com_name"}],attrs:{type:"text",placeholder:"深圳市猎芯科技有限公司"},domProps:{value:e.com_name},on:{input:function(t){t.target.composing||(e.com_name=t.target.value)}}})]),n("div",{staticClass:"form-group"},[n("h3",[e._v("  项目需求描述")]),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.sample_demand_desc,expression:"sample_demand_desc"}],staticClass:"placeh",attrs:{name:"",placeholder:"“参考描述:例1、无人机项目研发需要 例2、运动相机新方案验证需要 例3、毕业设计激光测距项目需要”"},domProps:{value:e.sample_demand_desc},on:{input:function(t){t.target.composing||(e.sample_demand_desc=t.target.value)}}})]),e._m(2),n("div",{staticClass:"line"})]),n("div",{staticClass:"fix-btns",on:{click:e.submitS}},[e._v("确认提交")]),e.ypGoodDetail.goods_info?n("div",{directives:[{name:"show",rawName:"v-show",value:e.successPop,expression:"successPop"}],staticClass:"submit-success-pop"},[n("div",{staticClass:"mask"}),n("div",{staticClass:"get-user-con"},[n("h3",[e._v("样片领取成功"),n("i",{staticClass:"icon iconfont icon-guanbi",on:{click:e.getuserf}})]),n("h2",[e._v(e._s(e.ypGoodDetail.goods_info.sku_name))]),n("div",{staticClass:"txt"},[n("span",[e._v("类别:"+e._s(e.ypGoodDetail.goods_info.class_id1_name))]),n("span",[e._v("品牌:"+e._s(e.ypGoodDetail.goods_info.brand_name))])]),n("div",{staticClass:"share-btn-wrap"},[n("span",{staticClass:"l",on:{click:e.toUrl}},[e._v("继续领取")]),n("span",{directives:[{name:"shareMask",rawName:"v-shareMask"}],staticClass:"r"},[e._v("给好友送免费样片")])]),e._m(3)])]):e._e(),e.loading?n("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):e._e()],1)},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h3",[e._v("新增收货地址 "),n("span",{staticClass:"fr icon iconfont icon-xiangyoujiankuohao"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h3",[n("span",{staticClass:"f-red"},[e._v("*")]),e._v("公司/机构/学校名称")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group by"},[n("div",{staticClass:"txt"},[n("span",[e._v("注意:")]),n("p",[e._v("1、请填写真是姓名(或某小姐/先生),并确保电话畅通,可能会有客服人员人工确认订单")]),n("p",[e._v("2、如果恶意刷单行为,本站将视情拒绝申请,猎芯网保留本活动解释权")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tips"},[n("em",[e._v("*")]),e._v("快递预计1-5个工作日内送达,请耐心等待")])}],o=(n("5ab2"),n("6d57"),n("e44b"),n("e10e"),n("70ea")),s=n("0261"),r=n("ae8c"),c=n("57af"),d=n("166e"),u=n("b09f"),l=n("5bcd"),p=n("6c7c"),f=Object(u["a"])("collapse"),h=f[0],m=f[1],v=h({mixins:[Object(l["b"])("vanCollapse")],props:{accordion:Boolean,value:[String,Number,Array],border:{type:Boolean,default:!0}},methods:{switch:function(e,t){this.accordion||(e=t?this.value.concat(e):this.value.filter((function(t){return t!==e}))),this.$emit("change",e),this.$emit("input",e)}},render:function(){var e,t=arguments[0];return t("div",{class:[m(),(e={},e[p["e"]]=this.border,e)]},[this.slots()])}}),_=n("e866"),g=n("ec86"),b=n("c3d6"),w=n("a1dd"),y=n("52b0"),x=Object(u["a"])("collapse-item"),S=x[0],O=x[1],j=["title","icon","right-icon"],C=S({mixins:[Object(l["a"])("vanCollapse")],props:Object(_["a"])(Object(_["a"])({},y["a"]),{},{name:[Number,String],disabled:Boolean,isLink:{type:Boolean,default:!0}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){return Object(g["b"])(this.name)?this.name:this.index},expanded:function(){var e=this;if(!this.parent)return null;var t=this.parent,n=t.value,a=t.accordion;return a?n===this.currentName:n.some((function(t){return t===e.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(e,t){var n=this;if(null!==t){e&&(this.show=!0,this.inited=!0);var a=e?this.$nextTick:b["c"];a((function(){var t=n.$refs,a=t.content,i=t.wrapper;if(a&&i){var o=a.offsetHeight;if(o){var s=o+"px";i.style.height=e?0:s,Object(b["b"])((function(){i.style.height=e?s:0}))}else n.onTransitionEnd()}}))}}},methods:{onClick:function(){if(!this.disabled){var e=this.parent,t=this.currentName,n=e.accordion&&t===e.value,a=n?"":t;e.switch(a,!this.expanded)}},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var e=this,t=this.$createElement,n=this.disabled,a=this.expanded,i=j.reduce((function(t,n){return e.slots(n)&&(t[n]=function(){return e.slots(n)}),t}),{});return this.slots("value")&&(i.default=function(){return e.slots("value")}),t(w["a"],{attrs:{role:"button",tabindex:n?-1:0,"aria-expanded":String(a)},class:O("title",{disabled:n,expanded:a}),on:{click:this.onClick},scopedSlots:i,props:Object(_["a"])({},this.$props)})},genContent:function(){var e=this.$createElement;if(this.inited)return e("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:O("wrapper"),on:{transitionend:this.onTransitionEnd}},[e("div",{ref:"content",class:O("content")},[this.slots()])])}},render:function(){var e=arguments[0];return e("div",{class:[O({border:this.index})]},[this.genTitle(),this.genContent()])}}),D=n("ac21"),k=n("d984"),I=n("4260");function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}s["a"].use(v).use(C).use(D["a"]).use(k["a"]);var G={name:"sampleapply",data:function(){return{title:"样片申请",meaushow:!0,bgcolor:"#fafafa",color:"#1080d0",activeName:"1",noborder:!1,successPop:!1,goods_id:this.$route.query.id,apply_num:"",com_name:"",sample_demand_desc:"",shareUrl:window.location.origin+"/v3/samplereg?uid="+I["a"].getCookie("Yo4teW_uid")}},computed:$({},Object(r["c"])({loading:function(e){return e.sampleapply.loading},addressInfo:function(e){return e.sampleapply.addressInfo},ypGoodDetail:function(e){return e.sampleapply.ypGoodDetail},submitState:function(e){return e.sampleapply.submitState},ordernum:function(e){return e.sampleapply.ordernum}})),watch:{submitState:function(e){e&&(this.successPop=!0)},apply_num:function(e){var t=this.ypGoodDetail.max_number;t?e>t&&(this.apply_num=t):this.apply_num=1}},created:function(){this.$store.dispatch({type:"getDetailYp",data:{id:this.goods_id}}),this.$store.dispatch({type:"recvlistSample"})},methods:{toUrl:function(){window.location.href="/h5/view/#/sample"},getuserf:function(){this.successPop=!1,window.location.href="/v3/user/order"},submitS:function(){var e=this;this.com_name?this.$store.dispatch({type:"selfSampleCreate",goods_id:e.goods_id,apply_num:e.apply_num,com_name:e.com_name,sample_demand_desc:e.sample_demand_desc,address_id:e.addressInfo.address_id}):Object(D["a"])("请输入单位名称")},addressSample:function(e){window.location.href="/h5/view/#/userAddress?points="+e},adderssAdd:function(){window.location.href="/h5/view/#/userAddress?fp=5"}},components:{Header:c["a"],wxShare:d["a"]}},P=G,A=(n("d1b0"),n("4023")),E=Object(A["a"])(P,a,i,!1,null,"770dc6a6",null);t["default"]=E.exports},c3d6:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return l}));var a=n("ec86"),i=Date.now();function o(e){var t=Date.now(),n=Math.max(0,16-(t-i)),a=setTimeout(e,n);return i=t+n,a}var s=a["f"]?e:window,r=s.requestAnimationFrame||o,c=s.cancelAnimationFrame||s.clearTimeout;function d(e){return r.call(s,e)}function u(e){d((function(){d(e)}))}function l(e){c.call(s,e)}}).call(this,n("9edd"))},d1b0:function(e,t,n){"use strict";var a=n("451f"),i=n.n(a);i.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b6f22368"],{"069d":function(t,i,e){"use strict";var n=e("ed7b"),a=e.n(n);a.a},"166e":function(t,i,e){"use strict";var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div")},a=[],s=(e("5ab2"),e("6d57"),e("e44b"),e("e10e"),e("f548"),e("70ea")),o=(e("5490"),e("ae8c")),r=e("4260");function c(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?c(Object(e),!0).forEach((function(i){Object(s["a"])(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}var h={name:"wxShare",props:{isLogin:{type:Boolean,default:!0},url:{type:String,default:window.location.href},title:{type:String,default:"好物分享给你,帮我助力,我们一起免费拿样品"},desc:{type:String,default:"在吗?拜托帮我点一下,你也能免费申请元器件样品~帮我助力 你拿样品"},link:{type:String,default:window.location.origin+"/v3/samplereg?uid="+r["a"].getCookie("Yo4teW_uid")},imgUrl:{type:String,default:"http://img.ichunt.com/images/ichunt/self_sample/apply.png"}},data:function(){return{shareObj:{title:this.title,desc:this.desc,link:this.link,imgUrl:this.imgUrl,success:function(t){},error:function(){}}}},computed:u({},Object(o["c"])({wxShareInfo:function(t){return t.common.wxShareInfo},wxShareState:function(t){return t.common.wxShareState}})),watch:{wxShareState:function(t){t&&this.share()}},beforeCreate:function(){var t=window.location.href;(t.indexOf("groupmessage")>-1||t.indexOf("singlemessage")>-1||t.indexOf("timeline")>-1)&&(t=t.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/,"#"),window.location.replace(t))},created:function(){this.isLogin?r["a"].getCookie("Yo4teW_uid")&&this.$store.dispatch({type:"wxShare",current_url:location.href}):this.$store.dispatch({type:"wxShare",current_url:location.href})},methods:{share:function(){var t=this;try{setShareInfo({title:t.shareObj.title,summary:t.shareObj.title,pic:t.shareObj.imgUrl,url:t.shareObj.link,WXconfig:{swapTitleInWX:!0,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature}})}catch(i){}wx.config({debug:!1,appId:t.wxShareInfo.appId,timestamp:t.wxShareInfo.timestamp,nonceStr:t.wxShareInfo.nonceStr,signature:t.wxShareInfo.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"]}),wx.ready((function(){wx.checkJsApi({jsApiList:["onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","onMenuShareQZone","updateAppMessageShareData","updateTimelineShareData"],success:function(t){}}),wx.onMenuShareTimeline(t.shareObj),wx.onMenuShareAppMessage(t.shareObj),wx.onMenuShareWeibo(t.shareObj),wx.onMenuShareQZone(t.shareObj),wx.onMenuShareQQ?wx.onMenuShareQQ(t.shareObj):wx.updateAppMessageShareData(t.shareObj),wx.updateTimelineShareData(t.shareObj)}))}}},l=h,d=e("4023"),f=Object(d["a"])(l,n,a,!1,null,null,null);i["a"]=f.exports},"1fe0":function(t,i,e){"use strict";var n=e("e866"),a=e("b09f"),s=e("5bcd"),o=Object(a["a"])("swipe-item"),r=o[0],c=o[1];i["a"]=r({mixins:[Object(s["a"])("vanSwipe")],data:function(){return{offset:0,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},i=this.parent,e=i.size,n=i.vertical;return t[n?"height":"width"]=e+"px",this.offset&&(t.transform="translate"+(n?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,i=this.parent,e=this.mounted;if(!i.lazyRender)return!0;if(!e)return!1;var n=i.activeIndicator,a=i.count-1,s=0===n?a:n-1,o=n===a?0:n+1;return t===n||t===s||t===o}},render:function(){var t=arguments[0];return t("div",{class:c(),style:this.style,on:Object(n["a"])({},this.$listeners)},[this.shouldRender&&this.slots()])}})},"28a9":function(t,i,e){t.exports=e.p+"img/800.e24fdd1c.jpg"},"3d2c":function(t,i,e){t.exports=e.p+"img/300.31ee7e0e.jpg"},"468d":function(t,i,e){"use strict";function n(t){var i=window.getComputedStyle(t),e="none"===i.display,n=null===t.offsetParent&&"fixed"!==i.position;return e||n}e.d(i,"a",(function(){return n}))},5490:function(t,i,e){"use strict";e("9a0e")("link",(function(t){return function(i){return t(this,"a","href",i)}}))},"558e":function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("section",{staticClass:"oscilloscope"},[n("Header",{attrs:{title:t.title,meaushow:t.meaushow,bgcolor:t.bgcolor}}),n("wxShare",{attrs:{link:t.shareUrl,isSbq:!0,isLogin:!1,title:"DS1104示波器年中惊爆价3299,速抢!",desc:"示波器年中狂欢,ZDS1104仅需3299,邀请好友还能拿奖励〜",imgUrl:"http://img.ichunt.com/images/ichunt/self_sample/sbq-icon.jpg"}}),n("div",{staticClass:"top-users"},[n("ul",{class:{"animate-ul":t.animate}},t._l(t.bannerData,(function(i){return n("li",[t._v(t._s(i))])})),0)]),n("div",{staticClass:"oscilloscope-wrapper"},[n("div",{staticClass:"banner-div"},[n("van-swipe",{staticClass:"my-swipe",attrs:{autoplay:3e3,"show-indicators":!1}},[n("van-swipe-item",[n("img",{staticClass:"swiper-img",attrs:{src:e("7731"),alt:""}})]),n("van-swipe-item",[n("img",{staticClass:"swiper-img",attrs:{src:e("e7fb"),alt:""}})])],1)],1),n("div",{staticClass:"prize-div"},[n("h3",{staticClass:"title1 title"}),t._m(0),n("h3",{staticClass:"title2 title"}),n("div",{staticClass:"reward-div"},[t._m(1),n("div",{staticClass:"reward-datas"},[n("div",{staticClass:"reward-data clr"},[t.prizeData.goodsNums||t.prizeData.peopleNums||t.prizeData.prize?[n("div",{staticClass:"fl"},[t._v(t._s(t.prizeData.peopleNums)+"人")]),n("div",{staticClass:"fl"},[t._v(t._s(t.prizeData.goodsNums)+"台")]),n("div",{staticClass:"fl"},[t._v(t._s(t.prizeData.prize)+"元京东卡")])]:[n("div",{staticClass:"no-data"},[t._v("您还没有相关奖品数据")])]],2)])]),n("h3",{staticClass:"title3 title"}),t._m(2)]),n("div",{staticClass:"footer-btns clr"},[n("div",{staticClass:"btn fl gm-btn",on:{click:t.buyFun}},[t._v("立即购买")]),n("div",{directives:[{name:"shareMask",rawName:"v-shareMask",value:"sbq",expression:"'sbq'"}],staticClass:"btn fl fx-btn"},[t._v("立即分享")])])])],1)},a=[function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"prize-items-wrapper"},[n("h3",{staticClass:"prize-title"},[t._v("好友成功购买ZDS1104台数")]),n("div",{staticClass:"prize-items lbBox"},[n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("d90d"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("1台")])])]),n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("d0a5"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("2-4台")])])]),n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("3d2c"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("5-9台")])])]),n("div",{staticClass:"prize-item lineBlock"},[n("div",{staticClass:"item-top"},[n("img",{attrs:{src:e("28a9"),alt:""}}),n("span",{staticClass:"text"},[t._v("奖")])]),n("div",{staticClass:"item-bottom"},[n("span",{staticClass:"arrow-bottom"}),n("p",{staticClass:"num"},[t._v("10台及以上")])])])])])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"reward-div-header clr"},[e("div",{staticClass:"fl"},[t._v("邀请好友数")]),e("div",{staticClass:"fl"},[t._v("好友购买台数")]),e("div",{staticClass:"fl"},[t._v("奖励")])])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"rule-datas"},[e("p",[t._v("1,活动时间:2020年6月15日-6月28日;")]),e("p",[t._v("2,京东E卡将在活动结束"),e("span",[t._v("7个")]),t._v("工作日内分发,卡号卡密将直接发送到用户注册猎芯网账号【会员中心】-"),e("span",[t._v("【我的消息】")]),t._v(";")]),e("p",[t._v("3,在法律允许范围内,本活动最终解释权归猎芯网所有,详情可致电4008-755-881。")])])}],s=(e("5ab2"),e("6d57"),e("e44b"),e("e10e"),e("70ea")),o=e("57af"),r=e("4260"),c=e("ae8c"),u=e("166e"),h=e("0261"),l=e("8767"),d=e("1fe0");function f(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function p(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?f(Object(e),!0).forEach((function(i){Object(s["a"])(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}h["a"].use(l["a"]).use(d["a"]);var v={name:"oscilloscope",data:function(){return{invitedId:"",title:"",meaushow:!0,bgcolor:"#fafafa",animate:!1,shareUrl:window.location.origin+window.location.pathname+(r["a"].getCookie("Yo4teW_uid")?"#/oscilloscope?invitedId="+r["a"].getCookie("Yo4teW_uid"):"#/oscilloscope")}},created:function(){var t=this.$route.query.invitedId;t?(SetCookie("sbqinvitedId",t,1),this.invitedId=t):getCookie("sbqinvitedId")&&(this.invitedId=getCookie("sbqinvitedId")),this.oscilloscopeinvited(),this.getBannerData(),this.yaoHaoYouJP(),this.getYaoHaoYouGoodId()},computed:p({},Object(c["c"])({bannerData:function(t){return t.oscilloscope.bannerData},isLodingFinishData:function(t){return t.oscilloscope.isLodingFinishData},prizeData:function(t){return t.oscilloscope.prizeData},goodId:function(t){return t.oscilloscope.goodId}})),watch:{isLodingFinishData:function(t){t&&setInterval(this.showMarquee,2e3)}},methods:p(p({},Object(c["b"])(["changeBannerData"])),{},{getYaoHaoYouGoodId:function(){this.$store.dispatch({type:"getYaoHaoYouGoodId",data:{type_id:1}})},yaoHaoYouJP:function(){this.$store.dispatch({type:"yaoHaoYouJP"})},showMarquee:function(){var t=this;this.animate=!0,setTimeout((function(){t.changeBannerData(),t.animate=!1}),500)},oscilloscopeinvited:function(){var t=r["a"].getCookie("Yo4teW_uid"),i={};this.invitedId&&(i["invited_uid "]=this.invitedId),t&&(i["user_id "]=t),this.$store.dispatch({type:"oscilloscopeinvited",data:p({},i)})},getBannerData:function(){this.$store.dispatch({type:"getbannerdata",data:{is_liexin:1}})},buyFun:function(){var t=this;this.judgeLogin((function(){if(t.goodId){var i={id:t.goodId,num:1,buy:1},e="";t.invitedId?e=t.invitedId:r["a"].getCookie("Yo4teW_uid")&&(e=r["a"].getCookie("Yo4teW_uid")),t.$store.dispatch({type:"addGoods",data:{datax:i},invitedId:e})}}))},judgeLogin:function(t){1==r["a"].isLogin()?t():window.location.href="/v3/login?referer="+encodeURIComponent(window.location.href)+"&ptag=oscilloscope"}}),components:{Header:o["a"],wxShare:u["a"]}},m=v,g=(e("069d"),e("4023")),b=Object(g["a"])(m,n,a,!1,null,"2fb6d1cf",null);i["default"]=b.exports},"5bcd":function(t,i,e){"use strict";e.d(i,"a",(function(){return o})),e.d(i,"b",(function(){return r}));var n=e("0261");function a(t){var i=[];function e(t){t.forEach((function(t){i.push(t),t.componentInstance&&e(t.componentInstance.$children.map((function(t){return t.$vnode}))),t.children&&e(t.children)}))}return e(t),i}function s(t,i){var e=i.$vnode.componentOptions;if(e&&e.children){var n=a(e.children);t.sort((function(t,i){return n.indexOf(t.$vnode)-n.indexOf(i.$vnode)}))}}function o(t,i){var e,a;void 0===i&&(i={});var o=i.indexKey||"index";return n["a"].extend({inject:(e={},e[t]={default:null},e),computed:(a={parent:function(){return this.disableBindRelation?null:this[t]}},a[o]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},a),mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(i){return i!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]);s(t,this.parent),this.parent.children=t}}}})}function r(t){return{provide:function(){var i;return i={},i[t]=this,i},data:function(){return{children:[]}}}}},7731:function(t,i,e){t.exports=e.p+"img/banner1.c9c427b4.jpg"},8767:function(t,i,e){"use strict";var n=e("b09f"),a=e("468d"),s=e("f46a"),o=e("c3d6"),r=e("787b"),c=e("4f40"),u=e("5bcd"),h=e("7050"),l=Object(n["a"])("swipe"),d=l[0],f=l[1];i["a"]=d({mixins:[c["a"],Object(u["b"])("vanSwipe"),Object(h["a"])((function(t,i){t(window,"resize",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),i?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){t>0?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t,i=this.vertical?"height":"width",e=this.vertical?"width":"height";return t={},t[i]=this.trackSize+"px",t[e]=this[e]?this[e]+"px":"",t.transitionDuration=(this.swiping?0:this.duration)+"ms",t.transform="translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)",t},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){if(void 0===t&&(t=+this.initialSwipe),this.$el&&!Object(a["a"])(this.$el)){clearTimeout(this.timer);var i=this.$el.getBoundingClientRect();this.rect=i,this.swiping=!0,this.active=t,this.computedWidth=Math.round(+this.width||i.width),this.computedHeight=Math.round(+this.height||i.height),this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay()}},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(Object(s["c"])(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,i=this.delta,e=Date.now()-this.touchStartTime,n=i/e,a=Math.abs(n)>.25||Math.abs(i)>t/2;if(a&&this.isCorrectDirection){var s=this.vertical?this.offsetY:this.offsetX,o=0;o=this.loop?s>0?i>0?-1:1:0:-Math[i>0?"ceil":"floor"](i/t),this.move({pace:o,emitChange:!0})}else i&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var i=this.active,e=this.count,n=this.maxCount;return t?this.loop?Object(r["b"])(i+t,-1,e):Object(r["b"])(i+t,0,n):i},getTargetOffset:function(t,i){void 0===i&&(i=0);var e=t*this.size;this.loop||(e=Math.min(e,-this.minOffset));var n=Math.round(i-e);return this.loop||(n=Object(r["b"])(n,this.minOffset,0)),n},move:function(t){var i=t.pace,e=void 0===i?0:i,n=t.offset,a=void 0===n?0:n,s=t.emitChange,o=this.loop,r=this.count,c=this.active,u=this.children,h=this.trackSize,l=this.minOffset;if(!(r<=1)){var d=this.getTargetActive(e),f=this.getTargetOffset(d,a);if(o){if(u[0]&&f!==l){var p=f<l;u[0].offset=p?h:0}if(u[r-1]&&0!==f){var v=f>0;u[r-1].offset=v?-h:0}}this.active=d,this.offset=f,s&&d!==c&&this.$emit("change",this.activeIndicator)}},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(o["b"])((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(o["b"])((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,i){var e=this;void 0===i&&(i={}),this.correctPosition(),this.resetTouchStatus(),Object(o["b"])((function(){var n;n=e.loop&&t===e.count?0===e.active?0:t:t%e.count,i.immediate?Object(o["b"])((function(){e.swiping=!1})):e.swiping=!1,e.move({pace:n-e.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,i=this.autoplay;i>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),i))},genIndicator:function(){var t=this,i=this.$createElement,e=this.count,n=this.activeIndicator,a=this.slots("indicator");return a||(this.showIndicators&&e>1?i("div",{class:f("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(e)).map((function(e,a){return i("i",{class:f("indicator",{active:a===n}),style:a===n?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:f()},[t("div",{ref:"track",style:this.trackStyle,class:f("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}})},"9a0e":function(t,i,e){var n=e("e46b"),a=e("238a"),s=e("f6b4"),o=/"/g,r=function(t,i,e,n){var a=String(s(t)),r="<"+i;return""!==e&&(r+=" "+e+'="'+String(n).replace(o,"&quot;")+'"'),r+">"+a+"</"+i+">"};t.exports=function(t,i){var e={};e[t]=i(r),n(n.P+n.F*a((function(){var i=""[t]('"');return i!==i.toLowerCase()||i.split('"').length>3})),"String",e)}},c3d6:function(t,i,e){"use strict";(function(t){e.d(i,"c",(function(){return u})),e.d(i,"b",(function(){return h})),e.d(i,"a",(function(){return l}));var n=e("ec86"),a=Date.now();function s(t){var i=Date.now(),e=Math.max(0,16-(i-a)),n=setTimeout(t,e);return a=i+e,n}var o=n["f"]?t:window,r=o.requestAnimationFrame||s,c=o.cancelAnimationFrame||o.clearTimeout;function u(t){return r.call(o,t)}function h(t){u((function(){u(t)}))}function l(t){c.call(o,t)}}).call(this,e("9edd"))},d0a5:function(t,i,e){t.exports=e.p+"img/100.2f2d0685.jpg"},d90d:function(t,i,e){t.exports=e.p+"img/30.9c67e601.jpg"},e7fb:function(t,i,e){t.exports=e.p+"img/banner2.1e0b77e3.jpg"},ed7b:function(t,i,e){}}]);
\ 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