require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_tool/notice/detail"],{"0f1d":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loadingCover:function(){return i.e("components/loading-cover/loading-cover").then(i.bind(null,"0773"))}},o=function(){var t=this.$createElement,e=(this._self._c,this.$util.timeStampTurnTime(this.detail.create_time));this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},"1abc":function(t,e,i){"use strict";i.r(e);var n=i("71bf"),o=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"]=o.a},"3f69":function(t,e,i){"use strict";i.r(e);var n=i("0f1d"),o=i("1abc");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("855d");var c=i("828b"),r=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},"44a4":function(t,e,i){},"6b71":function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("1dee");n(i("3240"));var o=n(i("3f69"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(o.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"71bf":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("e5ac")),a={data:function(){return{noticeId:0,content:"",detail:{}}},onLoad:function(t){if(this.noticeId=t.notice_id||0,t.scene){var e=decodeURIComponent(t.scene);this.noticeId=e.split("-")[1]}0==this.noticeId&&this.$util.redirectTo("/pages_tool/notice/list",{},"redirectTo")},onShow:function(){this.getData()},methods:{getData:function(){var t=this;this.$api.sendRequest({url:"/api/notice/info",data:{id:this.noticeId},success:function(e){0==e.code?e.data?(t.detail=e.data,t.content=(0,o.default)(e.data.content),t.$langConfig.title(t.detail.title),t.setPublicShare(),t.$refs.loadingCover&&t.$refs.loadingCover.hide()):t.$util.redirectTo("/pages_tool/notice/list",{},"redirectTo"):(t.$util.showToast({title:e.message}),setTimeout((function(){t.$util.redirectTo("/pages_tool/notice/list",{},"redirectTo")}),2e3))},fail:function(e){t.$util.redirectTo("/pages_tool/notice/list",{},"redirectTo"),t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},setPublicShare:function(){var t=this.$config.h5Domain+"/pages_tool/notice/detail?notice_id="+this.noticeId;this.$util.setPublicShare({title:this.detail.title,desc:"",link:t,imgUrl:this.siteInfo?this.$util.img(this.siteInfo.logo_square):""})}},onShareAppMessage:function(t){var e="[公告]"+this.detail.title,i="/pages_tool/notice/detail?notice_id="+this.noticeId;return{title:e,path:i,success:function(t){},fail:function(t){}}},onShareTimeline:function(){var t=this.detail.title,e="notice_id="+this.noticeId;return{title:t,query:e,imageUrl:""}}};e.default=a},"855d":function(t,e,i){"use strict";var n=i("44a4"),o=i.n(n);o.a}},[["6b71","common/runtime","common/vendor"]]]);