(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-artDetail"],{"3a6f":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),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)},r=[]},"5c65":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},"5e2b":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("6dc5"),r={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)||[],r=t.split("</video>");n.forEach((function(t,n){var r=t.match(a);e.push(r[1])}));var d=[];return r.forEach((function(t,a){""!=t&&void 0!=t&&d.push({type:"rich-text",value:t+"</video>"});var n=r.length;a<n&&void 0!=e[a]&&d.push({type:"video",value:e[a]})})),d}}};e.default=r},"68e0":function(t,e,a){"use strict";a.r(e);var n=a("3a6f"),r=a("c28e");for(var d in r)["default"].indexOf(d)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(d);a("ed42");var i=a("f0c5"),u=Object(i["a"])(r["default"],n["b"],n["c"],!1,null,"eed91bc8",null,!1,n["a"],void 0);e["default"]=u.exports},"6dc5":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,r.default)({url:"/api/address/del",method:"post",data:t})},e.addressEdit=function(t){return(0,r.default)({url:"/api/address/edit",method:"post",data:t})},e.article=function(t,e){return(0,r.default)({url:"/api/article/list/"+e,method:"GET",data:t})},e.cartDel=function(t){return(0,r.default)({url:"/api/cart/del",method:"post",data:t})},e.delcollect=function(t){return(0,r.default)({url:"/api/collect/del",method:"post",data:t})},e.details=function(t,e){return(0,r.default)({url:"/api/article/details/"+e,method:"get",data:t})},e.getAddressList=function(t){return(0,r.default)({url:"/api/address/list",method:"get",data:t})},e.getCartList=function(t){return(0,r.default)({url:"/api/cart/list",method:"get",data:t})},e.getCartNum=function(t){return(0,r.default)({url:"/api/cart/num",method:"post",data:t})},e.getUserInfo=function(t){return(0,r.default)({url:"/api/user",method:"get",data:t})},e.getcollectList=function(t){return(0,r.default)({url:"/api/collect/user",method:"get",data:t})},e.myteam=function(t){return(0,r.default)({url:"/api/user/team",method:"get",data:t})},e.orderData=function(t){return(0,r.default)({url:"/api/order/data",method:"get",data:t})},e.setAddressDefault=function(t){return(0,r.default)({url:"/api/address/default/set",method:"post",data:t})},e.spread=function(t){return(0,r.default)({url:"/api/spread/people",method:"POST",data:t})},e.spreadBanner=function(t){return(0,r.default)({url:"/api/spread/banner",method:"get",data:t})},e.sqdl=function(t){return(0,r.default)({url:"/api/user/apply",method:"POST",data:t})},e.transfer_accounts=function(t){return(0,r.default)({url:"/api/user/trade",method:"post",data:t})};var r=n(a("6ca8"))},c28e:function(t,e,a){"use strict";a.r(e);var n=a("5e2b"),r=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"]=r.a},ed42:function(t,e,a){"use strict";var n=a("fd8e"),r=a.n(n);r.a},fd8e:function(t,e,a){var n=a("5c65");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("4f06").default;r("6e38e23a",n,!0,{sourceMap:!1,shadowMode:!1})}}]);