chunk-186f3020.1581935826855.js 2.99 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-186f3020"],{"121a":function(t,e,a){},"133c":function(t,e,a){},"2b5c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAABMUlEQVQokY3SO0gcURiG4WfHAfGGiEiECBaCFintttLO4N1eUlhoZ6F1sAjYWC0WoqA2FpJGFAshoJ0hYG0XBQuzNuIFoi6rFjMLs8Ms+DUH/vO95/y33MjXISn9QD8+oQnXKGIDvyqmIAEM4wpfsIUB9GEB5yhgv2LOxT+OYw+T8Ql1aMZd4vFj1CMfoA07yCcg+IbVVBmDaMVaiO84wmnK9IpyugEYxVkQN6KQYSijlBH/i8cAD/iTYWhQXV9SxRBP+J9xeYOlVLpvWMZtiEZ04l8KPEAHPqfAEtpCURPGsJ4Cy6KhZ6krwBrmahiyNI27IE6piO0PQF2i2c5WVm4CvThEdw1oBr8xj5MwDj6LNmcFm7jAJV7Qjh60YEo8ulC1FkWLPR6nFeIeP7GbNL4DTFpA9HKFTM8AAAAASUVORK5CYII="},c366:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content"},[n("div",[n("div",{staticClass:"top-space"}),n("h2",{staticClass:"tit"},[t._v(t._s(t.data.title))]),n("div",{staticClass:"box back",on:{click:t.toNewsList}},[t._v(" "+t._s(t.$t("newsDetail.back"))+" >")]),n("div",{staticClass:"box dat"},[n("div",{staticClass:"date"},[n("img",{staticClass:"icon-clock",attrs:{src:a("2b5c"),alt:""}}),t._v(" "+t._s(t.$t("newsDetail.publishAt"))+":"+t._s(t.data.dateFormat))]),n("div",{staticClass:"pv"},[t._v(t._s(t.$t("newsDetail.readers"))+":"+t._s(t.data.pv)+" "+t._s(t.$t("newsDetail.per")))])]),n("div",{staticClass:"box desc ql-editor",domProps:{innerHTML:t._s(t.data.content)}},[t._v("\n\t\t\t"+t._s(t.data.content)+"\n\t\t")])])])},c=[],i=(a("5ab2"),a("6d57"),a("e10e"),a("289c")),s=a("08c1"),o=a("4ec3"),r=a.n(o),l=a("ed0b"),d=(a("121a"),a("71e2")),u=a("fa7d");function p(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function b(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?p(Object(a),!0).forEach((function(e){Object(i["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var f={data:function(){return{key:"value",data:{title:"",content:"",dateFormat:"",pv:0},hadData:!0}},computed:b({},Object(s["c"])({userInfo:function(t){return t.userInfo}})),components:{},methods:{toNewsList:function(){this.$router.go(-1)},initData:function(){var t=this,e=this.$route.query.c,a=this.$i18n.locale,n={l:a,newsCode:e};Object(l["b"])({url:r.a.newsDetail,data:n}).then((function(e){e?(t.data.title=e.title,t.data.content=e.content,t.data.dateFormat=Object(d["b"])(e.createAt),t.data.pv=e.pv,t.data.title&&Object(u["i"])(t.data.title)):t.hadData=!1}))}},mounted:function(){this.initData()},created:function(){document.documentElement.scrollTop=0,document.body.scrollTop=0}},A=f,v=(a("e804"),a("623f")),O=Object(v["a"])(A,n,c,!1,null,"59e2a84e",null);e["default"]=O.exports},e804:function(t,e,a){"use strict";var n=a("133c"),c=a.n(n);c.a}}]);