require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugin/news/videoDetail"],{"00a0":function(t,e,i){"use strict";i.r(e);var n=i("7ee8"),r=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"7ee8":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("7ca3")),a=i("8f59");function o(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}var u={data:function(){return{id:"",info:{}}},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){(0,r.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},(0,a.mapGetters)(["base","user"])),onShareAppMessage:function(t){this.$util.handleWxappShare();var e={title:this.info.title||this.base.share_title||this.base.title,path:"/plugin/news/videoDetail?id="+this.id+(this.user&&this.user.id?"&sup_uid="+this.user.id:""),imageUrl:this.info.thumb||this.base.share_img||this.base.logo};return e},onShareTimeline:function(){this.$util.handleWxappShare(2);var t=this.$util.shareline();return{title:this.info.title,query:t.query+"&id=".concat(this.id)}},onLoad:function(t){t.id&&(this.id=t.id),this.init()},methods:{setShare:function(){if(0==Object.keys(this.info).length)return!1;"GZH"==this.globalPlatform&&this.$util.setShareData({title:this.info.title,imgUrl:this.info.thumb})},init:function(){var e=this;this.$util.get("news/video/detail",{id:this.id}).then((function(i){1==i.code?(e.info=i.data.info,t.setNavigationBarTitle({title:e.info.title})):e.toast(i.message,2e3,"back")}))}}};e.default=u}).call(this,i("df3c")["default"])},cd7f:function(t,e,i){"use strict";i.r(e);var n=i("e835"),r=i("00a0");for(var a in r)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("edd8");var o=i("828b"),u=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=u.exports},e835:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},r=[]},edd8:function(t,e,i){"use strict";var n=i("f40f"),r=i.n(n);r.a},f40f:function(t,e,i){},fc09:function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("4c1a");n(i("3240"));var r=n(i("cd7f"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(r.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])}},[["fc09","common/runtime","common/vendor"]]]);