Commit b819527a by 肖康

x

parent 7539eb9f
......@@ -38,6 +38,7 @@ switch (window.location.hostname) {
url = 'http://m.liexin.com/v3/';
urlApi = 'http://api.liexin.com/';
urlPc = 'http://www.liexin.com/v3/';
zyApi = 'http://soso12.liexin.com';
lyApi = 'http://soso12.ichunt.com';
break;
......
......@@ -4,7 +4,7 @@
<van-swipe :autoplay="3000" :height="bannerHeight">
<van-swipe-item v-for="(item, index) in rollbanner" :key="index">
<a :href="item.url | urlPatg('news-banner-'+(index+1))" :target="item.window_open > 0 ?'_blank':'_self'">
<img :src="item.images" class="" height="100%meaushow" width="100%">
<img :src="item.images" class="" height="100%" width="100%">
</a>
</van-swipe-item>
</van-swipe>
......@@ -17,9 +17,7 @@
<van-list v-model="loading" :loading="loadStatus" :finished="finished"
finished-text="没有更多了" @load="onLoad">
<router-link tag="li" :to="{'path':'/news/detail/'+item.art_id+'/'+item.cat_id}" v-for="(item,index) in content_list" :key="index">
<div v-lazy-container="{selector:'img'}">
<img :data-src="item.litpic" :alt="item.title" data-error="static/images/news.png">
</div>
<img :src="item.litpic||'static/images/news.png'" :alt="item.title" >
<div class="boxgrt">
<h1 class="title">{{item.title}}</h1>
<p class="titleLook clearfix">
......@@ -101,6 +99,7 @@
})
},
tab(index){
console.log(index)
if(this.act==index){return}
this.act=index;
this.p=1;
......
......@@ -4,7 +4,7 @@
hm.src = "https://hm.baidu.com/hm.js?af5018b5cc80d5c0f0ae1aaa92a65e25";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script><link href=//h5static.ichunt.com/css/chunk-03540b4a.6747bf4f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-04024de6.930376b5.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-069bb9ee.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-07f456ed.e5138ba6.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0a39c77d.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0a65c19e.e77fa097.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0afd5006.43761de7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1178418a.1e7011db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-120ef2c3.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-15d1bfb9.4de35aae.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-17207d58.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1e47a1ab.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-29df9974.e63f5a4d.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2b671c06.671b6aa4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2cbee3b3.b507739f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2e0e852e.51a6fc1b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-348e2706.988e49c1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-34f07784.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-36fcfbd4.81acb0e1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3de59255.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3ed718aa.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4132e23e.9493d468.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-43a550cc.d91a4e2a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4494461c.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-44e887ac.43761de7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-493f8dd0.68163c16.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4b2b1d38.59da094c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4b45d813.226ce644.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4bf8f756.db4e652e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4ffca0da.09377385.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5080d75c.89e522a8.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-52e873a8.aee9a026.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-53cc39f9.ff0fdc85.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-53fd2a62.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-544bcf84.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-54866aac.0d92ef03.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-56b254de.7e12708e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-59c4fcda.ab0b0d8f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-636dc2f0.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-660069b6.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-683a0310.ef5f035b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6aaeb0d1.c1b1c822.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6d03ca52.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-714e5dcf.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7a71f9ce.773cfcb2.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7dfe920e.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-831fbbd4.ade66c40.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-87658e78.be20e716.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9660b22a.c5081e2e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9cee9f38.2b6ef6b2.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9e39512e.2c3d307f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a65aea86.079157bd.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a7955ad0.59a5409a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-abb47608.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-abe81878.f3f47858.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-b156113e.95bf0d1c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-b17da97e.00e3dcac.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-c138dbe4.614bd80c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-c7792700.c07fc18e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-c90fc13a.e409aca4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-cc0fadaa.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-d298bf58.105f7748.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ea4648d8.7034f78f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-f60bf510.34d7e646.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-fa5768b2.3cce63da.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-fc038770.3acfb353.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-03540b4a.2e885ffd.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-04024de6.b3a4f7a1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-069bb9ee.592d49e6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-07f456ed.e8eba82f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0a39c77d.519b3002.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0a65c19e.a072ad6c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0afd5006.9d1c9ba8.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1178418a.2733efdd.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-120ef2c3.93784f81.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-15d1bfb9.3dcb6134.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-17207d58.4618aa44.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1e47a1ab.d23b44fe.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-29df9974.e6b3191e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2b671c06.496ef152.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2cbee3b3.169dcb8c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2e0e852e.43d1592e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2e691323.088af528.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-348e2706.e93efae4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-34f07784.5404af13.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-36fcfbd4.d70c0251.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3de59255.8a6475cf.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3ed718aa.7abf95f3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-406eb9de.a8a4e943.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4132e23e.66ca7de9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-43a550cc.af0457ad.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4494461c.17898f2e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-44e887ac.91a192b9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-493f8dd0.85f3ca68.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4b2b1d38.91cbadb9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4b45d813.bff83a97.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4bf8f756.a6151b54.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4ffca0da.983fa938.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5080d75c.7e5ff83d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-52e873a8.f819fb11.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-53cc39f9.a9fa4411.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-53fd2a62.7a11a22a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-544bcf84.5e48a095.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-54866aac.9dc02aaa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-56b254de.5ce7d829.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-59c4fcda.fa92d7b0.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-636dc2f0.a911d439.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-660069b6.c6478497.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-683a0310.06e2002f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6aaeb0d1.d7324a7c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6d03ca52.954e082f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-714e5dcf.3b3a4d14.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7a71f9ce.29d5260d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7dfe920e.0a7446f4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-831fbbd4.ecbb5c6d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-87658e78.3d89491d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9660b22a.eee0a6bc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9cee9f38.e465d39c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9e39512e.0837d5aa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a65aea86.987574ed.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a7955ad0.60659f37.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-abb47608.16e7e833.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-abe81878.5d8a2408.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-b156113e.4d3fd246.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-b17da97e.75119091.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-c138dbe4.f63ba181.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-c7792700.97b71b6d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-c90fc13a.9aaa5a89.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-cc0fadaa.3a5c7d30.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-d298bf58.a1a8abe1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ea4648d8.036f9ca9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-f60bf510.ef56d827.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-fa5768b2.01857556.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-fc038770.5e3f7bee.js rel=prefetch><link href=//h5static.ichunt.com/css/app.47c0b17b.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.e6002d1a.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.b0a4909b.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.4278ae62.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.e6002d1a.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.47c0b17b.css rel=stylesheet></head><body class=boxsiz><noscript><strong>网站出现了一点小问题,正在紧急修复中.......</strong></noscript><div id=app></div><script>function SetCookie(name, value, time, domain) {
})();</script><link href=//h5static.ichunt.com/css/chunk-03540b4a.6747bf4f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-04024de6.930376b5.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-069bb9ee.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-07bae1b6.ab0b0d8f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-07f456ed.e5138ba6.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0a39c77d.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0a65c19e.e77fa097.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-0afd5006.43761de7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1178418a.1e7011db.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-120ef2c3.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-15d1bfb9.4de35aae.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-17207d58.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-1e47a1ab.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-29df9974.e63f5a4d.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2b671c06.671b6aa4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2cbee3b3.b507739f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-2e0e852e.51a6fc1b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-348e2706.988e49c1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-34f07784.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-36fcfbd4.81acb0e1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3de59255.6bb54f1a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-3ed718aa.37f79355.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4132e23e.9493d468.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-43a550cc.d91a4e2a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4494461c.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-44e887ac.43761de7.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-493f8dd0.68163c16.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4b2b1d38.59da094c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4b45d813.226ce644.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4bf8f756.db4e652e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-4ffca0da.09377385.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-5080d75c.89e522a8.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-52e873a8.aee9a026.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-53cc39f9.ff0fdc85.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-53fd2a62.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-544bcf84.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-54866aac.0d92ef03.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-56b254de.7e12708e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-636dc2f0.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-660069b6.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-683a0310.ef5f035b.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6aaeb0d1.c1b1c822.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-6d03ca52.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-714e5dcf.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7a71f9ce.773cfcb2.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-7dfe920e.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-831fbbd4.ade66c40.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-87658e78.be20e716.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9660b22a.c5081e2e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9cee9f38.2b6ef6b2.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-9e39512e.2c3d307f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a65aea86.079157bd.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-a7955ad0.59a5409a.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-abb47608.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-abe81878.f3f47858.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-b156113e.95bf0d1c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-b17da97e.00e3dcac.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-c138dbe4.614bd80c.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-c7792700.c07fc18e.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-c90fc13a.e409aca4.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-cc0fadaa.d8d1f2d1.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-d298bf58.105f7748.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-ea4648d8.7034f78f.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-f60bf510.34d7e646.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-fa5768b2.3cce63da.css rel=prefetch><link href=//h5static.ichunt.com/css/chunk-fc038770.3acfb353.css rel=prefetch><link href=//h5static.ichunt.com/js/chunk-03540b4a.2e885ffd.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-04024de6.b3a4f7a1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-069bb9ee.592d49e6.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-07bae1b6.ed892cce.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-07f456ed.e8eba82f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0a39c77d.519b3002.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0a65c19e.a072ad6c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-0afd5006.9d1c9ba8.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1178418a.2733efdd.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-120ef2c3.93784f81.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-15d1bfb9.3dcb6134.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-17207d58.4618aa44.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-1e47a1ab.d23b44fe.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-29df9974.e6b3191e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2b671c06.496ef152.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2cbee3b3.169dcb8c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2e0e852e.43d1592e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-2e691323.088af528.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-348e2706.e93efae4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-34f07784.5404af13.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-36fcfbd4.d70c0251.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3de59255.8a6475cf.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-3ed718aa.7abf95f3.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-406eb9de.a8a4e943.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4132e23e.66ca7de9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-43a550cc.af0457ad.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4494461c.17898f2e.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-44e887ac.91a192b9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-493f8dd0.85f3ca68.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4b2b1d38.91cbadb9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4b45d813.bff83a97.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4bf8f756.a6151b54.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-4ffca0da.983fa938.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-5080d75c.7e5ff83d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-52e873a8.f819fb11.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-53cc39f9.a9fa4411.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-53fd2a62.7a11a22a.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-544bcf84.5e48a095.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-54866aac.9dc02aaa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-56b254de.5ce7d829.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-636dc2f0.a911d439.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-660069b6.c6478497.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-683a0310.06e2002f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6aaeb0d1.d7324a7c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-6d03ca52.954e082f.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-714e5dcf.3b3a4d14.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7a71f9ce.29d5260d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-7dfe920e.0a7446f4.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-831fbbd4.ecbb5c6d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-87658e78.3d89491d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9660b22a.eee0a6bc.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9cee9f38.e465d39c.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-9e39512e.0837d5aa.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a65aea86.987574ed.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-a7955ad0.60659f37.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-abb47608.16e7e833.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-abe81878.5d8a2408.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-b156113e.4d3fd246.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-b17da97e.75119091.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-c138dbe4.f63ba181.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-c7792700.97b71b6d.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-c90fc13a.9aaa5a89.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-cc0fadaa.3a5c7d30.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-d298bf58.a1a8abe1.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-ea4648d8.036f9ca9.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-f60bf510.ef56d827.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-fa5768b2.01857556.js rel=prefetch><link href=//h5static.ichunt.com/js/chunk-fc038770.5e3f7bee.js rel=prefetch><link href=//h5static.ichunt.com/css/app.47c0b17b.css rel=preload as=style><link href=//h5static.ichunt.com/css/chunk-vendors.e6002d1a.css rel=preload as=style><link href=//h5static.ichunt.com/js/app.997f7786.js rel=preload as=script><link href=//h5static.ichunt.com/js/chunk-vendors.4278ae62.js rel=preload as=script><link href=//h5static.ichunt.com/css/chunk-vendors.e6002d1a.css rel=stylesheet><link href=//h5static.ichunt.com/css/app.47c0b17b.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();
......@@ -231,4 +231,4 @@
user_rank: '0'
});
sensors.quick('autoTrack');
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.4278ae62.js></script><script src=//h5static.ichunt.com/js/app.b0a4909b.js></script></body></html>
\ No newline at end of file
}</script><script src=//h5static.ichunt.com/js/chunk-vendors.4278ae62.js></script><script src=//h5static.ichunt.com/js/app.997f7786.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-07bae1b6"],{"0970":function(t,e,i){"use strict";var n=i("5a2a"),r=i.n(n);e["a"]=r.a},2536: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:"news"},[i("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),i("van-swipe",{attrs:{autoplay:3e3,height:t.bannerHeight}},t._l(t.rollbanner,(function(e,n){return i("van-swipe-item",{key:n},[i("a",{attrs:{href:t._f("urlPatg")(e.url,"news-banner-"+(n+1)),target:e.window_open>0?"_blank":"_self"}},[i("img",{attrs:{src:e.images,height:"100%",width:"100%"}})])])})),1),t.cat_list.length>0?i("div",{staticClass:"navList clearfix",class:{navList44:4==t.cat_list.length,navListfixed:t.navListfixed}},t._l(t.cat_list,(function(e,n){return i("p",{key:n,staticClass:"fl",class:{act:t.act==n},on:{click:function(e){return t.tab(n)}}},[t._v("\n "+t._s(e.cat_name)+"\n ")])})),0):t._e(),i("ul",{staticClass:"listBox clr"},[i("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.content_list,(function(e,n){return i("router-link",{key:n,attrs:{tag:"li",to:{path:"/news/detail/"+e.art_id+"/"+e.cat_id}}},[i("img",{attrs:{src:e.litpic||"static/images/news.png",alt:e.title}}),i("div",{staticClass:"boxgrt"},[i("h1",{staticClass:"title"},[t._v(t._s(e.title))]),i("p",{staticClass:"titleLook clearfix"},[i("span",{staticClass:"fl"},[t._v(t._s(e.writer))]),i("span",{staticClass:"fr"},[t._v(t._s(e.click)+"浏览")])])])])})),1)],1),i("div",{directives:[{name:"backTopWindow",rawName:"v-backTopWindow"}],staticClass:"slide-bar",staticStyle:{cursor:"pointer"}},[t.navListfixed?i("div",{staticClass:"backtop"},[i("i",{staticClass:"iconfont icon-xiangshang1"})]):t._e()])],1)},r=[],o=(i("ac67"),i("1bc7"),i("25ba"),i("32ea"),i("28f8")),s=i("a593"),a=i("cf6b"),c=i("5344"),u=i("ba44"),l=i("0970"),h=i("ebad"),d=i("57af");function f(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 v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?f(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}s["a"].use(c["a"]).use(u["a"]).use(l["a"]).use(h["a"]);var p={name:"news",data:function(){return{title:"猎芯网-新闻列表",p:1,cat_id:"",bannerHeight:180,meaushow:!0,loading:!1,limit:10,act:0,navListfixed:!1}},computed:v({},Object(a["c"])({rollbanner:function(t){return t.news.rollbanner},cat_list:function(t){return t.news.cat_list},content_list:function(t){return t.news.content_list},loadStatus:function(t){return t.news.loadStatus},finished:function(t){return t.news.finished},totalLimit:function(t){return t.news.totalLimit}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){this.getData()},mounted:function(){this.scrollFns()},methods:{getData:function(){var t="";this.cat_id?t=this.cat_id:this.cat_list.length>0&&(t=this.cat_list[0].cat_id),this.$store.dispatch({type:"newsArticle",cat_id:t,p:this.p,limit:this.limit})},tab:function(t){this.act!=t&&(this.act=t,this.p=1,this.cat_id=this.cat_list[t].cat_id,this.getData())},onLoad:function(){this.p<this.totalLimit&&(this.p++,this.getData())},scrollFns:function(){var t=this;window.onscroll=function(){var e=document.documentElement.scrollTop||document.body.scrollTop;t.navListfixed=e>=300}}},components:{Header:d["a"]}},b=p,g=(i("d6af"),i("c701")),m=Object(g["a"])(b,n,r,!1,null,"047b98d2",null);e["default"]=m.exports},"28d5":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}))},5344:function(t,e,i){"use strict";var n=i("151f"),r=i("28d5"),o=i("a4cd"),s=i("e551"),a=i("a200"),c=i("59ef"),u=i("835d"),l=i("c4d5"),h=Object(n["a"])("swipe"),d=h[0],f=h[1];e["a"]=d({mixins:[c["a"],Object(u["b"])("vanSwipe"),Object(l["a"])((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",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=+this.width||e.width,this.computedHeight=+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=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,u=this.children,l=this.trackSize,h=this.minOffset;if(!(a<=1)){var d=this.getTargetActive(i),f=this.getTargetOffset(d,r);if(s){if(u[0]&&f!==h){var v=f<h;u[0].offset=v?l:0}if(u[a-1]&&0!==f){var p=f>0;u[a-1].offset=p?-l: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()])}})},"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"===_(t[o])&&"function"===_(s)&&(t[o]=s),t[o]=e(t[o]||{},s)):t[o]=s}return t}function n(t){return"object"===_(t)||"function"===_(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 u="",l=void 0,h=n.length,d=0;d<h;d++)if(l=n[d],l[0]>=o){u=l[1];break}return u}}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 u(){if(!L)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 l(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":p(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 v(){}var p="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":p(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 u=a[c];i.call(s,u)&&(n[u]=s[u])}return n},w=Object.prototype.toString,_=function(e){var i=void 0===e?"undefined":p(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")},k=e,L="undefined"!=typeof window,O=L&&"IntersectionObserver"in window,j={event:"event",observer:"observer"},T=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(L)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t)}(),x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return L&&window.devicePixelRatio||t},E=function(){if(L){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),S={on:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];E?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)}},z=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)}},A=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},C=function(t){return A(t,"overflow")+A(t,"overflow-y")+A(t,"overflow-x")},$=function(t){if(L){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(C(e)))return e;e=e.parentNode}return window}},I={},P=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,u=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=u,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;z({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]:v;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent,void e()):this.state.loaded||I[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),z({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),I[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}(),H="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",D=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],B={rootMargin:"0px",threshold:0},R=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,v=t.listenEvents,p=(t.hasbind,t.filter),g=t.adapter,m=t.observer,y=t.observerOptions;b(this,e),this.version="1.2.3",this.mode=j.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||H,loading:a||H,attempt:c||3,scale:f||x(f),ListenEvents:v||D,hasbind:!1,supportWebp:u(),filter:p||{},adapter:g||{},observer:!!m,observerOptions:y||B},this._initEvent(),this.lazyLoadHandler=l(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?j.observer:j.event)}return g(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};k(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),L&&(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,u=o.loading,l=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=$(e));var h=new P({bindType:i.arg,$parent:s,el:e,loading:u,error:l,src:c,elRenderer:r._elRenderer.bind(r),options:r.options});r.ListenerQueue.push(h),L&&(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,u=r.error;o=a(e,this.options.scale)||o;var l=c(this.ListenerQueue,(function(t){return t.el===e}));l&&l.update({src:o,loading:s,error:u}),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;O||t!==j.observer||(t=j.event),this.mode=t,t===j.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===j.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 S[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;O&&(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 T(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}()},Q=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(),L&&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)}}}},W=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 N({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}(),M={selector:"img"},N=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=k({},M,n.value),this.getImgs().forEach((function(t){e.lazy.add(t,k({},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=R(t),n=new i(e),r=new W({lazy:n}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=n,e.lazyComponent&&t.component("lazy-component",Q(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){k(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)}}))}}}))},ba44:function(t,e,i){"use strict";var n=i("b65a"),r=i("151f"),o=i("835d"),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,inited:!1,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.inited,i=this.parent,n=this.mounted;if(!i.lazyRender||e)return!0;if(!n)return!1;var r=i.activeIndicator,o=i.count-1,s=0===r&&i.loop?o:r-1,a=r===o&&i.loop?0:r+1,c=t===r||t===s||t===a;return c&&(this.inited=!0),c}},render:function(){var t=arguments[0];return t("div",{class:c(),style:this.style,on:Object(n["a"])({},this.$listeners)},[this.shouldRender&&this.slots()])}})},c079:function(t,e,i){},d6af:function(t,e,i){"use strict";i("c079")},e551:function(t,e,i){"use strict";(function(t){i.d(e,"c",(function(){return u})),i.d(e,"b",(function(){return l})),i.d(e,"a",(function(){return h}));var n=i("7bfa"),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["g"]?t:window,a=s.requestAnimationFrame||o,c=s.cancelAnimationFrame||s.clearTimeout;function u(t){return a.call(s,t)}function l(t){u((function(){u(t)}))}function h(t){c.call(s,t)}}).call(this,i("0288"))},ebad:function(t,e,i){"use strict";var n=i("151f"),r=i("28d5"),o=i("4bfa"),s=i("c4d5"),a=i("d1b9"),c=Object(n["a"])("list"),u=c[0],l=c[1],h=c[2];e["a"]=u({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,u=t.$refs.placeholder.getBoundingClientRect();c="up"===s?e.top-u.top<=o:u.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",{key:"loading",class:l("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:l("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:l("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:l("placeholder")});return t("div",{class:l(),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])}})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-59c4fcda"],{"0970":function(t,e,i){"use strict";var n=i("5a2a"),r=i.n(n);e["a"]=r.a},2536: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:"news"},[i("Header",{attrs:{title:t.title,meaushow:t.meaushow}}),i("van-swipe",{attrs:{autoplay:3e3,height:t.bannerHeight}},t._l(t.rollbanner,(function(e,n){return i("van-swipe-item",{key:n},[i("a",{attrs:{href:t._f("urlPatg")(e.url,"news-banner-"+(n+1)),target:e.window_open>0?"_blank":"_self"}},[i("img",{attrs:{src:e.images,height:"100%meaushow",width:"100%"}})])])})),1),t.cat_list.length>0?i("div",{staticClass:"navList clearfix",class:{navList44:4==t.cat_list.length,navListfixed:t.navListfixed}},t._l(t.cat_list,(function(e,n){return i("p",{key:n,staticClass:"fl",class:{act:t.act==n},on:{click:function(e){return t.tab(n)}}},[t._v("\n "+t._s(e.cat_name)+"\n ")])})),0):t._e(),i("ul",{staticClass:"listBox clr"},[i("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.content_list,(function(e,n){return i("router-link",{key:n,attrs:{tag:"li",to:{path:"/news/detail/"+e.art_id+"/"+e.cat_id}}},[i("div",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img"},expression:"{selector:'img'}"}]},[i("img",{attrs:{"data-src":e.litpic,alt:e.title,"data-error":"static/images/news.png"}})]),i("div",{staticClass:"boxgrt"},[i("h1",{staticClass:"title"},[t._v(t._s(e.title))]),i("p",{staticClass:"titleLook clearfix"},[i("span",{staticClass:"fl"},[t._v(t._s(e.writer))]),i("span",{staticClass:"fr"},[t._v(t._s(e.click)+"浏览")])])])])})),1)],1),i("div",{directives:[{name:"backTopWindow",rawName:"v-backTopWindow"}],staticClass:"slide-bar",staticStyle:{cursor:"pointer"}},[t.navListfixed?i("div",{staticClass:"backtop"},[i("i",{staticClass:"iconfont icon-xiangshang1"})]):t._e()])],1)},r=[],o=(i("ac67"),i("1bc7"),i("25ba"),i("32ea"),i("28f8")),a=i("a593"),s=i("cf6b"),c=i("5344"),u=i("ba44"),l=i("0970"),h=i("ebad"),d=i("57af");function f(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 v(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?f(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}a["a"].use(c["a"]).use(u["a"]).use(l["a"]).use(h["a"]);var p={name:"news",data:function(){return{title:"猎芯网-新闻列表",p:1,cat_id:"",bannerHeight:180,meaushow:!0,loading:!1,limit:10,act:0,navListfixed:!1}},computed:v({},Object(s["c"])({rollbanner:function(t){return t.news.rollbanner},cat_list:function(t){return t.news.cat_list},content_list:function(t){return t.news.content_list},loadStatus:function(t){return t.news.loadStatus},finished:function(t){return t.news.finished},totalLimit:function(t){return t.news.totalLimit}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){this.getData()},mounted:function(){this.scrollFns()},methods:{getData:function(){var t="";this.cat_id?t=this.cat_id:this.cat_list.length>0&&(t=this.cat_list[0].cat_id),this.$store.dispatch({type:"newsArticle",cat_id:t,p:this.p,limit:this.limit})},tab:function(t){this.act!=t&&(this.act=t,this.p=1,this.cat_id=this.cat_list[t].cat_id,this.getData())},onLoad:function(){this.p<this.totalLimit&&(this.p++,this.getData())},scrollFns:function(){var t=this;window.onscroll=function(){var e=document.documentElement.scrollTop||document.body.scrollTop;t.navListfixed=e>=300}}},components:{Header:d["a"]}},b=p,g=(i("a63a"),i("c701")),m=Object(g["a"])(b,n,r,!1,null,"91589c1a",null);e["default"]=m.exports},"28d5":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}))},5344:function(t,e,i){"use strict";var n=i("151f"),r=i("28d5"),o=i("a4cd"),a=i("e551"),s=i("a200"),c=i("59ef"),u=i("835d"),l=i("c4d5"),h=Object(n["a"])("swipe"),d=h[0],f=h[1];e["a"]=d({mixins:[c["a"],Object(u["b"])("vanSwipe"),Object(l["a"])((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",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=+this.width||e.width,this.computedHeight=+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,a=0;a=this.loop?o>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:a,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(s["b"])(e+t,-1,i):Object(s["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=e-i;return this.loop||(n=Object(s["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,a=this.loop,s=this.count,c=this.active,u=this.children,l=this.trackSize,h=this.minOffset;if(!(s<=1)){var d=this.getTargetActive(i),f=this.getTargetOffset(d,r);if(a){if(u[0]&&f!==h){var v=f<h;u[0].offset=v?l:0}if(u[s-1]&&0!==f){var p=f>0;u[s-1].offset=p?-l: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(a["b"])((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(a["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(a["b"])((function(){var n;n=i.loop&&t===i.count?0===i.active?0:t:t%i.count,e.immediate?Object(a["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()])}})},"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 a=i[o];n(a)?("undefined"===_(t[o])&&"function"===_(a)&&(t[o]=a),t[o]=e(t[o]||{},a)):t[o]=a}return t}function n(t){return"object"===_(t)||"function"===_(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 a(t,e){for(var i=!1,n=0,r=t.length;n<r;n++)if(e(t[n])){i=!0;break}return i}function s(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var i=t.getAttribute("data-srcset"),n=[],r=t.parentNode,o=r.offsetWidth*e,a=void 0,s=void 0,c=void 0;i=i.trim().split(","),i.map((function(t){t=t.trim(),a=t.lastIndexOf(" "),-1===a?(s=t,c=999998):(s=t.substr(0,a),c=parseInt(t.substr(a+1,t.length-a-2),10)),n.push([c,s])})),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 u="",l=void 0,h=n.length,d=0;d<h;d++)if(l=n[d],l[0]>=o){u=l[1];break}return u}}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 u(){if(!L)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 l(t,e){var i=null,n=0;return function(){if(!i){var r=Date.now()-n,o=this,a=arguments,s=function(){n=Date.now(),i=!1,t.apply(o,a)};r>=e?s():i=setTimeout(s,e)}}}function h(t){return null!==t&&"object"===(void 0===t?"undefined":p(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 v(){}var p="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":p(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 a=Object(arguments[o]),s=Object.getOwnPropertySymbols(a),c=0;c<s.length;c++){var u=s[c];i.call(a,u)&&(n[u]=a[u])}return n},w=Object.prototype.toString,_=function(e){var i=void 0===e?"undefined":p(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")},k=e,L="undefined"!=typeof window,O=L&&"IntersectionObserver"in window,j={event:"event",observer:"observer"},T=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(L)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t)}(),x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return L&&window.devicePixelRatio||t},E=function(){if(L){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),S={on:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];E?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)}},z=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)}},A=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},C=function(t){return A(t,"overflow")+A(t,"overflow-y")+A(t,"overflow-x")},$=function(t){if(L){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(C(e)))return e;e=e.parentNode}return window}},I={},P=function(){function t(e){var i=e.el,n=e.src,r=e.error,o=e.loading,a=e.bindType,s=e.$parent,c=e.options,u=e.elRenderer;b(this,t),this.el=i,this.src=n,this.error=r,this.loading=o,this.bindType=a,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=c,this.rect=null,this.$parent=s,this.elRenderer=u,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;z({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]:v;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent,void e()):this.state.loaded||I[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),z({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),I[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}(),H="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",D=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],B={rootMargin:"0px",threshold:0},R=function(t){return function(){function e(t){var i=t.preLoad,n=t.error,r=t.throttleWait,o=t.preLoadTop,a=t.dispatchEvent,s=t.loading,c=t.attempt,h=t.silent,d=void 0===h||h,f=t.scale,v=t.listenEvents,p=(t.hasbind,t.filter),g=t.adapter,m=t.observer,y=t.observerOptions;b(this,e),this.version="1.2.3",this.mode=j.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!a,throttleWait:r||200,preLoad:i||1.3,preLoadTop:o||0,error:n||H,loading:s||H,attempt:c||3,scale:f||x(f),ListenEvents:v||D,hasbind:!1,supportWebp:u(),filter:p||{},adapter:g||{},observer:!!m,observerOptions:y||B},this._initEvent(),this.lazyLoadHandler=l(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?j.observer:j.event)}return g(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};k(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),L&&(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(a(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,u=o.loading,l=o.error;t.nextTick((function(){c=s(e,r.options.scale)||c,r._observer&&r._observer.observe(e);var o=Object.keys(i.modifiers)[0],a=void 0;o&&(a=n.context.$refs[o],a=a?a.$el||a:document.getElementById(o)),a||(a=$(e));var h=new P({bindType:i.arg,$parent:a,el:e,loading:u,error:l,src:c,elRenderer:r._elRenderer.bind(r),options:r.options});r.ListenerQueue.push(h),L&&(r._addListenerTarget(window),r._addListenerTarget(a)),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,a=r.loading,u=r.error;o=s(e,this.options.scale)||o;var l=c(this.ListenerQueue,(function(t){return t.el===e}));l&&l.update({src:o,loading:a,error:u}),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;O||t!==j.observer||(t=j.event),this.mode=t,t===j.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===j.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 S[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;O&&(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 a=new T(e,{detail:t});n.dispatchEvent(a)}}}},{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}()},Q=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(),L&&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)}}}},W=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 N({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}(),M={selector:"img"},N=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=k({},M,n.value),this.getImgs().forEach((function(t){e.lazy.add(t,k({},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=R(t),n=new i(e),r=new W({lazy:n}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=n,e.lazyComponent&&t.component("lazy-component",Q(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){k(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)}}))}}}))},a63a:function(t,e,i){"use strict";i("ee07")},ba44:function(t,e,i){"use strict";var n=i("b65a"),r=i("151f"),o=i("835d"),a=Object(r["a"])("swipe-item"),s=a[0],c=a[1];e["a"]=s({mixins:[Object(o["a"])("vanSwipe")],data:function(){return{offset:0,inited:!1,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.inited,i=this.parent,n=this.mounted;if(!i.lazyRender||e)return!0;if(!n)return!1;var r=i.activeIndicator,o=i.count-1,a=0===r&&i.loop?o:r-1,s=r===o&&i.loop?0:r+1,c=t===r||t===a||t===s;return c&&(this.inited=!0),c}},render:function(){var t=arguments[0];return t("div",{class:c(),style:this.style,on:Object(n["a"])({},this.$listeners)},[this.shouldRender&&this.slots()])}})},e551:function(t,e,i){"use strict";(function(t){i.d(e,"c",(function(){return u})),i.d(e,"b",(function(){return l})),i.d(e,"a",(function(){return h}));var n=i("7bfa"),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 a=n["g"]?t:window,s=a.requestAnimationFrame||o,c=a.cancelAnimationFrame||a.clearTimeout;function u(t){return s.call(a,t)}function l(t){u((function(){u(t)}))}function h(t){c.call(a,t)}}).call(this,i("0288"))},ebad:function(t,e,i){"use strict";var n=i("151f"),r=i("28d5"),o=i("4bfa"),a=i("c4d5"),s=i("d1b9"),c=Object(n["a"])("list"),u=c[0],l=c[1],h=c[2];e["a"]=u({mixins:[Object(a["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,a=t.direction;e=n.getBoundingClientRect?n.getBoundingClientRect():{top:0,bottom:n.innerHeight};var s=e.bottom-e.top;if(!s||Object(r["a"])(i))return!1;var c=!1,u=t.$refs.placeholder.getBoundingClientRect();c="up"===a?e.top-u.top<=o:u.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",{key:"loading",class:l("loading")},[this.slots("loading")||t(s["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:l("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:l("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:l("placeholder")});return t("div",{class:l(),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])}})},ee07:function(t,e,i){}}]);
\ 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