(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["plugin-news-articleDetail"],{"3a90":function(t,i,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("dc8a");var a=n(e("9b1b")),s=e("8f59"),r={data:function(){return{id:"",info:{}}},computed:(0,a.default)({},(0,s.mapGetters)(["user","base"])),onLoad:function(t){t.id&&(this.id=t.id),this.init()},onShareAppMessage:function(t){return this.$util.handleWxappShare(),{title:this.info.title,imageUrl:this.info.thumb||this.base.share_img||this.base.logo,path:"/plugin/news/articleDetail?id="+this.id+(this.user&&this.user.id?"&sup_uid="+this.user.id:"")}},onShareTimeline:function(){this.$util.handleWxappShare(2);var t=this.$util.shareline();return{title:this.info.title,query:t.query+"&id=".concat(this.id)}},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 t=this;this.$util.get("news/article/detail",{id:this.id}).then((function(i){1==i.code?(t.info=i.data.info,uni.setNavigationBarTitle({title:t.info.title}),t.setShare()):t.toast(i.message,2e3,"back")}))}}};i.default=r},"3f6f":function(t,i,e){"use strict";var n=e("5679"),a=e.n(n);a.a},5679:function(t,i,e){var n=e("e39d6");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("32ccd027",n,!0,{sourceMap:!1,shadowMode:!1})},"6e13":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){return n}));var n={uParse:e("90c0").default},a=function(){var t=this.$createElement,i=this._self._c||t;return i("v-uni-view",{staticClass:"page-body padding-sm"},[this.info.id?[1==this.info.type?[i("u-parse",{attrs:{content:this.info.content}})]:i("v-uni-web-view",{staticStyle:{width:"100%",height:"100%"},attrs:{src:this.info.link}})]:this._e()],2)},s=[]},cd6e:function(t,i,e){"use strict";e.r(i);var n=e("6e13"),a=e("e46f");for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);e("3f6f");var r=e("828b"),u=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"6c6cda14",null,!1,n["a"],void 0);i["default"]=u.exports},e39d6:function(t,i,e){var n=e("c86c");i=n(!1),i.push([t.i,"uni-page-body[data-v-6c6cda14]{width:100%;height:100%}.page-body[data-v-6c6cda14]{height:100%}.desc[data-v-6c6cda14]{\n\t/* font-size: 24rpx; */color:#000;text-indent:2em;margin-bottom:%?10?%}",""]),t.exports=i},e46f:function(t,i,e){"use strict";e.r(i);var n=e("3a90"),a=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=a.a}}]);