Commit 35f88c3d by 施宇

1

parent ce0b42f8
...@@ -82,7 +82,12 @@ const actions = { ...@@ -82,7 +82,12 @@ const actions = {
if (payload.data.type == 1) { if (payload.data.type == 1) {
window.location.href = "/v3/order/confirm?type=zy&k=" + payload.data.k window.location.href = "/v3/order/confirm?type=zy&k=" + payload.data.k
} else { } else {
window.location.href = "/v3/order/confirm?type=other&k=" + payload.data.k if(payload.invitedId){
window.location.href = "/v3/order/confirm?type=other&k=" + payload.data.k+"&invitedId="+payload.invitedId
}else{
window.location.href = "/v3/order/confirm?type=other&k=" + payload.data.k
}
} }
} else { } else {
state.isShowAlert = true; state.isShowAlert = true;
......
...@@ -211,10 +211,17 @@ export default { ...@@ -211,10 +211,17 @@ export default {
num:1, num:1,
buy: 1 buy: 1
}; };
let invitedId="";
if(this.invitedId){
invitedId = this.invitedId
}else if(util.getCookie("Yo4teW_uid")){
invitedId = util.getCookie("Yo4teW_uid")
}
this.$store.dispatch({ this.$store.dispatch({
type: "addGoods", type: "addGoods",
data: { datax: datax }, data: { datax: datax },
invitedId:this.invitedId invitedId:invitedId
}); });
}) })
}, },
......
<!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-1cb0946e.e2a52aa9.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-6ffa70e4.89aeaffb.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-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-feca4acc.519384fc.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-1cb0946e.311687b6.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-6ffa70e4.91b9be98.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-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.4e292b33.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-e04e5fc2.d691bad3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e93077d2.e4ba2ede.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-feca4acc.e961a3fa.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.8d663f2e.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-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-19a250eb.519384fc.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1cb0946e.e2a52aa9.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-6ffa70e4.89aeaffb.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-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/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-19a250eb.33eefbab.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1cb0946e.311687b6.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-6ffa70e4.91b9be98.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-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.4e292b33.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-e04e5fc2.d691bad3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-e93077d2.e4ba2ede.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.12e82fb0.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 : ""; domain = domain ? ";domain=" + domain : "";
var Days = time; var Days = time;
var exp = new Date(); var exp = new Date();
...@@ -233,4 +233,4 @@ ...@@ -233,4 +233,4 @@
user_rank: '0' user_rank: '0'
}); });
sensors.quick('autoTrack'); sensors.quick('autoTrack');
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.dd2ea64b.js></script><script src=//h5static.ichunt.com/js/app.8d663f2e.js></script></body></html> }</script><script src=//h5static.ichunt.com/js/chunk-vendors.dd2ea64b.js></script><script src=//h5static.ichunt.com/js/app.12e82fb0.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-19a250eb"],{"12f9":function(t,i,e){},"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("7731"),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("c4a5"),e("4023")),b=Object(g["a"])(m,n,a,!1,null,"25e4798e",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"))},c4a5:function(t,i,e){"use strict";var n=e("12f9"),a=e.n(n);a.a},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"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-feca4acc"],{"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("7731"),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};t.$store.dispatch({type:"addGoods",data:{datax:i},invitedId:t.invitedId})}}))},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("5dcb"),e("4023")),b=Object(g["a"])(m,n,a,!1,null,"067aaa9a",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:[]}}}}},"5dcb":function(t,i,e){"use strict";var n=e("c276"),a=e.n(n);a.a},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)}},c276:function(t,i,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"}}]);
\ 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