(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-artDetail"],{"45d0":function(t,e,a){"use strict";a.r(e);var n=a("6c27"),i=a("86b7");for(var d in i)["default"].indexOf(d)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(d);a("adfb");var r=a("f0c5"),u=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"eed91bc8",null,!1,n["a"],void 0);e["default"]=u.exports},5635:function(t,e,a){"use strict";a("7a82");var n=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addressDel=function(t){return(0,i.default)({url:"/api/address/del",method:"post",data:t})},e.addressEdit=function(t){return(0,i.default)({url:"/api/address/edit",method:"post",data:t})},e.cartDel=function(t){return(0,i.default)({url:"/api/cart/del",method:"post",data:t})},e.delcollect=function(t){return(0,i.default)({url:"/api/collect/del",method:"post",data:t})},e.details=function(t,e){return(0,i.default)({url:"/api/article/details/"+e,method:"get",data:t})},e.getAddressList=function(t){return(0,i.default)({url:"/api/address/list",method:"get",data:t})},e.getCartList=function(t){return(0,i.default)({url:"/api/cart/list",method:"get",data:t})},e.getCartNum=function(t){return(0,i.default)({url:"/api/cart/num",method:"post",data:t})},e.getUserInfo=function(t){return(0,i.default)({url:"/api/userinfo",method:"get",data:t})},e.getcollectList=function(t){return(0,i.default)({url:"/api/collect/user",method:"get",data:t})},e.myteam=function(t){return(0,i.default)({url:"/api/user/team",method:"get",data:t})},e.orderData=function(t){return(0,i.default)({url:"/api/order/data",method:"get",data:t})},e.setAddressDefault=function(t){return(0,i.default)({url:"/api/address/default/set",method:"post",data:t})},e.spread=function(t){return(0,i.default)({url:"/api/spread/people",method:"POST",data:t})},e.spreadBanner=function(t){return(0,i.default)({url:"/api/spread/banner",method:"get",data:t})},e.sqdl=function(t){return(0,i.default)({url:"/api/user/apply",method:"POST",data:t})},e.version=function(t){return(0,i.default)({url:"/api/version",method:"get",data:t})};var i=n(a("dafe"))},"6c27":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"center"},t._l(t.item.content,(function(e,n){return a("v-uni-view",{key:n,staticClass:"main"},["rich-text"==e.type?a("v-uni-view",{staticClass:"main",domProps:{innerHTML:t._s(e.value)}}):t._e(),"video"==e.type&&e.value?a("v-uni-video",{staticStyle:{width:"100%",height:"300px"},attrs:{src:e.value,frameborder:"0"}}):t._e()],1)})),1)},i=[]},"86b7":function(t,e,a){"use strict";a.r(e);var n=a("b7bf"),i=a.n(n);for(var d in n)["default"].indexOf(d)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(d);e["default"]=i.a},adfb:function(t,e,a){"use strict";var n=a("ea29"),i=a.n(n);i.a},b7bf:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("ac1f"),a("5319"),a("466d"),a("d3b7"),a("159b"),a("14d9");var n=a("5635"),i={data:function(){return{id:"",item:""}},onLoad:function(t){this.id=t.id,this.loadData()},methods:{loadData:function(){var t=this;(0,n.details)({},this.id).then((function(e){var a=e.data;console.log(a),a.content=a.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;"'),a.content=t.getVideo(a.content),t.item=a}))},getVideo:function(t){var e=[],a=/src=[\'\"]?([^\'\"]*)[\'\"]?/i,n=t.match(/<video.*?(?:>|\/>)/gi)||[],i=t.split("</video>");n.forEach((function(t,n){var i=t.match(a);e.push(i[1])}));var d=[];return i.forEach((function(t,a){""!=t&&void 0!=t&&d.push({type:"rich-text",value:t+"</video>"});var n=i.length;a<n&&void 0!=e[a]&&d.push({type:"video",value:e[a]})})),d}}};e.default=i},cbec:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-eed91bc8]{background-color:#fff;min-height:100%;height:auto}body.?%PAGE?%[data-v-eed91bc8]{background-color:#fff}.center[data-v-eed91bc8]{min-height:100%;height:auto;background:#fff;padding:%?10?% %?24?% 0}.title[data-v-eed91bc8]{font-size:%?32?%;font-family:PingFang SC;font-weight:700;color:#333}.time[data-v-eed91bc8]{font-size:%?24?%;font-family:PingFangSC;font-weight:500;color:#999;margin-top:%?40?%}[data-v-eed91bc8] .main .rich-img{width:100%!important;height:auto}[data-v-eed91bc8] .main *{max-width:100%!important}',""]),t.exports=e},ea29:function(t,e,a){var n=a("cbec");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("5025315e",n,!0,{sourceMap:!1,shadowMode:!1})}}]);