(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-messageInfo"],{"2a7e":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"center"},[a("v-uni-view",{staticClass:"title clamp"},[t._v(t._s(t.item.title))]),a("v-uni-view",{staticClass:"tip flex"},[a("v-uni-view",{staticClass:"tip-left"},[t._v("作者："+t._s(t.item.author))]),a("v-uni-view",{staticClass:"tip-right"},[t._v(t._s(t.item.add_time))])],1),t._l(t.item.content,(function(e,i){return a("v-uni-view",{key:i,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)}))],2)},r=[]},"313f":function(t,e,a){var i=a("4ac3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("1e4655b2",i,!0,{sourceMap:!1,shadowMode:!1})},"3d55":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.spread=r,e.myspread=u,e.orderData=d,e.getUserInfo=o,e.userinfo=s,e.spreadBanner=c,e.getAddressList=l,e.addressEdit=f,e.addressDel=p,e.setAddressDefault=v,e.getCartList=h,e.getCartNum=m,e.cartDel=g,e.getcollectList=w,e.delcollect=b,e.article=_,e.details=y;var n=i(a("0b33"));function r(t){return(0,n.default)({url:"/api/user/spread",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/spread/people",method:"POST",data:t})}function d(t){return(0,n.default)({url:"/api/order/data",method:"get",data:t})}function o(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/spread/banner",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/address/list",method:"get",data:t})}function f(t){return(0,n.default)({url:"/api/address/edit",method:"post",data:t})}function p(t){return(0,n.default)({url:"/api/address/del",method:"post",data:t})}function v(t){return(0,n.default)({url:"/api/address/default/set",method:"post",data:t})}function h(t){return(0,n.default)({url:"/api/cart/list",method:"get",data:t})}function m(t){return(0,n.default)({url:"/api/cart/num",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/cart/del",method:"post",data:t})}function w(t){return(0,n.default)({url:"/api/collect/user",method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function _(t,e){return(0,n.default)({url:"/api/article/list/"+e,method:"GET",data:t})}function y(t,e){return(0,n.default)({url:"/api/article/details/"+e,method:"GET",data:t})}},"4ac3":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".center[data-v-4005c8c6]{width:100%;height:100%}.title[data-v-4005c8c6]{padding:%?30?% %?30?% 0 %?24?%;font-size:%?32?%;font-family:PingFang SC;font-weight:700;color:#333}.tip[data-v-4005c8c6]{padding:%?38?% %?32?% %?28?% %?24?%;font-size:%?24?%;font-family:PingFang SC;font-weight:500;color:#666;border-bottom:1px solid #e9e9e9}[data-v-4005c8c6] .main .rich-img{width:100%!important;height:auto}",""]),t.exports=e},"6ec2":function(t,e,a){"use strict";a.r(e);var i=a("a897"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"76b1":function(t,e,a){"use strict";var i=a("313f"),n=a.n(i);n.a},a897:function(t,e,a){"use strict";a("4160"),a("ac1f"),a("466d"),a("5319"),a("1276"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("3d55"),n={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 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'),a.content=t.getVideo(a.content),t.item=a}))},getVideo:function(t){var e=[],a=/<video.*?(?:>|\/>)/gi,i=/src=[\'\"]?([^\'\"]*)[\'\"]?/i,n=t.match(a)||[],r=t.split("</video>");n.forEach((function(t,a){var n=t.match(i);e.push(n[1])}));var u=[];return r.forEach((function(t,a){""!=t&&void 0!=t&&u.push({type:"rich-text",value:t+"</video>"});var i=r.length;a<i&&void 0!=e[a]&&u.push({type:"video",value:e[a]})})),u}}};e.default=n},c30f:function(t,e,a){"use strict";a.r(e);var i=a("2a7e"),n=a("6ec2");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("76b1");var u,d=a("f0c5"),o=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"4005c8c6",null,!1,i["a"],u);e["default"]=o.exports}}]);