import{l as a,c as e,q as t,o as s,a as i,f as l,w as n,g as o,e as r,F as u,K as c,n as m,i as d,h as v,t as f,u as h,T as b,a2 as _,a3 as p,m as g}from"./vendor-edc0678f.js";import{_ as k,f as C,w as y}from"./index-4c745ab9.js";import{S}from"./index-1316b29e.js";import{S as x}from"./index-33fab14d.js";import{F as I,H as w}from"./historyItem-862c3aa2.js";const D=a=>(_("data-v-60057531"),a=a(),p(),a),T={class:"barRight"},j={class:"list"},B=D(()=>o("div",{class:"tabItem"},[o("div",{class:"ff-num"},[g("地板价 "),o("span",{class:"tabItemNum fw-bold"},"+0.00%")]),o("div",{class:"tabItemBot fw-bold"},"24 USD")],-1)),U={class:"headerChoose"},F={class:"search"},H={key:0},N=D(()=>o("div",{class:"bottomItem"},[o("div",{class:"left ff-num"},"价格"),o("div",{class:"right ff-num"},"22.00USDT")],-1)),q={key:1,class:"transactionHistory"},R=k({__name:"listDetail",setup(_){const p=a([{name:C("current_position"),num:0},{name:C("exchange_curentrust",["bitmake","ebc"]),num:0},{name:C("profit_loss"),num:0},{name:C("exchange_hisentrust",["bitmake","ebc"]),num:0},{name:C("exchange_hisentrust",["bitmake","ebc"]),num:0}]),g=a(0),k=e(()=>[{name:"作品"},{name:"交易历史"}]),D=a(0),R=a=>{D.value=a};return t(()=>{setTimeout(()=>{const a=document.querySelectorAll(".van-tab");a[a.length-3].style.marginRight="0"},0)}),(a,e)=>{const t=y,_=b,C=c;return s(),i(u,null,[l(t,{currentName:"NFT"},{footer:n(()=>[o("div",T,[o("div",j,[o("div",{class:m(["item",D.value?"":"hightStatus"]),onClick:e[0]||(e[0]=a=>R(0))}," ETH ",2),o("div",{class:m(["item",D.value?"hightStatus":""]),onClick:e[1]||(e[1]=a=>R(1))}," USD ",2)])])]),_:1}),o("header",null,[l(C,{"swipe-threshold":"1"},{default:n(()=>[(s(!0),i(u,null,d(p.value,(a,e)=>(s(),v(_,{key:e},{title:n(()=>[B]),_:2},1024))),128))]),_:1})]),o("div",U,[l(C,{active:g.value,"onUpdate:active":e[2]||(e[2]=a=>g.value=a),"line-width":"20","line-height":"2",color:"#3CBC8C",background:"#fff","title-active-color":"#000000","title-inactive-color":"#838B9C",onClickTab:e[3]||(e[3]=a=>{return e=g.value,void(g.value=e);var e})},{default:n(()=>[(s(!0),i(u,null,d(h(k),(a,e)=>(s(),v(_,{key:e},{title:n(()=>[o("div",null,f(a.name),1)]),_:2},1024))),128))]),_:1},8,["active"])]),o("div",F,[l(S,{disabledInput:!1})]),g.value?r("",!0):(s(),i("footer",H,[l(I,{onClick:e[4]||(e[4]=e=>a.$router.push("/nftDetail"))},{footerBottom:n(()=>[N]),_:1})])),g.value?(s(),i("div",q,[l(w,{onClick:e[5]||(e[5]=e=>a.$router.push("/nftDetail"))})])):r("",!0),l(x)],64)}}},[["__scopeId","data-v-60057531"]]);export{R as default};
