import{d as _,s as p,p as g,c as v,e as a,f as i,g as o,t as f,F as b,j as h,h as c,i as m,u as d,dC as x,n as k,l as C,R as y,S as D,_ as S}from"./index.0308b213.js";const n=e=>(y("data-v-b6b055d7"),e=e(),D(),e),w={class:"seckill-container"},F={class:"seckill-header"},$={class:"title"},A=C('<div class="countdown" data-v-b6b055d7><span data-v-b6b055d7>\u8DDD\u7ED3\u675F</span><div class="time-box" data-v-b6b055d7>00</div><span data-v-b6b055d7>:</span><div class="time-box" data-v-b6b055d7>00</div><span data-v-b6b055d7>:</span><div class="time-box" data-v-b6b055d7>00</div></div><div class="more" data-v-b6b055d7>\u66F4\u591A &gt;</div>',2),B={class:"seckill-goods"},I={class:"goods-img"},z={class:"goods-info"},N=n(()=>o("div",{class:"goods-name"},"\u5546\u54C1\u540D\u79F0",-1)),V=n(()=>o("div",{class:"price-info"},[o("div",{class:"current-price"},"\xA599"),o("div",{class:"original-price"},"\xA5199")],-1)),E=_({props:{config:null},setup(e){const t=e,l=p(()=>{let s={};return s.height=`${t.config.height}px`,s.width=`${t.config.width}px`,s.lineHeight=`${t.config.height}px`,s.left=`${t.config.left}px`,s.top=`${t.config.top}px`,t.config.image_type==2?(s.backgroundColor==="transparent"&&(s.backgroundColor="#f00"),s.backgroundColor=t.config.color,s.color=t.config.font_color,s.fontSize=`${t.config.font_size}px`):s.backgroundColor="transparent",s});return g(()=>t.config,s=>{console.log("config.value",s)},{immediate:!0}),(s,j)=>{const r=v("el-icon");return a(),i("div",w,[o("div",F,[o("div",$,f(e.config.title||"\u9650\u65F6\u79D2\u6740"),1),A]),o("div",B,[(a(),i(b,null,h(3,u=>o("div",{class:"goods-item",key:u},[o("div",I,[c(r,null,{default:m(()=>[c(d(x))]),_:1})]),o("div",z,[N,V,o("div",{class:"seckill-btn",style:k(d(l))}," \u7ACB\u5373\u62A2\u8D2D ",4)])])),64))])])}}});const L=S(E,[["__scopeId","data-v-b6b055d7"]]);export{L as default};
