diff --git a/src/components/Modal.vue b/src/components/Modal.vue index df4b3fd..ccdbc79 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -1,26 +1,48 @@ diff --git a/src/layout/dashboard/DashboardLayout.vue b/src/layout/dashboard/DashboardLayout.vue index a562c8d..0a33959 100644 --- a/src/layout/dashboard/DashboardLayout.vue +++ b/src/layout/dashboard/DashboardLayout.vue @@ -3,7 +3,7 @@ + + + + + + 账号管理 + 机器人管理 + 短线胜率测试 diff --git a/src/pages/ReCheck/AccountInfo.vue b/src/pages/ReCheck/AccountInfo.vue index 4a03caa..f55dd49 100644 --- a/src/pages/ReCheck/AccountInfo.vue +++ b/src/pages/ReCheck/AccountInfo.vue @@ -78,6 +78,14 @@ accountInfo.MinOrderProfitRatio.toFixed(2) }}%)

+ +

实际运营成本: {{ accountInfo.RealCost }}

+

持仓成本: {{ accountInfo.TotalPurchasePrice }}

+

波段盈亏 :{{ accountInfo.HistoryProfit }}

+

币本位盈亏: {{ accountInfo.BBWProfit }}

+

持币盈亏 : {{ accountInfo.TotalPriceGap }}

+

浮动盈亏金额 : {{ accountInfo.TotalPurchasePriceProfit }}

+

总盈亏 : {{ accountInfo.ZYK }}

diff --git a/src/pages/RobotSec/Modal/RobotCreate.vue b/src/pages/RobotSec/Modal/RobotCreate.vue new file mode 100644 index 0000000..1a56693 --- /dev/null +++ b/src/pages/RobotSec/Modal/RobotCreate.vue @@ -0,0 +1,35 @@ + + + diff --git a/src/pages/RobotSec/Modal/RobotSetting.vue b/src/pages/RobotSec/Modal/RobotSetting.vue new file mode 100644 index 0000000..39178ea --- /dev/null +++ b/src/pages/RobotSec/Modal/RobotSetting.vue @@ -0,0 +1,74 @@ + + + diff --git a/src/pages/RobotSec/index.vue b/src/pages/RobotSec/index.vue new file mode 100644 index 0000000..4729d33 --- /dev/null +++ b/src/pages/RobotSec/index.vue @@ -0,0 +1,171 @@ + + + diff --git a/src/pages/prePages/js/selectoptions.js b/src/pages/prePages/js/selectoptions.js index bf24867..dd5940c 100644 --- a/src/pages/prePages/js/selectoptions.js +++ b/src/pages/prePages/js/selectoptions.js @@ -93,7 +93,8 @@ export const accountTypes = [ export const RobotPolicyType = [ { title: "动量现货", value: 0 }, { title: "顶底策略", value: 1 }, - { title: "动量趋势", value: 2 } + { title: "动量趋势", value: 2 }, + { title: "动量趋势2.0", value: 3 } ]; export const ResetMomentumWaveTest = { diff --git a/src/router/routes.js b/src/router/routes.js index 26639af..47f2094 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -17,6 +17,7 @@ const WinRate = () => import("@/pages/WinRate"); const ReCheck = () => import("@/pages/ReCheck"); const Capital = () => import("@/pages/Profit"); const Prev = () => import("@/pages/Prev"); +const RobotSec = () => import("@/pages/RobotSec"); const routes = [ { path: "/", @@ -64,6 +65,12 @@ const routes = [ name: "capital", meta: { auth: true }, component: Capital + }, + { + path: "robotsec", + name: "robotsec", + meta: { auth: true }, + component: RobotSec } // { // path: "profile",