(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{DuEd:function(t,e,n){t.exports={notice_container:"notice_container___2urQH",separate:"separate___3lttW",notice_list:"notice_list___R5Wm0",notice_list_title:"notice_list_title___1Aibl",notice_list_footer:"notice_list_footer___2QPvW",notice_list_footer_button:"notice_list_footer_button___7bS_g"}},ImCI:function(t,e,n){"use strict";n.r(e);var o,i,a,r=n("2Taf"),s=n.n(r),c=n("vZ4D"),l=n.n(c),u=n("MhPg"),p=n.n(u),d=n("l4Ni"),f=n.n(d),_=n("ujKo"),m=n.n(_),h=n("q1tI"),v=n.n(h),w=n("DuEd"),y=n.n(w),g=n("DYBX"),D=n("2khj"),b=n("/MKj"),M=n("9ibs"),E=n("6jie");function S(t){var e=I();return function(){var n,o=m()(t);if(e){var i=m()(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return f()(this,n)}}function I(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var k=(o=Object(b["c"])(function(t){var e=t.announcementDetailModel;return{announcementDetailModel:e}}),o((a=function(t){p()(n,t);var e=S(n);function n(){var t;s()(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=e.call.apply(e,[this].concat(i)),t.state={selectedTypeJson:{type:3},id:t.props.location.query.rowID},t.isWeiXin=function(){var t=navigator.userAgent.toLowerCase();return"micromessenger"==t.match(/MicroMessenger/i)},t.getDetail=function(){t.props.dispatch({type:"announcementDetailModel/getDetail",payload:{id:t.props.location.query.rowID}})},t.getTitleListBySameSort=function(){t.props.dispatch({type:"announcementDetailModel/getTitleListBySameSort",payload:{id:t.props.location.query.rowID}})},t.toList=function(){t.props.history.push("/announcement/list?rowID="+t.props.location.query.rowID+"&sortId="+t.props.location.query.sortId)},t.toShare=function(){var e=t.props.announcementDetailModel.article.title;/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.webkit.messageHandlers.toShare.postMessage({title:e,content:e,url:window.location.href}):/(Android)/i.test(navigator.userAgent)&&window.js.toShare(e,"",e,window.location.href)},t}return l()(n,[{key:"componentWillMount",value:function(){document.title="\u516c\u544a"}},{key:"componentDidMount",value:function(){var t;this.getDetail(),this.getTitleListBySameSort(),t=setInterval(function(){window.js&&window.js.shareButtonVisbile&&(clearInterval(t),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.webkit.messageHandlers.shareButtonVisbile.postMessage({visible:0}):/(Android)/i.test(navigator.userAgent)&&window.js.shareButtonVisbile(0))},300)}},{key:"componentDidUpdate",value:function(t){}},{key:"render",value:function(){var t=this;return v.a.createElement("div",{className:y.a.notice_container},this.isWeiXin()?null:v.a.createElement(g["default"],{leftBtn:function(){t.props.history.push("/announcement/list")},rightBtn:function(){t.toShare()},rightText:"\u5206\u4eab"}),v.a.createElement(D["default"],{article:this.props.announcementDetailModel.article}),v.a.createElement("div",{className:y.a.separate}),v.a.createElement("div",{className:y.a.notice_list},"\b",v.a.createElement("div",{className:y.a.notice_list_title},v.a.createElement("p",null,"\u66f4\u591a\u901a\u77e5")),v.a.createElement("div",{className:y.a.notice_list_content},this.props.announcementDetailModel.announcementListArr.map(function(e,n){return v.a.createElement("div",{key:n},v.a.createElement(E["default"],{article:e,rowID:n,history:t.props.history}))})),v.a.createElement("div",{className:y.a.notice_list_footer},v.a.createElement(M["a"],{className:y.a.notice_list_footer_button,onClick:this.toList},"\u67e5\u770b\u5168\u90e8"))))}}]),n}(h["Component"]),i=a))||i);e["default"]=k}}]);