You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
979 B
1 lines
979 B
import{d as r,M as l,h as f,c as u,aC as c,u as p}from"./index-be67c1b4.js";const s=r({__name:"preview-goods-market-price",props:{value:{type:Object,default:{}}},setup(a,{expose:i}){const e=a;l(()=>e.value);const n=l(()=>{var t="";t+=`font-size: ${e.value.fontSize}px;color: ${e.value.fontColor};line-height: ${e.value.lineHeight+e.value.fontSize}px;`,(e.value.x=="left"||e.value.x=="center"||e.value.x=="right")&&(t+=`text-align: ${e.value.x};`),e.value.weight&&(t+="font-weight: bold;"),(!e.value.fontFamily||e.value.fontFamily=="static/font/price.ttf")&&(t+="font-family: poster_price_font;");let o=document.getElementById(e.value.id);return o?t+=`width:${o.offsetWidth}px;height:${o.offsetHeight}px;`:t+=`width:${e.value.width}px;height:${e.value.height}px;`,t});return i({}),(t,o)=>(f(),u("div",{class:"overflow-hidden",style:c(p(n))},"¥1999.00",4))}}),h=Object.freeze(Object.defineProperty({__proto__:null,default:s},Symbol.toStringTag,{value:"Module"}));export{h as _};
|
|
|