1import{cM as t,cN as e,cO as a,cP as n,c$ as s,d$ as l,dU as u,d4 as m,cV as o,cU as i,cT as c,d1 as d,d3 as r,d2 as x,d7 as g,e7 as p}from"./index-Dmu6oiBK.js";const b={class:"status-page min-h-screen bg-[#181A1B] pb-8 px-4"},v={key:1,class:"py-6"},f={class:"text-white text-xl font-bold mb-4"},w={class:"grid grid-cols-1 gap-4 mb-6"},y={class:"bg-[#23272A] rounded-2xl p-4 flex justify-between items-center"},B={class:"text-[#B0B0B0] text-sm"},h={class:"text-white text-lg font-bold"},N={class:"bg-[#23272A] rounded-2xl p-4 flex justify-between items-center"},A={class:"text-[#B0B0B0] text-sm"},S={class:"text-white text-lg font-bold"},_={class:"bg-[#23272A] rounded-2xl p-4 flex justify-between items-center"},j={class:"text-[#B0B0B0] text-sm"},C={class:"text-white text-lg font-bold"},k={class:"bg-[#23272A] rounded-2xl p-4 flex justify-between items-center"},I={class:"text-[#B0B0B0] text-sm"},$={class:"text-white text-lg font-bold"},F={class:"bg-[#23272A] rounded-2xl p-4 flex justify-between items-center"},T={class:"text-[#B0B0B0] text-sm"},U={class:"text-white text-lg font-bold"},V=p(t({__name:"miner",setup(t){const{t:p}=e(),{account:V}=a(),q=n();s([{name:p("ç¨æ·")+"A",amount:100},{name:p("ç¨æ·")+"B",amount:80},{name:p("ç¨æ·")+"C",amount:60},{name:p("ç¨æ·")+"D",amount:50},{name:p("ç¨æ·")+"E",amount:40},{name:p("ç¨æ·")+"F",amount:30},{name:p("ç¨æ·")+"G",amount:20},{name:p("ç¨æ·")+"H",amount:10},{name:p("ç¨æ·")+"I",amount:5},{name:p("ç¨æ·")+"J",amount:2}]),s([{name:p("ç¨æ·")+"X",amount:90},{name:p("ç¨æ·")+"Y",amount:70},{name:p("ç¨æ·")+"Z",amount:50},{name:p("ç¨æ·")+"W",amount:40},{name:p("ç¨æ·")+"V",amount:30},{name:p("ç¨æ·")+"U",amount:20},{name:p("ç¨æ·")+"T",amount:10},{name:p("ç¨æ·")+"S",amount:5},{name:p("ç¨æ·")+"R",amount:3},{name:p("ç¨æ·")+"Q",amount:1}]);const D=s(3),E=s(3);l(()=>{const t=localStorage.getItem("buyShowCount"),e=localStorage.getItem("sellShowCount");t&&(D.value=Number(t)),e&&(E.value=Number(e))});const G=s({timestamp:0,signature:""}),H=g(()=>!!V.value&&!!G.value.timestamp&&!!G.value.signature),{data:J,isLoading:K}=u({queryKey:["marketNumber",G.value],queryFn:async()=>{var t,e;const a=await x.SwaggerV3Api.get_api_admin_getNFTStatusNumber({...G.value,account:V.value});return x.isSuccess(a)?(null==(t=a.data)?void 0:t.result)||{}:(null==(e=a.data)?void 0:e.result)||{}},enabled:H});async function L(){const t=~~(Date.now()/1e3),e=`${V.value}${t}`,a=await d(q,{message:e});G.value.timestamp=t,G.value.signature=a}return(t,e)=>{var a,n,s,l,u;return r(),m("div",b,[o(J)?(r(),m("div",v,[c("div",f,i(o(p)("ç¿æºç»è®¡")),1),c("div",w,[c("div",y,[c("span",B,i(o(p)("è®ç»ä¸æ°é")),1),c("span",h,i(null==(a=o(J))?void 0:a.trainingNum),1)]),c("div",N,[c("span",A,i(o(p)("åçµä¸æ°é")),1),c("span",S,i(null==(n=o(J))?void 0:n.electricityEndNum),1)]),c("div",_,[c("span",j,i(o(p)("è¿è¡ä¸æ°é")),1),c("span",C,i(null==(s=o(J))?void 0:s.runningNum),1)]),c("div",k,[c("span",I,i(o(p)("已交çµè´¹æ°é")),1),c("span",$,i(null==(l=o(J))?void 0:l.electricityNum),1)]),c("div",F,[c("span",T,i(o(p)("è´ä¹°å é塿°é")),1),c("span",U,i(null==(u=o(J))?void 0:u.trainCardNum),1)])])])):(r(),m("button",{key:0,class:"bg-[#23272A] text-white border border-[#333] rounded px-2 py-1 text-xs w-full mt-20 h-10",onClick:L},i(o(p)("ç¾åæ¥ç")),1))])}}}),[["__scopeId","data-v-f5ecf1d2"]]);export{V as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.