-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path8003215.modern.js
More file actions
1 lines (1 loc) · 2.27 KB
/
Copy path8003215.modern.js
File metadata and controls
1 lines (1 loc) · 2.27 KB
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[72],{270:function(t,o,e){var content=e(479);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(11).default)("69cf31de",content,!0,{sourceMap:!1})},478:function(t,o,e){"use strict";e(270)},479:function(t,o,e){var n=e(10)(function(i){return i[1]});n.push([t.i,".product_discount_seal.seal_list{display:flex;flex-direction:column;gap:6px;left:6px;padding-right:50px;position:absolute;top:6px;z-index:10}.product_discount_seal{left:6px;padding:0;right:auto}.product_discount_seal .discount_seal{align-items:center;aspect-ratio:1;border-radius:50%;display:flex;gap:6px;height:48px;justify-content:center;padding:4px;width:48px}.product_discount_seal .discount_seal.product_card{height:32px;width:32px}.product_discount_seal .discount_seal span{font-size:var(--font_size_small);line-height:var(--font_size_base)}.product_discount_seal .discount_seal.product_card span{font-size:var(--font_size_extra_small);font-weight:var(--font_weight_bold)}.product_discount_seal .discount_seal:not(.product_card) span{font-weight:var(--font_weight_medium)}@media (max-width:1240px){.product_discount_seal .discount_seal{height:40px;width:40px}}@media (max-width:340px){.product_discount_seal.seal_list{gap:4px}.product_discount_seal .discount_seal{height:32px;width:32px}.product_discount_seal .discount_seal span{font-size:var(--font_size_extra_small);line-height:var(--font_size_small)}}",""]),n.locals={},t.exports=n},788:function(t,o,e){"use strict";e.r(o);var n={props:{prod:Object,isProductCard:Boolean},computed:{discountSeal(){const t=[];return this.prod.selos.forEach(o=>{"desconto"===o.nome&&t.push(o)}),t}}},c=(e(478),e(12)),component=Object(c.a)(n,function(){var t=this,o=t._self._c;return o("div",{staticClass:"product_discount_seal seal_list"},[t._l(t.discountSeal,function(e,i){return["texto"===e.tipo?o("div",{key:i,staticClass:"discount_seal",class:{product_card:t.isProductCard},style:{background:e.cores.selo,color:e.cores.texto}},[t.isProductCard?o("span",{style:{color:e.cores.texto}},[t._v("-"+t._s(e.label.trim())+"%")]):o("span",{style:{color:e.cores.texto}},[t._v(t._s(e.label.trim())+"% OFF")])]):t._e()]})],2)},[],!1,null,null,null);o.default=component.exports}}]);