import{_ as e,u as o,w as s,f as t}from"./index-4c745ab9.js";import{B as a,a as r}from"./index-462119c7.js";import{P as i}from"./public-7285197c.js";import{L as n}from"./leftSide-5270356f.js";import{L as l,l as u,x as p,q as d,o as m,a as c,f,u as h,w as v}from"./vendor-edc0678f.js";import"./handicap-0340996a.js";import"./filters-692458bf.js";/* empty css              *//* empty css              */import"./currencyItem-8e423279.js";const y=e({__name:"tradeBB",props:{headerList:{type:Array}},setup(e){const y=o(),j=l(),L=u({});p(()=>j.query.symbol,e=>{L.value=y.spotCoinList.filter((o,s)=>o.coin===e)[0]},{deep:!0});d(()=>{j.query.symbol?(L.value=y.spotCoinList.filter((e,o)=>e.coin===j.query.symbol)[0],L.value||(L.value=y.spotCoinList[0])):L.value=y.spotCoinList[0]});const C=u(!1),b=()=>{C.value=!0};return(o,l)=>{const u=s;return m(),c("div",null,[f(u,{currentName:h(t)("trade_tab3"),border_bottom:!0},null,8,["currentName"]),f(a,{coinInfo:h(L),onShowSidePopup:b},null,8,["coinInfo"]),f(r,{coinInfo:h(L)},null,8,["coinInfo"]),f(i,{show:h(C),onHandelClose:l[1]||(l[1]=e=>C.value=!1),direction:"left",height:"100%",width:"80%",showHeader:!1,empty:!1},{emptyContentCustomize:v(()=>[f(n,{onClose:l[0]||(l[0]=e=>C.value=!1),headerList:e.headerList},null,8,["headerList"])]),_:1},8,["show"])])}}},[["__scopeId","data-v-19bfcd6d"]]);export{y as default};
