You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.2 KiB

8 months ago
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4259c636"],{2632:function(t,e,a){"use strict";a("53d6")},"53d6":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("p",{staticClass:"writing-branch"},[t._v("发布部门:"+t._s(t.articleObj.source?t.articleObj.source:"洛阳市洛阳学车"))])]),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.content)}})])]):t._e()])])])},s=[],c=a("1825"),r=a("cf45"),l={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(r["a"])(e.data.createDate),t.articleObj=e.data}))},getQueryEssayDetail:function(){var t=this;Object(c["d"])({essayId:this.detailId}).then((function(e){e.data.createDate=Object(r["a"])(e.data.createDate),t.articleObj=e.data}))},getQueryIndustryDynamicDetails:function(){var t=this;Object(c["s"])({industryDynamicId:this.detailId}).then((function(e){e.data.createDate=Object(r["a"])(e.data.createDate),t.articleObj=e.data}))},getQueryGetLawDetails:function(){var t=this;Object(c["h"])({lawId:this.detailId}).then((function(e){e.data.createDate=Object(r["a"])(e.data.createDate),t.articleObj=e.data}))}}},n=l,d=(a("2632"),a("2877")),u=Object(d["a"])(n,i,s,!1,null,"b124e06c",null);e["default"]=u.exports}}]);
  2. //# sourceMappingURL=chunk-4259c636.be7f23b3.js.map