(window.webpackJsonp=window.webpackJsonp||[]).push([[1,5,12,15],{434:function(t,e,r){"use strict";var n=r(15),o=r(2),c=r(3),l=r(137),d=r(27),f=r(17),m=r(273),v=r(53),h=r(136),y=r(272),_=r(4),x=r(93).f,w=r(45).f,S=r(23).f,C=r(435),N=r(436).trim,k="Number",E=o.Number,I=E.prototype,A=o.TypeError,z=c("".slice),T=c("".charCodeAt),M=function(t){var e=y(t,"number");return"bigint"==typeof e?e:O(e)},O=function(t){var e,r,n,o,c,l,d,code,f=y(t,"number");if(h(f))throw A("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=N(f),43===(e=T(f,0))||45===e){if(88===(r=T(f,2))||120===r)return NaN}else if(48===e){switch(T(f,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+f}for(l=(c=z(f,2)).length,d=0;do)return NaN;return parseInt(c,n)}return+f};if(l(k,!E(" 0o1")||!E("0b1")||E("+0x1"))){for(var j,F=function(t){var e=arguments.length<1?0:E(M(t)),r=this;return v(I,r)&&_((function(){C(r)}))?m(Object(e),r,F):e},P=n?x(E):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),$=0;P.length>$;$++)f(E,j=P[$])&&!f(F,j)&&S(F,j,w(E,j));F.prototype=I,I.constructor=F,d(o,k,F)}},435:function(t,e,r){var n=r(3);t.exports=n(1..valueOf)},436:function(t,e,r){var n=r(3),o=r(31),c=r(16),l=r(437),d=n("".replace),f="["+l+"]",m=RegExp("^"+f+f+"*"),v=RegExp(f+f+"*$"),h=function(t){return function(e){var r=c(o(e));return 1&t&&(r=d(r,m,"")),2&t&&(r=d(r,v,"")),r}};t.exports={start:h(1),end:h(2),trim:h(3)}},437:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},438:function(t,e,r){var content=r(441);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(19).default)("03051d40",content,!0,{sourceMap:!1})},439:function(t,e,r){"use strict";r.r(e);r(434),r(39),r(274);var n={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:500},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=parseFloat(t),t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},o=(r(440),r(11)),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?r("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),r("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?r("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},440:function(t,e,r){"use strict";r(438)},441:function(t,e,r){var n=r(18)(!1);n.push([t.i,".price-format{display:flex;align-items:baseline}",""]),t.exports=n},446:function(t,e,r){"use strict";r.d(e,"d",(function(){return o})),r.d(e,"c",(function(){return c})),r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return d}));var n=r(34);r(39),r(274),r(97),r(60),r(10),r(40),r(61),r(46),r(20),r(62),r(63),r(47);var o=function(t){var time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,e=arguments.length>2?arguments[2]:void 0,r=new Date(0).getTime();return function(){var n=(new Date).getTime();if(n-r>time){for(var o=arguments.length,c=new Array(o),l=0;l"+f+""}},464:function(t,e,r){var n=r(4);t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},465:function(t,e,r){"use strict";r(451)},466:function(t,e,r){var n=r(18)(!1);n.push([t.i,".ad-item[data-v-562e7d63]{width:100%;height:100%;cursor:pointer}",""]),t.exports=n},467:function(t,e,r){"use strict";r.r(e);r(434);var n={props:{list:{type:Array,default:function(){return[]}},num:{type:Number,default:5},type:{type:String},status:{type:Number}},watch:{list:{immediate:!0,handler:function(t){}}},computed:{getSeckillText:function(){switch(this.status){case 0:return"未开始";case 1:return"立即抢购";case 2:return"已结束"}}}},o=(r(458),r(11)),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"goods-list row wrap"},t._l(t.list,(function(e,n){return r("nuxt-link",{key:n,staticClass:"goods-item bg-white",style:{marginRight:(n+1)%t.num==0?0:"14px"},attrs:{to:"/goods_details/"+e.id}},[r("el-image",{staticClass:"goods-img",attrs:{lazy:"",src:e.image,alt:""}}),t._v(" "),r("div",{staticClass:"name line2"},[t._v(t._s(e.name))]),t._v(" "),"seckill"==t.type?r("div",{staticClass:"seckill row-between"},[r("div",{staticClass:"primary row"},[t._v("\n 秒杀价"),r("price-formate",{attrs:{price:e.seckill_price,"first-size":18}})],1),t._v(" "),r("div",{class:["btn bg-primary white",{"not-start":0==t.status,end:2==t.status}]},[t._v(t._s(t.getSeckillText))])]):r("div",{staticClass:"row-between wrap"},[r("div",{staticClass:"price row"},[r("div",{staticClass:"primary mr8"},[r("price-formate",{attrs:{price:e.price,"first-size":16}})],1),t._v(" "),r("div",{staticClass:"muted sm line-through"},[r("price-formate",{attrs:{price:e.market_price}})],1)]),t._v(" "),r("div",{staticClass:"muted xs"},[t._v(t._s(e.sales_sum)+"人购买")])])],1)})),1)}),[],!1,null,"483dfcdd",null);e.default=component.exports;installComponents(component,{PriceFormate:r(439).default})},468:function(t,e,r){"use strict";r.r(e);r(462),r(79);var n=r(446),o={components:{},props:{item:{type:Object,default:function(){return{}}}},methods:{goPage:function(t){var e=t.link_type,link=t.link,r=t.params;if(3===e)window.open(t.link);else["/goods_details"].includes(link)?link+="/".concat(r.id):link+=Object(n.c)(r),this.$router.push({path:link})}}},c=(r(465),r(11)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"ad-item",on:{click:function(e){return e.stopPropagation(),t.goPage(t.item)}}},[r("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.item.image}})],1)}),[],!1,null,"562e7d63",null);e.default=component.exports},540:function(t,e,r){var content=r(627);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(19).default)("3d0c7cbf",content,!0,{sourceMap:!1})},547:function(t,e,r){"use strict";r.r(e);var n={components:{},props:{url:{type:String,default:""},title:{type:String},desc:{type:String},banner:{type:Object,default:function(){return{}}},list:{type:Array,default:function(){return[]}}},created:function(){}},o=(r(626),r(11)),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.list.length?r("div",{staticClass:"activity-area"},[r("div",{staticClass:"activity-header row"},[r("div",{staticClass:"content row flex1"},[r("div",{staticClass:"title bold mr8"},[t._v(t._s(t.title))]),t._v(" "),r("div",{staticClass:"lg muted"},[t._v(t._s(t.desc))])]),t._v(" "),r("nuxt-link",{staticClass:"more",attrs:{to:t.url}},[t._v("更多 "),r("i",{staticClass:"el-icon-arrow-right"})])],1),t._v(" "),t.banner.image?r("div",[r("ad-item",{attrs:{item:t.banner}})],1):t._e(),t._v(" "),r("div",{staticClass:"activity-goods mt16"},[r("goods-list",{attrs:{list:t.list}})],1)]):t._e()}),[],!1,null,"5cccde52",null);e.default=component.exports;installComponents(component,{AdItem:r(468).default,GoodsList:r(467).default})},626:function(t,e,r){"use strict";r(540)},627:function(t,e,r){var n=r(18)(!1);n.push([t.i,".activity-area[data-v-5cccde52]{margin-bottom:16px}.activity-area .activity-header[data-v-5cccde52]{height:80px}.activity-area .activity-header .title[data-v-5cccde52]{font-size:28px}",""]),t.exports=n}}]);