(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["specialDetail"],{"18de":function(t,o,e){"use strict";e.r(o);var i=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"specialdetail"},[e("div",{staticClass:"sd-container"},[e("h2",[t._v(t._s(t.dataInfo.title))]),e("div",{staticClass:"msgWrap quill-editor ql-editor",domProps:{innerHTML:t._s(t.dataInfo.content)}})]),e("van-image-preview",{attrs:{startPosition:t.startPosition,images:t.images},model:{value:t.show,callback:function(o){t.show=o},expression:"show"}})],1)},a=[],n=e("9afb"),s={data:function(){return{dataInfo:{},images:[],show:!1,startPosition:0}},mounted:function(){var t=this,o=this.$route.query;o.Authorization?(localStorage.setItem("Authorization",decodeURI(o.Authorization)),localStorage.setItem("userInfo",decodeURI(o.Authorization))):(localStorage.removeItem("Authorization"),localStorage.removeItem("userInfo")),document.title="公告详情",this.__init(),window.onLook=function(o){var e=document.querySelectorAll(".msgWrap img"),i=[];e.forEach(function(e,a){i.push(e.src),o==e&&(t.startPosition=a)}),t.show=!0,t.images=i}},methods:{__init:function(){var t=this;this.$toast.loading({message:"加载中...",duration:1e5,forbidClick:!0,loadingType:"spinner"}),Object(n["A"])({id:this.$route.query.id}).then(function(o){var e=o.data,i=e.data?e.data.content:null;if(i&&(i=i.replace(/<img/gi,'<img onClick="onLook(this)" style="width: 100% !important;"'),i=i.replace(/<video/gi,'<video style="width: 100% !important;height: 1.95rem;"'),e.data.content=i),t.$toast.clear(),200==e.code&&e.data){t.dataInfo=e.data;var a=document.querySelectorAll("meta");a.forEach(function(o){"description"==o.name&&(o.content=t.dataInfo.title)})}})}}},r=s,c=(e("59c8"),e("2877")),l=Object(c["a"])(r,i,a,!1,null,"6c2ee025",null);o["default"]=l.exports},"59c8":function(t,o,e){"use strict";var i=e("b937"),a=e.n(i);a.a},b937:function(t,o,e){}}]);