(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/artDetail"],{"3e56":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("c6b6"),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').replace(/<div/g,'<div style="max-width: 50% !important;"'),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},"6a9c":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=[]},8507:function(t,e,n){},"868b":function(t,e,n){"use strict";n.r(e);var a=n("6a9c"),i=n("e223");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("c276");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},aa66:function(t,e,n){"use strict";(function(t){n("b755");a(n("66fd"));var e=a(n("868b"));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"])},c276:function(t,e,n){"use strict";var a=n("8507"),i=n.n(a);i.a},e223:function(t,e,n){"use strict";n.r(e);var a=n("3e56"),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}},[["aa66","common/runtime","common/vendor"]]]);