require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugin/news/video"],{"45c0":function(t,e,n){"use strict";n.r(e);var i=n("f3e0"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},"5b8f":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uEmpty:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(n.bind(null,"f174"))}},r=function(){var t=this.$createElement,e=(this._self._c,this.categorys.length),n=this.list.length;this.$mp.data=Object.assign({},{$root:{g0:e,g1:n}})},a=[]},8488:function(t,e,n){},d476:function(t,e,n){"use strict";n.r(e);var i=n("5b8f"),r=n("45c0");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("f6d3");var o=n("828b"),s=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},f3e0:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("7ca3")),a=n("8f59");function o(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}var s={data:function(){return{categorys:[],left:-1,list:[],cateIndex:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,a.mapGetters)(["base","user"])),onShareAppMessage:function(t){this.$util.handleWxappShare();var e=this.base,n=this.user,i={title:e.share_title?e.share_title:e.title,path:"/plugin/news/article"+(n&&n.id?"?sup_uid="+n.id:""),imageUrl:e.share_img?e.share_img:e.logo};return i},onShareTimeline:function(){this.$util.handleWxappShare(2);var t=this.$util.shareline();return t},onLoad:function(){this.init()},methods:{play:function(t){this.jump("./videoDetail?id="+t.id)},init:function(){var e=this;this.base.texts&&t.setNavigationBarTitle({title:this.base.texts.video}),this.$util.get("news/video/getCategory").then((function(t){1==t.code&&(e.categorys=t.data.list),e.getList()}))},onCate:function(t){var e=100*parseInt(t);this.cateIndex=t,this.left=e,this.getList()},getList:function(){var t=this,e={};this.categorys[this.cateIndex]&&(e.category_id=this.categorys[this.cateIndex].id),this.$util.get("news/video/getList",e).then((function(e){1==e.code&&(t.list=e.data.list)}))}}};e.default=s}).call(this,n("df3c")["default"])},f6d3:function(t,e,n){"use strict";var i=n("8488"),r=n.n(i);r.a},fa57:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("4c1a");i(n("3240"));var r=i(n("d476"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["fa57","common/runtime","common/vendor"]]]);