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