|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-382785eb"],{"9ed2":function(t,e,a){},cfeb:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"details"},[a("div",{staticClass:"details-wrapper"},[a("div",{staticClass:"zlxc-container",staticStyle:{overflow:"visible"}},[a("div",{staticClass:"bread-crumbs"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),a("el-breadcrumb-item",[t._v(t._s("exposure"==t.detailType?"曝光台":"about"==t.detailType?"行业动态":"knowledge"==t.detailType?"学驾须知":"政策法规"))]),a("el-breadcrumb-item",[t._v("详情")])],1)],1),t.articleObj?a("div",{staticClass:"article"},[a("p",{staticClass:"article-title"},[t._v(t._s(t.articleObj.title))]),a("ul",{staticClass:"article-feature"},[a("li",{staticClass:"feature-writing"},[a("p",{staticClass:"writing-branch"},[t._v("发布时间:"+t._s(t.articleObj.createDate))])]),a("li",{staticClass:"feature-operate"},[a("p",{staticClass:"operate-name"},[t._v("字体:")]),a("p",{staticClass:"operate-item",on:{click:function(e){return t.tapFontSize("big")}}},[t._v("大")]),a("p",{staticClass:"operate-item",on:{click:function(e){return t.tapFontSize("middle")}}},[t._v("中")]),a("p",{staticClass:"operate-item",on:{click:function(e){return t.tapFontSize("small")}}},[t._v("小")])])]),a("ul",{class:["article-body",{small:"small"==t.fontSize},{middle:"middle"==t.fontSize},{big:"big"==t.fontSize}]},[a("li",{staticClass:"article-part",domProps:{innerHTML:t._s(t.articleObj.mainBody)}})])]):t._e()])])])},s=[],c=a("1825"),l=a("cf45"),r={name:"Details",data:function(){return{fontSize:"middle",detailId:null,detailType:"exposure",articleObj:null}},created:function(){this.detailId=this.$route.query.id,this.detailType=this.$route.query.type,"legislation"===this.$route.query.type?this.getQueryGetLawDetails():"knowledge"===this.$route.query.type?this.getQueryEssayDetail():"notice"===this.$route.query.type?this.getPublicNoticeByDetails():this.getQueryIndustryDynamicDetails()},methods:{tapFontSize:function(t){this.fontSize=t},getPublicNoticeByDetails:function(){var t=this;Object(c["a"])("publicNoticeId="+this.detailId).then((function(e){e.data.createDate=Object(l["a"])(e.data.createDate),t.articleObj=e.data}))},getQueryEssayDetail:function(){var t=this;Object(c["e"])({essayId:this.detailId}).then((function(e){e.data.createDate=Object(l["a"])(e.data.createTime),t.articleObj=e.data}))},getQueryIndustryDynamicDetails:function(){var t=this;Object(c["t"])({id:this.detailId}).then((function(e){e.data.createDate=Object(l["a"])(e.data.createTime),t.articleObj=e.data}))},getQueryGetLawDetails:function(){var t=this;Object(c["i"])({lawId:this.detailId}).then((function(e){e.data.createDate=Object(l["a"])(e.data.createDate),t.articleObj=e.data}))}}},n=r,d=(a("ec93"),a("2877")),u=Object(d["a"])(n,i,s,!1,null,"3292124f",null);e["default"]=u.exports},ec93:function(t,e,a){"use strict";a("9ed2")}}]); //# sourceMappingURL=chunk-382785eb.9202c580.js.map
|