(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/video/video"],{"32d6":function(t,e,n){"use strict";var i=n("c784"),o=n.n(i);o.a},7632:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("2f62"),o=a(n("8e3b"));function a(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=function(){Promise.all([n.e("common/vendor"),n.e("components/page-component/app-video/app-video")]).then(function(){return resolve(n("f3d4"))}.bind(null,n)).catch(n.oe)},l=1,f=!1,d=!1,p={name:"video",components:{"app-video":s},data:function(){return{list:[],active:-1,navigationBarTitle:""}},onLoad:function(){var t=this;this.$commonLoad.onload(),l=1,f=!1,d=!1,this.loadData(),wx.showShareMenu({menus:["shareAppMessage","shareTimeline"]}),this.$nextTick((function(){var e=t.$platDiff.route();o.default.setNavigationBarTitle(t.bar_title,e).then((function(e){t.navigationBarTitle=e}))}))},onPageScroll:function(t){this.$store.dispatch("page/actionSetScrollTop",t.scrollTop)},onReachBottom:function(){f||this.loadData()},onShareAppMessage:function(){return this.$shareAppMessage({title:this.navigationBarTitle,path:"/pages/video/video"})},onShareTimeline:function(){return this.$shareTimeline({title:this.navigationBarTitle})},computed:c({},(0,i.mapState)("mallConfig",{bar_title:function(t){return t.bar_title}})),methods:{loadData:function(){var t=this;d||(this.$showLoading(),d=!0,this.$request({url:this.$api.video.index,data:{page:l}}).then((function(e){t.$hideLoading(),0===e.code&&(t.list=t.list.concat(e.data.list),0===e.data.list.length&&(f=!0),l++),d=!1})).catch((function(){t.$hideLoading(),d=!1})))},click:function(t){this.active===t?this.active=-1:this.active=t}}};e.default=p},"808c":function(t,e,n){"use strict";n.r(e);var i=n("7632"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},c784:function(t,e,n){},df2f:function(t,e,n){"use strict";n.r(e);var i=n("e91b"),o=n("808c");for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("32d6");var r,c=n("f0c5"),u=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"b81b379c",null,!1,i["a"],r);e["default"]=u.exports},e91b:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c},a=[]},eb6b:function(t,e,n){"use strict";(function(t){n("2d0a");i(n("66fd"));var e=i(n("df2f"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["eb6b","common/runtime","common/vendor"]]]);