listDetail.js 2.1KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/cup/listDetail"],{"0228":function(t,n,e){"use strict";var r=e("44a9"),i=e.n(r);i.a},"36b1":function(t,n,e){"use strict";e.r(n);var r=e("9dcc"),i=e.n(r);for(var a in r)"default"!==a&&function(t){e.d(n,t,(function(){return r[t]}))}(a);n["default"]=i.a},"44a9":function(t,n,e){},"6c41":function(t,n,e){"use strict";(function(t){e("4c9b");r(e("66fd"));var n=r(e("dd5d"));function r(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"9dcc":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(e("a34a")),i=e("0b44");function a(t){return t&&t.__esModule?t:{default:t}}function u(t,n,e,r,i,a,u){try{var c=t[a](u),o=c.value}catch(d){return void e(d)}c.done?n(o):Promise.resolve(o).then(r,i)}function c(t){return function(){var n=this,e=arguments;return new Promise((function(r,i){var a=t.apply(n,e);function c(t){u(a,r,i,c,o,"next",t)}function o(t){u(a,r,i,c,o,"throw",t)}c(void 0)}))}}var o={data:function(){return{id:0,story:{}}},onLoad:function(t){this.id=t.id,this.getArticListDetail(this.id)},methods:{getArticListDetail:function(t){var n=this;return c(r.default.mark((function e(){var a,u;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a={id:t},e.next=3,(0,i.getArticListDetail)(a,!0);case 3:u=e.sent,n.story=u.data.data.story,new RegExp("<img","gi"),n.story.content=n.story.content.replace(/\<img/gi,'<img style="max-width:100%;height:auto" ');case 7:case"end":return e.stop()}}),e)})))()}}};n.default=o},dd5d:function(t,n,e){"use strict";e.r(n);var r=e("ddaa"),i=e("36b1");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("0228");var u,c=e("f0c5"),o=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],u);n["default"]=o.exports},ddaa:function(t,n,e){"use strict";var r;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return r}));var i=function(){var t=this,n=t.$createElement;t._self._c},a=[]}},[["6c41","common/runtime","common/vendor"]]]);