(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/artDetail"],{"0b13":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("cf53"),i={data:function(){return{id:"",item:""}},onLoad:function(t){this.id=t.id,this.loadData()},onShareAppMessage:function(t){var e=getCurrentPages(),n=e[e.length-1],a=n.route,i=n.options,r={title:"水箱计算",path:a+"?id="+i.id,imageUrl:"",success:function(t){t.errMsg},fail:function(){"shareAppMessage:fail cancel"==res.errMsg||res.errMsg}};return r},methods:{loadData:function(){var t=this;(0,a.details)({},this.id).then((function(e){var n=e.data;console.log(n),n.content=n.content.replace(/<img/g,'<img class="rich-img"').replace(/<p>\s*<img/g,'<p class="pHeight"><img'),n.content=t.getVideo(n.content),t.item=n}))},getVideo:function(t){var e=[],n=/<video.*?(?:>|\/>)/gi,a=/src=[\'\"]?([^\'\"]*)[\'\"]?/i,i=t.match(n)||[],r=t.split("</video>");i.forEach((function(t,n){var i=t.match(a);e.push(i[1])}));var c=[];return r.forEach((function(t,n){""!=t&&void 0!=t&&c.push({type:"rich-text",value:t+"</video>"});var a=r.length;n<a&&void 0!=e[n]&&c.push({type:"video",value:e[n]})})),c}}};e.default=i},"1b4a":function(t,e,n){"use strict";n.r(e);var a=n("0b13"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"3cb5":function(t,e,n){"use strict";n.r(e);var a=n("4539"),i=n("1b4a");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("cdd7");var c,o=n("f0c5"),u=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],c);e["default"]=u.exports},4539:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},r=[]},a794:function(t,e,n){},cdd7:function(t,e,n){"use strict";var a=n("a794"),i=n.n(a);i.a},fd5a:function(t,e,n){"use strict";(function(t){n("7154");a(n("66fd"));var e=a(n("3cb5"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])}},[["fd5a","common/runtime","common/vendor"]]]);