import{_ as s,u as a,c as e,h as l,ab as n,b as i}from"./index-4c745ab9.js";import{u as t,o,a as c,F as r,i as d,g as u,f as v,t as f,n as m,h as p,j as h,C,B as _}from"./vendor-edc0678f.js";const g={key:0,class:"list"},I={class:"left"},b={class:"itemTitle"},P={class:"itemTitleTop fw-bold"},y={class:"center fw-num"},k={class:"right"},w=s({__name:"currencyData",setup(s){const n=a();return(s,a)=>{const i=e,h=l;return t(n).secondContractCoinList.length?(o(),c("div",g,[(o(!0),c(r,null,d(t(n).secondContractCoinList,(a,e)=>{var l;return o(),c("div",{class:"listItem",key:e},[u("div",I,[v(i,{filePath:a.logo,class:"leftImg"},null,8,["filePath"]),u("div",b,[u("div",P,f(a.showSymbol),1)])]),u("div",y,[u("div",null,f(t(n).allCoinPriceInfo[a.coin].close),1)]),u("div",k,[u("div",{class:m([s._isRFD(t(n).allCoinPriceInfo[a.coin].openPrice,t(n).allCoinPriceInfo[a.coin].close),"rfd-bg rfd-sign rightNum fw-num"])},f(null==(l=t(n).allCoinPriceInfo[a.coin])?void 0:l.priceChangePercent)+"% ",3)])])}),128))])):(o(),p(h,{key:1}))}}},[["__scopeId","data-v-b3c02c91"]]),x={class:"search"},j={class:"right"},L=s({__name:"index",setup(s){const a=n(""),e=()=>{a.value};return(s,l)=>{const n=i;return o(),c(r,null,[u("div",x,[v(n,{name:"sousuo-h",class:"searchLeft"}),u("div",j,[h(u("input",{type:"text","onUpdate:modelValue":l[0]||(l[0]=s=>_(a)?a.value=s:null),placeholder:"搜索币种",class:"searchInput",onInput:e},null,544),[[C,t(a),void 0,{trim:!0}]]),u("div",{onClick:l[1]||(l[1]=a=>s._back())},"取消")])]),v(w)],64)}}},[["__scopeId","data-v-1ba4572b"]]);export{L as default};
