chunk-2d21af55.212d0cf5.js 1.4 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d21af55"],{be73:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"newsDetail"},[e("div",{staticClass:"title"},[t._v(t._s(t.articleInfo.title))]),e("div",{staticClass:"list acea-row row-middle"},[e("div",{staticClass:"label cart-color-green line1"},[t._v("\n "+t._s(t.articleInfo.cart_name)+"\n ")]),e("div",{staticClass:"item"},[e("span",{staticClass:"iconfont icon-shenhezhong"}),t._v(t._s(t.articleInfo.add_time)+"\n ")]),e("div",{staticClass:"item"},[e("span",{staticClass:"iconfont icon-liulan"}),t._v(t._s(t.articleInfo.visit)+"\n ")])]),e("div",{staticClass:"conter",domProps:{innerHTML:t._s(t.articleInfo.content)}})])},n=[],s=(e("7f7f"),e("e876")),c={name:"NewsDetail",components:{},props:{},data:function(){return{articleInfo:{}}},watch:{$route:function(t){"NewsDetail"===t.name&&this.articleDetails()}},mounted:function(){this.articleDetails()},methods:{updateTitle:function(){document.title=this.articleInfo.title||this.$route.meta.title},articleDetails:function(){var t=this,i=this.$route.params.id;Object(s["c"])(i).then(function(i){t.articleInfo=i.data,t.updateTitle()})}}},l=c,o=e("2877"),r=Object(o["a"])(l,a,n,!1,null,null,null);i["default"]=r.exports}}]);
  2. //# sourceMappingURL=chunk-2d21af55.212d0cf5.js.map