(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e18c3db6"],{"07e0":function(t,e,n){},"99af":function(t,e,n){"use strict";var a=n("23e7"),i=n("d039"),s=n("e8b5"),r=n("861d"),o=n("7b0b"),c=n("50c4"),l=n("8418"),d=n("65f0"),u=n("1dde"),f=n("b622"),h=n("2d00"),v=f("isConcatSpreadable"),p=9007199254740991,g="Maximum allowed index exceeded",b=h>=51||!i((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),_=u("concat"),m=function(t){if(!r(t))return!1;var e=t[v];return void 0!==e?!!e:s(t)},k=!b||!_;a({target:"Array",proto:!0,forced:k},{concat:function(t){var e,n,a,i,s,r=o(this),u=d(r,0),f=0;for(e=-1,a=arguments.length;e<a;e++)if(s=-1===e?r:arguments[e],m(s)){if(i=c(s.length),f+i>p)throw TypeError(g);for(n=0;n<i;n++,f++)n in s&&l(u,f,s[n])}else{if(f>=p)throw TypeError(g);l(u,f++,s)}return u.length=f,u}})},b5ba:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"collect"},[n("form",{attrs:{action:"/"}},[n("van-search",{attrs:{"show-action":"",placeholder:"请输入搜索关键词"},on:{search:t.onSearch},scopedSlots:t._u([{key:"action",fn:function(){return[n("div",{on:{click:t.onSearch}},[t._v("搜索")])]},proxy:!0}]),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),n("van-tabs",{staticClass:"collect-tabs",attrs:{border:!1,sticky:"",animated:""},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[n("van-tab",{attrs:{title:"视频"}},[n("van-pull-refresh",{on:{refresh:t.onRefresh},model:{value:t.refreshing,callback:function(e){t.refreshing=e},expression:"refreshing"}},[n("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},[n("div",{staticClass:"collect-list"},t._l(t.list,(function(e){return n("div",{key:e.id,staticClass:"collect-list__item",style:"background-image: url("+e.thumb+")"},[n("div",{staticClass:"collect-list__like"},[n("van-icon",{attrs:{name:"like-o"}}),n("span",[t._v(t._s(e.like_num))])],1)])})),0)])],1)],1),n("van-tab",{attrs:{title:"图文"}},[n("div",{staticClass:"text1-2 text-center tip"},[t._v("功能暂未开发，敬请期待~")])])],1)],1)},i=[],s=(n("99af"),{name:"collect",data:function(){return{list:[],loading:!1,finished:!1,refreshing:!1,active:0,value:"",page:0}},methods:{onLoad:function(){var t=this;this.$http.user.videoCollect({page:this.refreshing?this.page=1:this.page+=1}).then((function(e){var n=e.code,a=e.data;t.refreshing&&(t.list=[],t.refreshing=!1),200===n&&(a.total_page!==a.current_page&&0!==a.total_page||(t.finished=!0),1===a.current_page?t.list=a.list:t.list=t.list.concat(a.list)),t.loading=!1}))},onRefresh:function(){this.finished=!1,this.loading=!0,this.onLoad()},onSearch:function(){}}}),r=s,o=(n("d576"),n("2877")),c=Object(o["a"])(r,a,i,!1,null,"97d37e04",null);e["default"]=c.exports},d576:function(t,e,n){"use strict";var a=n("07e0"),i=n.n(a);i.a}}]);
//# sourceMappingURL=chunk-e18c3db6.9ff6ced4.js.map