(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{715:function(t,e,a){t.exports={}},803:function(t,e,a){a(715)},884:function(t,e,a){a.r(e);var r=a(3),n=(a(40),a(12),a(76),a(35),a(585)),i=a(628),o=a(607),s=a(586),u=a(576),i={head:function(){var t=Object(s.a)(this.$store.state,u.a.movie),e=t.title,a=t.description,t=t.keywords;return this.$seo.head({title:e||this.title,description:a||this.description,keywords:t||this.keywords,canonical:"".concat(this.$route.fullPath),shareUrl:"".concat(this.$route.fullPath)})},components:{HotMovie:i.a,ListStatus:o.a},mixins:[n.a],methods:{onLoadData:function(){var n=this;return Object(r.a)(regeneratorRuntime.mark(function t(){var e,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(-1<["loading","end"].indexOf(n.dataStatus))return t.abrupt("return");t.next=2;break;case 2:return n.dataStatus="loading",n.page++,e=n.$api.getFilm(),t.next=7,e.getShare({page:n.page,size:n.pageSize});case 7:e=t.sent,a=null!=(a=null==e?void 0:e.rows)?a:[],n.dataStatus=(a||[]).length>=n.pageSize?"more":"end",n.hotMovies=(n.hotMovies||[]).concat(a);case 12:case"end":return t.stop()}},t)}))()}},asyncData:function(c){return Object(r.a)(regeneratorRuntime.mark(function t(){var e,a,n,r,i,o,s,u;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.app,a=c.query,n=1,r=10,i="loading",o=e.$api,o=o.getFilm(),t.next=7,o.getShare({movieType:2,page:n,size:r});case 7:return o=t.sent,s=null!=(s=null==o?void 0:o.rows)?s:[],u=a.contact,e.store.dispatch("setCurrentPage",{name:"landing-movie"}),i=(s||[]).length>=r?"more":"end",t.abrupt("return",{contact:u,urlQuery:a||{},hotMovies:s,page:n,pageSize:r,dataStatus:i});case 13:case"end":return t.stop()}},t)}))()}},o=(a(803),a(19)),n=Object(o.a)(i,function(){var t=this,e=t._self._c;return e("div",{staticClass:"lmovie landing-movie"},[e("p",{staticClass:"lmovie-title",style:"background-image:url(".concat(t.getMovieTitle,")")}),t._v(" "),e("div",[e("HotMovie",{attrs:{items:t.hotMovies,query:t.urlQuery}}),t._v(" "),"end"!==t.dataStatus?e("ListStatus",{attrs:{status:t.dataStatus},on:{load:t.onLoadData}}):t._e()],1)])},[],!1,null,"33dbfd78",null);e.default=n.exports}}]);