import{_ as e,u as s,i as c,c as n}from"./index-4c745ab9.js";import{o as l,a as r,g as o,h as t,e as i,t as a,u,n as d}from"./vendor-edc0678f.js";const f={class:"currencyItem"},m={class:"left"},v={class:"topText ff-num"},I={class:"textTop fw-num"},p={class:"right"},g={class:"rightLeft"},y={class:"fw-num"},h={class:"rightBox"},P=e({__name:"currencyItem",props:{currencyItem:{type:Object,default:{}},showLeftImg:{type:Boolean,default:!0}},setup(e){const P=s();return(s,w)=>{var C,_,x,b;const j=n;return l(),r("div",f,[o("div",m,[e.showLeftImg?(l(),t(j,{key:0,filePath:e.currencyItem.logo,class:"leftImg"},null,8,["filePath"])):i("",!0),o("div",null,[o("div",v,[o("div",I,a(e.currencyItem.showSymbol),1)])])]),o("div",p,[o("div",g,[o("div",y,a(u(c)(null==(C=u(P).allCoinPriceInfo[e.currencyItem.coin])?void 0:C.close)),1)]),o("div",h,[o("div",{class:d([s._isRFD(null==(_=u(P).allCoinPriceInfo[e.currencyItem.coin])?void 0:_.openPrice,null==(x=u(P).allCoinPriceInfo[e.currencyItem.coin])?void 0:x.close),"rfd-sign rfd-bg rightRight fw-num"])},[o("span",null,a(null==(b=u(P).allCoinPriceInfo[e.currencyItem.coin])?void 0:b.priceChangePercent)+"%",1)],2)])])])}}},[["__scopeId","data-v-66027b66"]]);export{P as C};
