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
1.3 KiB

"use strict";(self["webpackChunkagile_portal_front"]=self["webpackChunkagile_portal_front"]||[]).push([[504],{12504:(t,e,a)=>{a.r(e),a.d(e,{default:()=>d});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("div",{staticClass:"news-detail-container container"},[e("div",{staticClass:"wrapper"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),e("el-breadcrumb-item",{attrs:{to:{path:"/news/list"}}},[t._v("新闻中心")]),e("el-breadcrumb-item",[t._v("详情")])],1),e("div",{staticClass:"content ql-editor"},[e("div",{staticClass:"news-title"},[t._v(t._s(t.detail.contentTitle))]),e("div",{staticClass:"news-upadate-time"},[t._v(t._s(t.detail.updateTime))]),e("div",{staticClass:"news-detail",domProps:{innerHTML:t._s(t.detail.contentText)}})])],1)])])},i=[],n=a(47121);const r={name:"NewsDetail",data:function(){return{detail:{}}},computed:{},mounted:function(){this.$parent.$parent.$parent.$refs.topnav.topbg="",this.backToTop()},created:function(){var t=this.$route.params.contentId;this.getDetail(t)},methods:{backToTop:function(){window.scrollTo({top:0,behavior:"smooth"})},getDetail:function(t){var e=this;(0,n.Cm)(t).then((function(t){e.detail=t.data}))}}},o=r;var l=a(43736),c=(0,l.Z)(o,s,i,!1,null,"d010e632",null);const d=c.exports}}]);