(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/artDetail"],{2512:function(t,e,n){"use strict";var i=n("c9a0"),a=n.n(i);a.a},"45d0":function(t,e,n){"use strict";n.r(e);var i=n("6fc5"),a=n("86b7");for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("2512");var o=n("f0c5"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=r.exports},"4c45":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("3e39");i(n("66fd"));var a=i(n("45d0"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"6fc5":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]},"86b7":function(t,e,n){"use strict";n.r(e);var i=n("cbd0"),a=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a},c9a0:function(t,e,n){},cbd0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("5635"),a={data:function(){return{id:"",item:""}},onLoad:function(t){this.id=t.id,this.loadData()},methods:{loadData:function(){var t=this;(0,i.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=/src=[\'\"]?([^\'\"]*)[\'\"]?/i,i=t.match(/<video.*?(?:>|\/>)/gi)||[],a=t.split("</video>");i.forEach((function(t,i){var a=t.match(n);e.push(a[1])}));var c=[];return a.forEach((function(t,n){""!=t&&void 0!=t&&c.push({type:"rich-text",value:t+"</video>"});var i=a.length;n<i&&void 0!=e[n]&&c.push({type:"video",value:e[n]})})),c}}};e.default=a}},[["4c45","common/runtime","common/vendor"]]]);