compile files to add
This commit is contained in:
@@ -1 +1 @@
|
||||
import{G as e}from"./index.4a6e9266.js";import{l as s}from"./index.220e6de4.js";const t={"Content-Type":"application/json;charsetset=UTF-8"},u=r=>e({url:"/auth/api/v1/reader/blogs",method:"GET",params:r,paramsSerializer:a=>s.stringify(a,{arrayFormat:"repeat"})}),i=()=>e({url:"/auth/api/v1/reader/blog_type",method:"GET",headers:t}),p=r=>e({url:"/auth/api/v1/reader/blog/"+r,method:"GET",headers:t}),n=()=>e({url:"/auth/api/v1/reader/blogs/publish/all",method:"GET"}),h=r=>e({url:"/auth/api/v1/reader/blogs/publish/"+r,method:"GET"});export{i as a,h as b,p as c,u as g,n as p};
|
||||
import{J as e}from"./index.2956dc9f.js";import{l as s}from"./index.cd7d1af2.js";const t={"Content-Type":"application/json;charsetset=UTF-8"},u=r=>e({url:"/auth/api/v1/reader/blogs",method:"GET",params:r,paramsSerializer:a=>s.stringify(a,{arrayFormat:"repeat"})}),i=()=>e({url:"/auth/api/v1/reader/blog_type",method:"GET",headers:t}),p=r=>e({url:"/auth/api/v1/reader/blog/"+r,method:"GET",headers:t}),n=()=>e({url:"/auth/api/v1/reader/blogs/publish/all",method:"GET"}),h=r=>e({url:"/auth/api/v1/reader/blogs/publish/"+r,method:"GET"});export{i as a,h as b,p as c,u as g,n as p};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{G as r}from"./index.2956dc9f.js";const s=()=>r({url:"/trader/api/v1/accounts",method:"GET"}),a=t=>r({url:"/trader/api/v1/tick/"+t,method:"GET"}),o=()=>r({url:"/trader/api/v1/ticks",method:"GET"}),c=t=>r({url:"/trader/api/v1/order",method:"POST",data:t}),u=t=>r({url:"/trader/api/v1/subscribe/"+t,method:"GET"}),d=()=>r({url:"/trader/api/v1/subscribe/vt_symbols",method:"GET"}),n=()=>r({url:"/trader/api/v1/vt_symbols",method:"GET"}),i=()=>r({url:"/trader/api/v1/exchanges",method:"GET"});export{d as a,i as b,o as c,s as d,a as e,c as f,n as g,u as s};
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
Vendored
+1
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{G as r}from"./index.2956dc9f.js";const a=()=>r({url:"/trader/api/v1/strategy_file",method:"GET"}),s=()=>r({url:"/trader/api/v1/strategy_file/load",method:"GET"}),o=t=>r({url:"/trader/api/v1/strategy_file/"+t,method:"PUT"}),i=t=>r({url:"/trader/api/v1/strategy_file/"+t,method:"PATCH"}),d=t=>r({url:"/trader/api/v1/strategy_file/"+t,method:"DELETE"}),g=()=>r({url:"/trader/api/v1/strategies",method:"GET"}),n=t=>r({url:"/trader/api/v1/strategy/"+t.strategy_name,method:"POST",data:t}),l=t=>r({url:"/trader/api/v1/strategy/init/"+t,method:"PUT"}),_=t=>r({url:"/trader/api/v1/strategy/"+t,method:"PUT"}),u=t=>r({url:"/trader/api/v1/strategy/"+t,method:"PATCH"}),y=t=>r({url:"/trader/api/v1/strategy/"+t,method:"DELETE"});export{s as a,g as b,n as c,u as d,y as e,a as g,l as i,o as l,d as r,_ as s,i as u};
|
||||
+1
@@ -0,0 +1 @@
|
||||
.el-button--text[data-v-67ac96c4]{margin-right:15px}.el-select[data-v-67ac96c4],.el-input[data-v-67ac96c4]{width:300px}.dialog-footer button[data-v-67ac96c4]:first-child{margin-right:10px}
|
||||
Vendored
+1
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
+1
@@ -0,0 +1 @@
|
||||
import{g as R,l as S,u as V,r as I}from"./cta_strategy.68876cc5.js";import{d as $,b as P,H as T,o as u,c as r,a as e,w as t,u as W,S as H,r as a,k as m,R as i,g as h,e as M,E as j,D as F}from"./index.2956dc9f.js";const q={class:"bookmark"},G=h("\u6DFB\u52A0\u7B56\u7565\u6587\u4EF6"),J=h(" -> "),K=h(" \u4E0A\u4F20\u7B56\u7565\u6587\u4EF6 "),L=M("div",{class:"el-upload__tip text-red"}," \u4E00\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6 ",-1),O={key:0,style:{cursor:"pointer"}},Q={key:0,style:{cursor:"pointer"}},U={key:0,style:{cursor:"pointer"}},ee=$({setup(X){const _=P(),k=l=>{_.value.clearFiles();const o=l[0];o.uid=H(),_.value.handleStart(o)},d=T([]),p=()=>{R().then(l=>{d.length=0,l.data.forEach((o,f)=>{d.push(o)})})},g=()=>{_.value.submit(),p()},b=l=>{l.status=2,S(l.file_name).then(o=>{o.status==200&&(l.status=1),o.status==500&&(l.status=0)})},v=l=>{V(l.class_name).then(o=>{o.status==200&&(l.status=0),o.status==500&&(l.status=1)})},w=l=>{I(l.file_name).then(o=>{p()}).catch(o=>{j({message:F("p",null,[F("i",{style:"color: teal"},o)])})})};return p(),(l,o)=>{const f=a("el-button"),E=a("el-upload"),n=a("el-table-column"),C=a("InfoFilled"),c=a("el-icon"),B=a("SuccessFilled"),x=a("WarningFilled"),D=a("CirclePlusFilled"),z=a("RemoveFilled"),A=a("Delete"),N=a("el-table");return u(),r("div",q,[e(E,{ref_key:"upload",ref:_,class:"upload-demo",action:"http://localhost:5000/trader/api/v1/strategy_file",limit:1,"on-exceed":k,"auto-upload":!1},{trigger:t(()=>[e(f,{type:"primary"},{default:t(()=>[G]),_:1})]),tip:t(()=>[L]),default:t(()=>[J,e(f,{class:"ml-3",type:"success",onClick:g},{default:t(()=>[K]),_:1})]),_:1},512),e(N,{ref:"multipleTableRef",data:W(d),style:{width:"100%"}},{default:t(()=>[e(n,{type:"selection",width:"55"}),e(n,{type:"index",label:"index",width:"80"}),e(n,{prop:"file_name",label:"\u7B56\u7565\u6587\u4EF6\u540D",width:"200"}),e(n,{prop:"class_name",label:"\u7B56\u7565\u7C7B\u540D",width:"200"}),e(n,{prop:"status",label:"\u72B6\u6001",width:"60"},{default:t(s=>[s.row.status==0?(u(),m(c,{key:0,size:20},{default:t(()=>[e(C)]),_:1})):i("",!0),s.row.status==1?(u(),m(c,{key:1,size:20,color:"green"},{default:t(()=>[e(B)]),_:1})):i("",!0),s.row.status==2?(u(),m(c,{key:2,size:20,color:"gold"},{default:t(()=>[e(x)]),_:1})):i("",!0)]),_:1}),e(n,{prop:"url",label:"\u52A0\u8F7D",width:"60"},{default:t(s=>[s.row.status==0?(u(),r("span",O,[e(c,{size:20,onClick:y=>b(s.row),color:"blue"},{default:t(()=>[e(D)]),_:2},1032,["onClick"])])):i("",!0)]),_:1}),e(n,{prop:"url",label:"\u5378\u8F7D",width:"60"},{default:t(s=>[s.row.status==1?(u(),r("span",Q,[e(c,{size:20,onClick:y=>v(s.row),color:"red"},{default:t(()=>[e(z)]),_:2},1032,["onClick"])])):i("",!0)]),_:1}),e(n,{prop:"url",label:"\u5220\u9664",width:"60"},{default:t(s=>[s.row.status==0?(u(),r("span",U,[e(c,{size:20,onClick:y=>w(s.row),color:"red"},{default:t(()=>[e(A)]),_:2},1032,["onClick"])])):i("",!0)]),_:1})]),_:1},8,["data"])])}}});export{ee as default};
|
||||
BIN
Binary file not shown.
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{g as c,a as r,b as n}from"./capital.0a05eb76.js";import{s as m}from"./strategy.a4cc9d20.js";import{d as u,C as _,o as h,c as i,E as a,D as t}from"./index.2956dc9f.js";const p={class:"about",ref:"bookmarks",id:"bookmarks",style:{width:"600px",height:"400px"}},k=u({setup(b){const e=m();return _(()=>{}),(()=>{c().then(s=>{console.log(s);let o=new Map;Object.keys(s.data.vt_symbols).forEach(l=>{o.set(l,s.data.vt_symbols[l])}),e.$patch({vt_symbols:o})}).catch(s=>{a({message:t("p",null,[t("i",{style:"color: teal"},"\u8BFB\u53D6vt_symbols\u5931\u8D25")])})}),r().then(s=>{e.$patch({subscribe_vt_symbols:s.data.vt_symbols})}).catch(s=>{a({message:t("p",null,[t("i",{style:"color: teal"},"\u8BFB\u53D6vt_symbols\u5931\u8D25")])})}),n().then(s=>{e.$patch({exchanges:s.data.exchanges})}).catch(s=>{a({message:t("p",null,[t("i",{style:"color: teal"},"\u8BFB\u53D6exchanges\u5931\u8D25")])})})})(),(s,o)=>(h(),i("div",p,null,512))}});export{k as default};
|
||||
Vendored
+51
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{_ as e,o as _,c as a}from"./index.4a6e9266.js";const c={},n={class:"dashboard"};function r(s,t){return _(),a("div",n,"\u8FD9\u91CC\u6211\u60F3\u5206\u4EAB\u7684\u4E00\u4E9B\u4E1C\u897F\uFF0C\u65E0\u8BBA\u662F\u751F\u6D3B\u8FD8\u662F\u5DE5\u4F5C\uFF0C\u8FD8\u662F\u5B66\u79D1")}var d=e(c,[["render",r]]);export{d as default};
|
||||
Vendored
-60
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
-51
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{_ as e,o as _,c as a}from"./index.2956dc9f.js";const o={},r={class:"dashboard"};function c(n,s){return _(),a("div",r,"\u611F\u609F\u8FD9\u4E2A\u4E1C\u897F\uFF0C\u6682\u65F6\u6CA1\u6709\u4EC0\u4E48\u592A\u591A\u60F3\u6CD5\uFF0C\u4EE5\u540E\u4F1A\u88AB\u5220\u6389\u628A")}var d=e(o,[["render",c]]);export{d as default};
|
||||
@@ -1 +1 @@
|
||||
import{_ as e,o as c,c as o}from"./index.4a6e9266.js";const r={},s={class:"dashboard"};function a(t,n){return c(),o("div",s,"\u4E2A\u4EBA\u4E91\u7F51\u76D8\uFF0C\u5178\u578B\u7684\u6743\u9650\uFF0C\u521D\u671F\u6253\u7B97\u53EA\u6709\u6700\u9AD8\u6743\u9650\u7684\u6211\u81EA\u5DF1\u4F7F\u7528")}var d=e(r,[["render",a]]);export{d as default};
|
||||
import{_ as e,o as c,c as o}from"./index.2956dc9f.js";const r={},s={class:"dashboard"};function a(t,n){return c(),o("div",s,"\u4E2A\u4EBA\u4E91\u7F51\u76D8\uFF0C\u5178\u578B\u7684\u6743\u9650\uFF0C\u521D\u671F\u6253\u7B97\u53EA\u6709\u6700\u9AD8\u6743\u9650\u7684\u6211\u81EA\u5DF1\u4F7F\u7528")}var d=e(r,[["render",a]]);export{d as default};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{d as S,D as b,r as u,o as i,c as r,a as e,u as s,g as l,F as y,j as C,h as w,k as $,e as p,t as B,f as m,E as q}from"./index.4a6e9266.js";import{g,a as A,p as T,b as G}from"./blogView.4b0b5f89.js";import"./index.220e6de4.js";const H=p("span",null,"\u5206\u7C7B\u641C\u7D22",-1),J=p("span",{class:"text-gray-500"},"-",-1),K=m("\u641C\u7D22"),M=m("\u521B\u4F5C"),O=m("\u5168\u90E8\u91CD\u65B0\u53D1\u5E03"),P={class:"blog_list"},Q=["onClick"],R={style:{display:"flex","justify-content":"space-between","align-items":"center"}},W={style:{"font-size":"12px",height:"16px","line-height":"16px",overflow:"hidden","text-overflow":"ellipsis"}},X=m("\u91CD\u65B0\u53D1\u5E03 "),oe=S({setup(Y){const a=b({key_word:"",btId:"",start_day:"",end_day:""}),_=b([]),h=b([]),v=()=>{g({}).then(n=>{n.data.forEach(t=>{_.push(t)})}),A().then(n=>{h.push({btId:"",btName:"\u9009\u62E9\u5206\u7C7B"}),n.data.forEach(t=>{const f={btId:t.btId,btName:t.btName};h.push(f)})})},x=()=>{g(a).then(n=>{_.splice(0,_.length),n.data.forEach(t=>{_.push(t)})})},V=n=>{q.set("bid",n);const{href:t}=w.resolve({path:"/view",query:{bid:n}});window.open(t,"_blank")},E=()=>{const{href:n}=w.resolve({path:"/write/"});window.open(n,"_blank")},F=()=>{T()},D=n=>{G(n)};return v(),(n,t)=>{const f=u("el-input"),d=u("el-col"),N=u("el-option"),I=u("el-select"),k=u("el-form-item"),U=u("el-date-picker"),j=u("el-time-picker"),c=u("el-button"),z=u("el-form");return i(),r(y,null,[e(z,{model:s(a),"label-width":"120px"},{default:l(()=>[e(k,{label:"\u5173\u952E\u5B57\u641C\u7D22"},{default:l(()=>[e(d,{span:7},{default:l(()=>[e(f,{modelValue:s(a).key_word,"onUpdate:modelValue":t[0]||(t[0]=o=>s(a).key_word=o)},null,8,["modelValue"])]),_:1}),e(d,{span:1}),e(d,{span:10},{default:l(()=>[H,e(I,{modelValue:s(a).btId,"onUpdate:modelValue":t[1]||(t[1]=o=>s(a).btId=o),placeholder:"\u9009\u62E9\u5206\u7C7B"},{default:l(()=>[(i(!0),r(y,null,C(s(h),o=>(i(),$(N,{key:o.btId,label:o.btName,value:o.btId},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(k,{label:"\u521B\u4F5C\u65F6\u95F4"},{default:l(()=>[e(d,{span:7},{default:l(()=>[e(U,{modelValue:s(a).start_day,"onUpdate:modelValue":t[2]||(t[2]=o=>s(a).start_day=o),type:"date",placeholder:"\u5F00\u59CB\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{span:2,class:"text-center"},{default:l(()=>[J]),_:1}),e(d,{span:7},{default:l(()=>[e(j,{modelValue:s(a).end_day,"onUpdate:modelValue":t[3]||(t[3]=o=>s(a).end_day=o),placeholder:"\u7ED3\u675F\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{span:6,style:{"text-align":"center"}},{default:l(()=>[e(c,{type:"primary",onClick:x},{default:l(()=>[K]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),e(c,{onClick:E},{default:l(()=>[M]),_:1}),e(c,{onClick:F},{default:l(()=>[O]),_:1}),(i(!0),r(y,null,C(s(_),o=>(i(),r("div",P,[p("h3",{style:{cursor:"pointer",width:"min-content","white-space":"nowrap"},onClick:L=>V(o.bid)},B(o.title),9,Q),p("div",R,[p("p",W,B(o.content),1),e(c,{size:"small",type:"success",onClick:L=>D(o.bid)},{default:l(()=>[X]),_:2},1032,["onClick"])])]))),256))],64)}}});export{oe as default};
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{d as S,H as f,o as p,c as r,a as e,w as l,u as s,F as y,j as k,h as C,r as u,k as $,e as _,t as w,g as m,I as q}from"./index.2956dc9f.js";import{g as x,a as A,p as H,b as T}from"./blogView.8b42affd.js";import"./index.cd7d1af2.js";const G=_("span",null,"\u5206\u7C7B\u641C\u7D22",-1),J=_("span",{class:"text-gray-500"},"-",-1),K=m("\u641C\u7D22"),M=m("\u521B\u4F5C"),O=m("\u5168\u90E8\u91CD\u65B0\u53D1\u5E03"),P={class:"blog_list"},Q=["onClick"],R={style:{display:"flex","justify-content":"space-between","align-items":"center"}},W={style:{"font-size":"12px",height:"16px","line-height":"16px",overflow:"hidden","text-overflow":"ellipsis"}},X=m("\u91CD\u65B0\u53D1\u5E03 "),oe=S({setup(Y){const a=f({key_word:"",btId:"",start_day:"",end_day:""}),i=f([]),b=f([]),B=()=>{x({}).then(n=>{n.data.forEach(t=>{i.push(t)})}),A().then(n=>{b.push({btId:"",btName:"\u9009\u62E9\u5206\u7C7B"}),n.data.forEach(t=>{const h={btId:t.btId,btName:t.btName};b.push(h)})})},v=()=>{x(a).then(n=>{i.splice(0,i.length),n.data.forEach(t=>{i.push(t)})})},V=n=>{q.set("bid",n);const{href:t}=C.resolve({path:"/view",query:{bid:n}});window.open(t,"_blank")},E=()=>{const{href:n}=C.resolve({path:"/write/"});window.open(n,"_blank")},F=()=>{H()},D=n=>{T(n)};return B(),(n,t)=>{const h=u("el-input"),d=u("el-col"),I=u("el-option"),N=u("el-select"),g=u("el-form-item"),U=u("el-date-picker"),j=u("el-time-picker"),c=u("el-button"),z=u("el-form");return p(),r(y,null,[e(z,{model:s(a),"label-width":"120px"},{default:l(()=>[e(g,{label:"\u5173\u952E\u5B57\u641C\u7D22"},{default:l(()=>[e(d,{span:7},{default:l(()=>[e(h,{modelValue:s(a).key_word,"onUpdate:modelValue":t[0]||(t[0]=o=>s(a).key_word=o)},null,8,["modelValue"])]),_:1}),e(d,{span:1}),e(d,{span:10},{default:l(()=>[G,e(N,{modelValue:s(a).btId,"onUpdate:modelValue":t[1]||(t[1]=o=>s(a).btId=o),placeholder:"\u9009\u62E9\u5206\u7C7B"},{default:l(()=>[(p(!0),r(y,null,k(s(b),o=>(p(),$(I,{key:o.btId,label:o.btName,value:o.btId},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(g,{label:"\u521B\u4F5C\u65F6\u95F4"},{default:l(()=>[e(d,{span:7},{default:l(()=>[e(U,{modelValue:s(a).start_day,"onUpdate:modelValue":t[2]||(t[2]=o=>s(a).start_day=o),type:"date",placeholder:"\u5F00\u59CB\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{span:2,class:"text-center"},{default:l(()=>[J]),_:1}),e(d,{span:7},{default:l(()=>[e(j,{modelValue:s(a).end_day,"onUpdate:modelValue":t[3]||(t[3]=o=>s(a).end_day=o),placeholder:"\u7ED3\u675F\u65F6\u95F4",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(d,{span:6,style:{"text-align":"center"}},{default:l(()=>[e(c,{type:"primary",onClick:v},{default:l(()=>[K]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),e(c,{onClick:E},{default:l(()=>[M]),_:1}),e(c,{onClick:F},{default:l(()=>[O]),_:1}),(p(!0),r(y,null,k(s(i),o=>(p(),r("div",P,[_("h3",{style:{cursor:"pointer",width:"min-content","white-space":"nowrap"},onClick:L=>V(o.bid)},w(o.title),9,Q),_("div",R,[_("p",W,w(o.content),1),e(c,{size:"small",type:"success",onClick:L=>D(o.bid)},{default:l(()=>[X]),_:2},1032,["onClick"])])]))),256))],64)}}});export{oe as default};
|
||||
Vendored
BIN
Binary file not shown.
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{_ as e,o as _,c as o}from"./index.4a6e9266.js";const a={},c={class:"dashboard"};function r(s,t){return _(),o("div",c," \u521D\u671F\u8BBE\u60F3\uFF0C\u4F5C\u4E3A\u767B\u5F55\u7528\u6237\u7684\u529F\u80FD\u4E4B\u4E00\uFF0C\u53EF\u9009\u62E9\u5F0F\u7684\u6570\u636E\u62BD\u53D6 \u5305\u62EC\u7528\u6237\u76F8\u5173\u8D44\u6599\u7684\u5168\u90E8\u53D6\u56DE\u64CD\u4F5C\u3002 bookmark blog study cloud \u7B49\u7B49\u3002\u5E76\u6CA1\u6709\u6253\u7B97\u5728\u6BCF\u4E2A\u6A21\u5757\u4E0B\u63D0\u4F9B\u4E0B\u8F7D\u5DE5\u7A0B\uFF0C\u56E0\u4E3A\u6211\u8FD9\u4E2A\u4E0D\u662F\u9762\u5411\u4E1A\u52A1\u7684\u3002\u63D0\u4F9B\u4E0B\u8F7D\u5DE5\u7A0B\u65E0\u975E\u662F\u6015\u6570\u636E\u4E22\u5931\u800C\u5DF2\uFF0C\u4EC5\u9650\u4E8E\u6B64 ")}var d=e(a,[["render",r]]);export{d as default};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
.dashboard{background-color:beige}.iconStyle{margin-right:"6px"}.operate,.descriptionsclass{display:flex;align-items:center}
|
||||
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{_ as e,o,c as _}from"./index.2956dc9f.js";const a={},n={class:"dialog-footer"};function r(c,s){return o(),_("span",n," \u5F53\u4F60\u770B\u5230\u4E86\uFF0C\u8FD9\u4E2A\u9875\u9762\uFF0C\u8FD9\u8868\u793A\u4E86\uFF0C\u4F60\u901A\u8FC7\u767E\u5EA6\u626B\u63CF\u767B\u9646\u4E86\u6211\u7684\u79D8\u5BC6\u57FA\u5730\uFF0C\u4F46\u662F\u5F88\u9057\u61BE\u7684\u544A\u8BC9\u4F60\uFF0C\u6211\u4EEC\u5C06\u4EE5\u975E\u6CD5\u767B\u5F55\u7684\u65B9\u5F0F\u5904\u7406\u4F60\u7684\u8BF7\u6C42\uFF0C88 ")}var d=e(a,[["render",r]]);export{d as default};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{_ as e,o as _,c as n}from"./index.4a6e9266.js";const o={},t={class:"dialog-footer"};function a(c,r){return _(),n("span",t," \u5F53\u4F60\u770B\u5230\u4E86\uFF0C\u8FD9\u4E2A\u9875\u9762\uFF0C\u8FD9\u8868\u793A\u4E86\uFF0C\u4F60\u901A\u8FC7\u767E\u5EA6\u626B\u63CF\u767B\u9646\u4E86\u6211\u7684\u79D8\u5BC6\u57FA\u5730\uFF0C\u4F46\u662F\u5F88\u9057\u61BE\u7684\u544A\u8BC9\u4F60\uFF0C\u6211\u4EEC\u5C06\u4EE5\u975E\u6CD5\u767B\u5F55\u7684\u65B9\u5F0F\u5904\u7406\u4F60\u7684\u8BF7\u6C42\uFF0C88 ")}var d=e(o,[["render",a]]);export{d as default};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{_ as e,o as _,c as a}from"./index.4a6e9266.js";const c={},n={class:"dashboard"};function r(s,t){return _(),a("div",n,"\u611F\u609F\u8FD9\u4E2A\u4E1C\u897F\uFF0C\u6682\u65F6\u6CA1\u6709\u4EC0\u4E48\u592A\u591A\u60F3\u6CD5\uFF0C\u4EE5\u540E\u4F1A\u88AB\u5220\u6389\u628A")}var d=e(c,[["render",r]]);export{d as default};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{c as j,s as z}from"./capital.0a05eb76.js";import{s as H}from"./strategy.a4cc9d20.js";import{d as L,b as p,H as v,O,C as Q,Q as S,o as c,c as f,a as e,w as o,r as a,F as C,j as k,k as B,u as h,e as $,E,D as d}from"./index.2956dc9f.js";const q={class:"demo-collapse"},G={style:{cursor:"pointer"}},T=L({setup(J){const I=H(),r=p(),b=v([]),_=p(),w=v([]);I.exchanges.forEach(s=>{w.push(s)});const i=p(0),m=v([]),g=p(["1"]),A=()=>{!r.value||z(r.value).then(s=>{E({message:d("p",null,[d("i",{style:"color: green"},"\u884C\u60C5\u8BA2\u9605\u6210\u529F")])})}).catch(s=>{E({message:d("p",null,[d("i",{style:"color: red"},"\u884C\u60C5\u8BA2\u9605\u5931\u8D25")])})})},N=()=>{j().then(s=>{m.length=0,s.data.ticks.forEach(l=>{m.push(l)})})};return O(_,(s,l)=>{b.length=0}),Q(()=>{clearInterval(i.value),i.value=window.setInterval(N,3e3)}),S(()=>{window.clearInterval(i.value)}),(s,l)=>{const x=a("el-option"),V=a("el-select"),u=a("el-col"),U=a("ZoomIn"),F=a("el-icon"),D=a("el-row"),y=a("el-collapse-item"),n=a("el-table-column"),M=a("el-table"),Z=a("el-collapse");return c(),f("div",q,[e(Z,{modelValue:g.value,"onUpdate:modelValue":l[3]||(l[3]=t=>g.value=t)},{default:o(()=>[e(y,{title:"\u8BA2\u9605\u884C\u60C5",name:"2"},{default:o(()=>[e(D,null,{default:o(()=>[e(u,{span:4},{default:o(()=>[e(V,{modelValue:_.value,"onUpdate:modelValue":l[0]||(l[0]=t=>_.value=t),placeholder:"select a exchange"},{default:o(()=>[(c(!0),f(C,null,k(h(w),t=>(c(),B(x,{value:t},null,8,["value"]))),256))]),_:1},8,["modelValue"])]),_:1}),e(u,{span:1}),e(u,{span:4},{default:o(()=>[e(V,{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=t=>r.value=t),placeholder:"select a vt_symbol"},{default:o(()=>[(c(!0),f(C,null,k(h(b),t=>(c(),B(x,{value:t},null,8,["value"]))),256))]),_:1},8,["modelValue"])]),_:1}),e(u,{span:1}),e(u,{span:4},{default:o(()=>[$("span",G,[e(F,{size:25,onClick:l[2]||(l[2]=t=>A())},{default:o(()=>[e(U)]),_:1})])]),_:1})]),_:1})]),_:1}),e(y,{title:"\u8BA2\u9605\u4E00\u89C8",name:"1"},{default:o(()=>[e(M,{data:h(m),style:{width:"100%"}},{default:o(()=>[e(n,{fixed:"",prop:"symbol",label:"symbol",width:"80"}),e(n,{fixed:"",prop:"exchange",label:"exchange",width:"100"}),e(n,{fixed:"",prop:"name",label:"Name",width:"120"}),e(n,{fixed:"",prop:"last_price",label:"last_price",width:"120"}),e(n,{fixed:"",prop:"volume",label:"volume",width:"100"}),e(n,{fixed:"",prop:"open_price",label:"open_price",width:"120"}),e(n,{fixed:"",prop:"high_price",label:"high_price",width:"120"}),e(n,{fixed:"",prop:"low_price",label:"low_price",width:"120"})]),_:1},8,["data"])]),_:1})]),_:1},8,["modelValue"])])}}});export{T as default};
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{_ as D,r as o,o as r,c as h,a as e,d as w,b as x,e as a,t as C,u as f,w as t,f as k,v as S,F as E,g as u,h as b,l as H,i as N,j,k as L,n as z,p as T,m as G}from"./index.2956dc9f.js";import{h as B}from"./moment.9709ab41.js";import{u as P}from"./tenant.8f3e7bc6.js";const Q={},U={class:"section-main",style:{height:"100%"}};function q(i,l){const n=o("router-view");return r(),h("section",U,[e(n)])}var J=D(Q,[["render",q]]);const K={class:"nav-main"},O={style:{width:"800px"}},R=u(" \u671F\u8D27\u4EA4\u6613\u65F6\u95F4\xA0 "),W=u("\xA0 9:00-11:30 \xA0 "),X=u("\xA0 13:30-15:00 \xA0 "),Z=u("\xA0 21:00-23:00 "),ee=u("profile"),te=u("\u9000\u51FA"),oe=a("span",null,"\u786E\u8BA4\u4F60\u7684\u767B\u51FA\u64CD\u4F5C\u4E48\uFF1F",-1),ne={class:"dialog-footer"},se=u("\u53D6\u6D88"),le=u("\u786E\u8BA4"),ae=w({setup(i){const l=P();l.reflush();const n=x(!1);let _=x(B().format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss"));setInterval(()=>{_.value=B().format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss")},1e3);const g=()=>{b.push({path:"/login"})},p=()=>{n.value=!1,H(l.id).catch(()=>{console.log(1)}).finally(()=>{l.logout(),b.push({path:"/login"})})};return(v,s)=>{const m=o("Sunrise"),c=o("el-icon"),d=o("Sunny"),M=o("Moon"),Y=o("el-avatar"),F=o("el-dropdown-item"),$=o("el-dropdown-menu"),I=o("el-dropdown"),A=o("el-button"),V=o("el-dialog");return r(),h(E,null,[a("div",K,[a("div",O,[a("div",null," \u5F53\u524D\u65F6\u95F4\uFF1A"+C(f(_)),1),a("div",null,[R,e(c,{color:"yellow"},{default:t(()=>[e(m)]),_:1}),W,e(c,{color:"gold"},{default:t(()=>[e(d)]),_:1}),X,e(c,{color:"blue"},{default:t(()=>[e(M)]),_:1}),Z])]),k(e(I,{trigger:"click"},{dropdown:t(()=>[e($,null,{default:t(()=>[e(F,null,{default:t(()=>[ee]),_:1}),e(F,{onClick:s[0]||(s[0]=y=>n.value=!0)},{default:t(()=>[te]),_:1})]),_:1})]),default:t(()=>[e(Y,{src:"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"})]),_:1},512),[[S,f(l).account]])]),e(V,{modelValue:n.value,"onUpdate:modelValue":s[2]||(s[2]=y=>n.value=y),title:"\u63D0\u793A",width:"30%"},{footer:t(()=>[a("span",ne,[e(A,{onClick:s[1]||(s[1]=y=>n.value=!1)},{default:t(()=>[se]),_:1}),e(A,{type:"primary",onClick:p},{default:t(()=>[le]),_:1})])]),default:t(()=>[oe]),_:1},8,["modelValue"]),k(a("span",{onClick:g},"\u767B\u5F55",512),[[S,!f(l).account]])],64)}}});const ue=w({setup(i){let l=b.options.routes[0].children,n=x("");return N(()=>{n.value=window.innerHeight+"px"}),(_,g)=>{const p=o("el-menu-item"),v=o("el-menu");return r(),h("div",null,[e(v,{router:"",class:"side_Style",style:z({height:f(n)})},{default:t(()=>[(r(!0),h(E,null,j(f(l),(s,m)=>{var c;return r(),L(p,{key:m,index:s.path,title:(c=s.meta)==null?void 0:c.name},{default:t(()=>{var d;return[u(C((d=s.meta)==null?void 0:d.name),1)]}),_:2},1032,["index","title"])}),128))]),_:1},8,["style"])])}}});const _e=i=>(T("data-v-55d793b8"),i=i(),G(),i),ce={class:"4444"},ie=_e(()=>a("span",null," \u7BA1\u7965\u73AE\u7684\u4E2A\u4EBA\u7F51\u7AD9 \xA9Copyright 2022-2022 ",-1)),de=w({setup(i){const l=()=>{let _="https://github.com/simple321vip";window.open(_,"_blank")},n=()=>{let _="https://beian.miit.gov.cn/#/Integrated/index";window.open(_,"_blank")};return(_,g)=>{const p=o("el-aside"),v=o("el-header"),s=o("el-main"),m=o("el-avatar"),c=o("el-footer"),d=o("el-container");return r(),h("div",ce,[e(d,null,{default:t(()=>[e(p,{width:"150px"},{default:t(()=>[e(ue)]),_:1}),e(d,null,{default:t(()=>[e(v,{style:{"border-bottom-style":"solid","border-bottom-width":"0.5px","border-bottom-color":"rgba(151, 151, 151, 0.3)"}},{default:t(()=>[e(ae)]),_:1}),e(s,null,{default:t(()=>[e(J)]),_:1}),e(c,null,{default:t(()=>[ie,a("span",{onClick:n},"\u8FBDICP\u59072022003637\u53F7-2"),a("div",null,[e(m,{onClick:l,src:"https://github.githubassets.com/favicons/favicon.svg"})])]),_:1})]),_:1})]),_:1})])}}});var fe=D(de,[["__scopeId","data-v-55d793b8"]]);export{fe as default};
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
.open_side{background:url(/assets/logo.03d6d6da.png) center no-repeat;background-size:cover}.nav-main{display:flex;align-items:center;justify-content:space-between}.side_Style{width:100px}.side-main{width:200px}.el-footer[data-v-55d793b8]{display:flex;justify-content:space-around}
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
.open_side{background:url(/assets/logo.03d6d6da.png) center no-repeat;background-size:cover}.nav-main{float:right}.side_Style{width:100px}.side-main{width:200px}
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{_ as x,r as t,o as r,c as m,a as e,d as D,b as C,e as _,f as l,t as b,u as p,w as A,v as w,g as u,F as k,h as E,l as $,i as V,j as H,k as M,n as I,p as N,m as L}from"./index.4a6e9266.js";import{h as y}from"./moment.a9f98195.js";import{u as T}from"./tenant.25fbfc82.js";const j={},z={class:"section-main",style:{height:"100%"}};function U(a,s){const n=t("router-view");return r(),m("section",z,[e(n)])}var q=x(j,[["render",U]]);const G={class:"nav-main"},J=_("span",null,"\u8BBA\u4E00\u4E2A\u7A0B\u5E8F\u5458\u7684\u5BC2\u5BDE\u4E0E\u5FE7\u4F24",-1),K=l("profile"),O=l("\u9000\u51FA"),P=_("span",null,"\u786E\u8BA4\u4F60\u7684\u767B\u51FA\u64CD\u4F5C\u4E48\uFF1F",-1),Q={class:"dialog-footer"},R=l("\u53D6\u6D88"),W=l("\u786E\u8BA4"),X=D({setup(a){const s=T();s.reflush();const n=C(!1);let c=C(y().format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss"));setInterval(()=>{c.value=y().format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss")},1e3);const F=()=>{E.push({path:"/login"})},d=()=>{n.value=!1,$(s.id).then(()=>{s.logout(),E.push({path:"/login"})})};return(f,o)=>{const v=t("el-avatar"),i=t("el-dropdown-item"),h=t("el-dropdown-menu"),S=t("el-dropdown"),g=t("el-button"),Y=t("el-dialog");return r(),m(k,null,[_("div",G,[l(" \u5F53\u524D\u65F6\u95F4\uFF1A"+b(p(c))+" ",1),J,A(e(S,{trigger:"click"},{dropdown:u(()=>[e(h,null,{default:u(()=>[e(i,null,{default:u(()=>[K]),_:1}),e(i,{onClick:o[0]||(o[0]=B=>n.value=!0)},{default:u(()=>[O]),_:1})]),_:1})]),default:u(()=>[e(v,{src:"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"})]),_:1},512),[[w,p(s).account]]),A(_("span",{onClick:F},"\u767B\u5F55",512),[[w,!p(s).account]])]),e(Y,{modelValue:n.value,"onUpdate:modelValue":o[2]||(o[2]=B=>n.value=B),title:"\u63D0\u793A",width:"30%"},{footer:u(()=>[_("span",Q,[e(g,{onClick:o[1]||(o[1]=B=>n.value=!1)},{default:u(()=>[R]),_:1}),e(g,{type:"primary",onClick:d},{default:u(()=>[W]),_:1})])]),default:u(()=>[P]),_:1},8,["modelValue"])],64)}}});const Z=D({setup(a){let s=E.options.routes[0].children,n=C("");return V(()=>{n.value=window.innerHeight+"px"}),(c,F)=>{const d=t("el-menu-item"),f=t("el-menu");return r(),m("div",null,[e(f,{router:"",class:"side_Style",style:I({height:p(n)})},{default:u(()=>[(r(!0),m(k,null,H(p(s),(o,v)=>{var i;return r(),M(d,{key:v,index:o.path,title:(i=o.meta)==null?void 0:i.name},{default:u(()=>{var h;return[l(b((h=o.meta)==null?void 0:h.name),1)]}),_:2},1032,["index","title"])}),128))]),_:1},8,["style"])])}}});const ee=a=>(N("data-v-7c0e872a"),a=a(),L(),a),ue={class:"4444"},te=ee(()=>_("span",null,[l(" \u672C\u7F51\u7AD9\u4E0D\u6D89\u53CA\u8272\u60C5\uFF0C\u8D4C\u535A\uFF0C\u6BD2\u54C1\u548C\u653F\u6CBB\u5B97\u6559\u7B49\u5185\u5BB9\uFF0C\u6682\u65F6\u4E3A\u4E2A\u4EBA\u5B66\u4E60\u7528\u9014\u3002 \u8003\u8651\u5230\u6CD5\u5F8B\u98CE\u9669\uFF0C\u9488\u5BF9\u6709\u654F\u611F\u8BCD\u6C47\u8FD8\u8BBE\u6709\u8FC7\u6EE4\u529F\u80FD\uFF0C\u6240\u4EE5\u6682\u65F6\u4E0D\u5BF9\u5916\u63D0\u4F9B\u4E00\u5207\u529F\u80FD\u3002 "),_("br"),l(" \u518D\u6B21\u91CD\u7533\uFF0C\u672C\u7F51\u7AD9\u53EA\u4F5C\u4E3A\u5B66\u4E60\u7F51\u7AD9\u3002\u3002\u3002\u3002\u3002\u3002 ")],-1)),oe=D({setup(a){return(s,n)=>{const c=t("el-aside"),F=t("el-header"),d=t("el-main"),f=t("el-footer"),o=t("el-container");return r(),m("div",ue,[e(o,null,{default:u(()=>[e(c,{width:"150px"},{default:u(()=>[e(Z)]),_:1}),e(o,null,{default:u(()=>[e(F,{style:{"border-bottom-style":"solid","border-bottom-width":"0.5px","border-bottom-color":"rgba(151, 151, 151, 0.3)"}},{default:u(()=>[e(X)]),_:1}),e(d,null,{default:u(()=>[e(q)]),_:1}),e(f,null,{default:u(()=>[te]),_:1})]),_:1})]),_:1})])}}});var ae=x(oe,[["__scopeId","data-v-7c0e872a"]]);export{ae as default};
|
||||
Vendored
BIN
Binary file not shown.
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{E as n}from"./style.783c2b77.js";import{d as u,b as l,O as i,o as m,k as p,u as r,J as d}from"./index.4a6e9266.js";import{c}from"./blogView.4b0b5f89.js";import"./index.220e6de4.js";const g=u({setup(f){let e=l("");const s=i().query;return(()=>{c(s.bid).then(t=>{e.value=t.data.content})})(),(t,o)=>(m(),p(r(n),{modelValue:r(e),"onUpdate:modelValue":o[0]||(o[0]=a=>d(e)?e.value=a:e=a),previewOnly:""},null,8,["modelValue"]))}});export{g as default};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{E as n}from"./style.dfa37c7e.js";import{d as u,b as l,o as i,k as m,u as r,L as p,T as d}from"./index.2956dc9f.js";import{c}from"./blogView.8b42affd.js";import"./index.cd7d1af2.js";const g=u({setup(f){let e=l("");const s=d().query;return(()=>{c(s.bid).then(t=>{e.value=t.data.content})})(),(t,o)=>(i(),m(r(n),{modelValue:r(e),"onUpdate:modelValue":o[0]||(o[0]=a=>p(e)?e.value=a:e=a),previewOnly:""},null,8,["modelValue"]))}});export{g as default};
|
||||
Vendored
+10
File diff suppressed because one or more lines are too long
Binary file not shown.
Vendored
-10
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{q as s}from"./index.2956dc9f.js";const t=s({id:"strategy",state:()=>({class_names:[],vt_symbols:new Map,subscribe_vt_symbols:[],exchanges:[]})});export{t as s};
|
||||
Vendored
-84
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
+84
File diff suppressed because one or more lines are too long
Vendored
BIN
Binary file not shown.
Vendored
-1
@@ -1 +0,0 @@
|
||||
var d=Object.defineProperty,h=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var s=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var n=(e,a,t)=>a in e?d(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,o=(e,a)=>{for(var t in a||(a={}))k.call(a,t)&&n(e,t,a[t]);if(s)for(var t of s(a))f.call(a,t)&&n(e,t,a[t]);return e},c=(e,a)=>h(e,g(a));import{q as l,s as p,x as T,y as m,z as y,A as i,B as z}from"./index.4a6e9266.js";const w=l({id:"tenant",state:()=>({account:"",token:"",id:""}),getters:{},actions:{logout(){this.$patch({account:"",token:"",id:""}),p()},async login(e,a){const t=await T({user_id:e,user_password:a});return t.data.token&&(this.$patch(c(o({account:e},t.data),{id:"true"})),m(t.data.token),y(t),console.log("authorize success!")),new Promise((r,u)=>{t.data.message?u(t.data.message):r(t.data)})},async reflush(){if(i()){const e=JSON.parse(z()),a=i();this.$patch({account:e.account,token:a,id:e.id})}}}});export{w as u};
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{q as c,s as i,x as r,y as u,z as d,A as s,B as h}from"./index.2956dc9f.js";const k=c({id:"tenant",state:()=>({account:"",token:"",id:""}),getters:{},actions:{logout(){this.$patch({account:"",token:"",id:""}),i()},async login(a,e){const t=await r({user_id:a,user_password:e});return t.data.token&&(this.$patch({account:a,...t.data,id:"true"}),u(t.data.token),d(t),console.log("authorize success!")),new Promise((n,o)=>{t.data.message?o(t.data.message):n(t.data)})},async reflush(){if(s()){const a=JSON.parse(h()),e=s();this.$patch({account:a.account,token:e,id:a.id})}}}});export{k as u};
|
||||
Reference in New Issue
Block a user