| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[24],{534:function(t,e,r){"use strict";var n=r(3),o=r(35),c=r(14),l=r(9),path=r(317),f=r(6),v=r(113),m=r(15),d=r(204),_=r(63),h=r(112),I=r(316),N=r(5),O=r(92).f,y=r(57).f,w=r(26).f,k=r(318),j=r(315).trim,E="Number",T=l[E],C=path[E],S=T.prototype,L=l.TypeError,x=f("".slice),P=f("".charCodeAt),A=function(t){var e=I(t,"number");return"bigint"==typeof e?e:$(e)},$=function(t){var e,r,n,o,c,l,f,code,v=I(t,"number");if(h(v))throw L("Cannot convert a Symbol value to a number");if("string"==typeof v&&v.length>2)if(v=j(v),43===(e=P(v,0))||45===e){if(88===(r=P(v,2))||120===r)return NaN}else if(48===e){switch(P(v,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+v}for(l=(c=x(v,2)).length,f=0;f<l;f++)if((code=P(c,f))<48||code>o)return NaN;return parseInt(c,n)}return+v},F=v(E,!T(" 0o1")||!T("0b1")||T("+0x1")),G=function(t){return _(S,t)&&N((function(){k(t)}))},D=function(t){var e=arguments.length<1?0:T(A(t));return G(this)?d(Object(e),this,D):e};D.prototype=S,F&&!o&&(S.constructor=D),n({global:!0,constructor:!0,wrap:!0,forced:F},{Number:D});var M=function(t,source){for(var e,r=c?O(source):"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(","),n=0;r.length>n;n++)m(source,e=r[n])&&!m(t,e)&&w(t,e,y(source,e))};o&&C&&M(path[E],C),(F||o)&&M(path[E],T)},542:function(t,e,r){var n=r(3),o=r(549);n({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},549:function(t,e,r){var n=r(9),o=r(5),c=r(6),l=r(18),f=r(315).trim,v=r(209),m=n.parseInt,d=n.Symbol,_=d&&d.iterator,h=/^[+-]?0x/i,I=c(h.exec),N=8!==m(v+"08")||22!==m(v+"0x16")||_&&!o((function(){m(Object(_))}));t.exports=N?function(t,e){var r=f(l(t));return m(r,e>>>0||(I(h,r)?16:10))}:m},562:function(t,e,r){},572:function(t,e,r){"use strict";r(562)},651:function(t,e,r){"use strict";r.r(e);r(320),r(542),r(534),r(25),r(24),r(23),r(8),r(29),r(17),r(30);var n,o=r(4),c=(r(65),r(12));function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var f=(n={name:"floor-style-4",props:{data:{type:Object}},data:function(){return{}},created:function(){},mounted:function(){},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(c.b)(["defaultGoodsImage"]))},Object(o.a)(n,"computed",{goodsList:function(){var t=[];try{t=this.data.value.goodsList.value.list}catch(e){t=[]}return t},itemNum:function(){var t=[0,this.goodsList.length],e=t[0],r=t[1];return e=parseInt(r/3),parseInt(r%3)>0&&(e+=1),e}}),Object(o.a)(n,"methods",{goSku:function(t){this.$util.pushToTab("/sku/"+t)},imageError:function(t){this.data.value.goodsList.value.list[t].goods_image=this.defaultGoodsImage},itemList:function(t){if(t-=1,!this.goodsList.length)return[];var e=3*t,r=3*t+3;return this.goodsList.slice(e,r)}}),n),v=f,m=(r(572),r(7)),component=Object(m.a)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"floor-style-4"},[t.data.value.title.value.text?e("div",{staticClass:"head-wrap"},[e("h2",{style:{color:t.data.value.title.value.color},on:{click:function(e){return t.$util.pushToTab(t.data.value.title.value.link.url)}}},[t._v(t._s(t.data.value.title.value.text))])]):t._e(),t._v(" "),e("div",{staticClass:"body-wrap"},[t.data.value.leftImg.value.url?e("div",{staticClass:"left-wrap"},[e("img",{attrs:{src:t.$img(t.data.value.leftImg.value.url)},on:{click:function(e){return t.$util.pushToTab(t.data.value.leftImg.value.link.url)}}})]):t._e(),t._v(" "),e("el-carousel",{attrs:{trigger:"click",height:"324px","indicator-position":"none",arrow:"never"}},t._l(t.itemNum,(function(r){return e("el-carousel-item",{key:r},[e("ul",{staticClass:"goods-list"},t._l(t.itemList(r),(function(r,n){return e("li",{key:n,attrs:{title:r.goods_name},on:{click:function(e){return t.goSku(r.sku_id)}}},[e("div",{staticClass:"img-wrap"},[e("img",{attrs:{alt:"商品图片",src:t.$img(r.goods_image.split(",")[0],{size:"mid"})},on:{error:function(e){return t.imageError(n)}}})]),t._v(" "),e("div",{staticClass:"price"},[e("span",{staticClass:"num"},[t._v("¥"+t._s(r.discount_price))]),t._v(" "),e("del",{directives:[{name:"show",rawName:"v-show",value:Number.parseInt(r.market_price),expression:"Number.parseInt(item.market_price)"}]},[t._v("¥"+t._s(r.market_price))])]),t._v(" "),e("h3",{staticClass:"name"},[t._v(t._s(r.goods_name))]),t._v(" "),r.sale_num?e("div",{staticClass:"other-info"},[e("span",[t._v("已售"+t._s(r.sale_num)+"件")])]):t._e()])})),0)])})),1)],1),t._v(" "),t.data.value.bottomImg.value.url?e("div",{staticClass:"bottom-wrap"},[e("img",{attrs:{src:t.$img(t.data.value.bottomImg.value.url)},on:{click:function(e){return t.$util.pushToTab(t.data.value.bottomImg.value.link.url)}}})]):t._e()])}),[],!1,null,null,null);e.default=component.exports}}]);
|