(window.webpackJsonp=window.webpackJsonp||[]).push([[1,5,12,15],{404:function(t,e,r){"use strict";var n=r(11),o=r(5),c=r(116),l=r(23),d=r(15),f=r(52),v=r(251),m=r(81),h=r(7),_=r(83),x=r(82).f,y=r(42).f,w=r(22).f,S=r(405).trim,C="Number",N=o.Number,k=N.prototype,I=f(_(k))==C,E=function(t){var e,r,n,o,c,l,d,code,f=m(t,!1);if("string"==typeof f&&f.length>2)if(43===(e=(f=S(f)).charCodeAt(0))||45===e){if(88===(r=f.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(f.charCodeAt(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=f.slice(2)).length,d=0;do)return NaN;return parseInt(c,n)}return+f};if(c(C,!N(" 0o1")||!N("0b1")||N("+0x1"))){for(var A,z=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof z&&(I?h((function(){k.valueOf.call(r)})):f(r)!=C)?v(new N(E(e)),r,z):E(e)},M=n?x(N):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;M.length>T;T++)d(N,A=M[T])&&!d(z,A)&&w(z,A,y(N,A));z.prototype=k,k.constructor=z,l(o,C,z)}},405:function(t,e,r){var n=r(27),o="["+r(406)+"]",c=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),d=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(c,"")),2&t&&(r=r.replace(l,"")),r}};t.exports={start:d(1),end:d(2),trim:d(3)}},406:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},407:function(t,e,r){var content=r(409);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(14).default)("03051d40",content,!0,{sourceMap:!1})},408:function(t,e,r){"use strict";r(407)},409:function(t,e,r){var n=r(13)(!1);n.push([t.i,".price-format{display:flex;align-items:baseline}",""]),t.exports=n},410:function(t,e,r){"use strict";r.r(e);r(404),r(68),r(252);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(408),r(8)),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},418:function(t,e,r){var content=r(426);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(14).default)("f37a30f2",content,!0,{sourceMap:!1})},419:function(t,e,r){var content=r(432);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(14).default)("a57d76be",content,!0,{sourceMap:!1})},420:function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return c}));var n=r(33);r(68),r(252),r(87),r(53),r(18),r(35),r(54),r(36),r(16),r(55),r(56),r(43);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"+l+""}},430:function(t,e,r){var n=r(7);t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},431:function(t,e,r){"use strict";r(419)},432:function(t,e,r){var n=r(13)(!1);n.push([t.i,".ad-item[data-v-562e7d63]{width:100%;height:100%;cursor:pointer}",""]),t.exports=n},433:function(t,e,r){"use strict";r.r(e);r(404);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(425),r(8)),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(410).default})},434:function(t,e,r){"use strict";r.r(e);r(428),r(70);var n=r(420),o={components:{},props:{item:{type:Object,default:function(){return{}}}},methods:{goPage:function(t){var e=t.link_type,link=t.link,r=t.params;switch(e){case 3:window.open(t.link);break;default:["/goods_details"].includes(link)?link+="/".concat(r.id):link+=Object(n.a)(r),this.$router.push({path:link})}}}},c=(r(431),r(8)),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},506:function(t,e,r){var content=r(593);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(14).default)("3d0c7cbf",content,!0,{sourceMap:!1})},513: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(592),r(8)),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(434).default,GoodsList:r(433).default})},592:function(t,e,r){"use strict";r(506)},593:function(t,e,r){var n=r(13)(!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}}]);