(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/news/detail"],{1604:function(e,t,n){"use strict";var o=n("965e"),i=n.n(o);i.a},"1ba7":function(e,t,n){"use strict";n.r(t);var o=n("698b"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},"698b":function(e,t,n){"use strict";(function(e){var o=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("9523")),r=n("26cb");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var u={data:function(){return{type:1,content:null}},components:{uParse:function(){Promise.all([n.e("common/vendor"),n.e("uni_modules/u-parse/u-parse")]).then(function(){return resolve(n("2a6b"))}.bind(null,n)).catch(n.oe)}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,r.mapState)(["user"])),onLoad:function(t){console.log("资讯",t),this.type=t.type,this.handleActive(t.id),e.showShareMenu({withShareTicket:!0,menus:["shareAppMessage"]})},onShareAppMessage:function(e){return{title:this.content.title,path:"/pageTwo/news/detail?id="+this.content.id+"&type="+this.type,imageUrl:this.content.headimg,success:function(e){console.log("分享到朋友成功")},fail:function(e){console.log("分享到朋友失败")}}},methods:{handleActive:function(e){var t=this,n={id:e,type:this.type},o="";return 1==this.type||5==this.type||6==this.type||7==this.type?o=this.$model.getInfoDetail(n):4==this.type&&(o=this.$model.getCampaignDetail(n)),o.then((function(e){0==e.code&&(t.content=e.data)}))},previewImage:function(){var t=[];t.push(this.content.headimg),e.previewImage({urls:t,current:0}).catch((function(e){console.log(e)}))},handleZan:function(){var e=this;console.log("点赞"),this.$model.getLike({id:this.content.id,type:this.type}).then((function(t){e.content.islike=!0}))}}};t.default=u}).call(this,n("543d")["default"])},"919a":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var o={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"c6b6"))}},i=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){return e.$tools.getCall(e.user.authlist,e.content.phone)})},r=[]},"965e":function(e,t,n){},fde0:function(e,t,n){"use strict";n.r(t);var o=n("919a"),i=n("1ba7");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("1604");var c=n("f0c5"),u=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"224370d4",null,!1,o["a"],void 0);t["default"]=u.exports},fec8:function(e,t,n){"use strict";(function(e,t){var o=n("4ea4");n("eaf2");o(n("66fd"));var i=o(n("fde0"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["fec8","common/runtime","common/vendor"]]]);