news-info.js 1.7 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/news-info"],{"0c56":function(t,n,e){"use strict";e.r(n);var a=e("b3b2"),i=e.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=i.a},"4f4d":function(t,n,e){},"665a":function(t,n,e){"use strict";var a=e("4f4d"),i=e.n(a);i.a},"85d1":function(t,n,e){"use strict";(function(t,n){var a=e("4ea4");e("9db3");a(e("66fd"));var i=a(e("add5"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},add5:function(t,n,e){"use strict";e.r(n);var a=e("dba0"),i=e("0c56");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("665a");var d=e("f0c5"),r=Object(d["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=r.exports},b3b2:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={data:function(){return{id:"",detail:{}}},onLoad:function(t){this.id=t.id,this.getdata()},methods:{getdata:function(){var t=this;this.$u.post("/api/Headline/headline_detail",{id:this.id}).then((function(n){t.detail=n.data;var e=new RegExp("<img","gi");t.detail.content=n.data.content.replace(e,'<img style="max-width: 100%; height: auto"')}))}}};n.default=a},dba0:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var a={uParse:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-parse/u-parse")]).then(e.bind(null,"dbbf"))}},i=function(){var t=this.$createElement;this._self._c},u=[]}},[["85d1","common/runtime","common/vendor"]]]);