From 9412111c022a73cd422b96074c895b2747656b80 Mon Sep 17 00:00:00 2001
From: qinzhenpen <11463128+qinzhenpen@user.noreply.gitee.com>
Date: Fri, 30 Jun 2023 19:52:10 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E4=BA=A4=E6=98=93=E5=AE=8C?=
=?UTF-8?q?=E6=88=90=E6=90=AD=E5=BB=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/src/views/PracticeZone/index.vue | 11 +-
.../src/views/homepage/components/deals.vue | 296 +++++++++---------
ruoyi-ui/src/views/homepage/index.vue | 2 +-
ruoyi-ui/src/views/homepage/overview.vue | 17 +-
.../src/views/trade/components/Deposit.vue | 144 +++++++++
.../src/views/trade/components/current.vue | 43 +--
ruoyi-ui/src/views/trade/components/deals.vue | 252 +++++++--------
.../src/views/trade/components/orders.vue | 180 +++++++++++
ruoyi-ui/src/views/trade/holding.vue | 207 ++++++------
ruoyi-ui/src/views/trade/strike.vue | 265 ++++++++--------
10 files changed, 859 insertions(+), 558 deletions(-)
create mode 100644 ruoyi-ui/src/views/trade/components/Deposit.vue
create mode 100644 ruoyi-ui/src/views/trade/components/orders.vue
diff --git a/ruoyi-ui/src/views/PracticeZone/index.vue b/ruoyi-ui/src/views/PracticeZone/index.vue
index cb5667b..54300ea 100644
--- a/ruoyi-ui/src/views/PracticeZone/index.vue
+++ b/ruoyi-ui/src/views/PracticeZone/index.vue
@@ -35,7 +35,6 @@ export default {
name: "",
components: {
tabs1,
-
},
data() {
return {
@@ -53,11 +52,13 @@ export default {
computed: {},
methods: {
handleClick(tab) {
- tab.name == "tabs1"? this.nowName = tab.name: this.nowName = tab.name;
+ tab.name == "tabs1"
+ ? (this.nowName = tab.name)
+ : (this.nowName = tab.name);
+ },
+ progress() {
+ this.$tab.openPage("进行中", "/trade/index");
},
- progress(){
- this.$tab.openPage("进行中", "/trade/index");
- }
},
};
diff --git a/ruoyi-ui/src/views/homepage/components/deals.vue b/ruoyi-ui/src/views/homepage/components/deals.vue
index 9080ca4..f7d48cc 100644
--- a/ruoyi-ui/src/views/homepage/components/deals.vue
+++ b/ruoyi-ui/src/views/homepage/components/deals.vue
@@ -1,146 +1,158 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
- 买方
- 卖方
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 买方
+
+ 卖方
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+export default {
+ data() {
+ return {
+ tableData: [
+ {
+ ranking: "2023-06-13 22:22:21",
+ class: "eurusd",
+ name: 1,
+ StudentID: "2003001",
+ profit: "+20000",
+ income: "50%",
+ number: "8",
+ Simulation: "80",
+ experiment: "70",
+ },
+ {
+ ranking: "2023-06-13 22:22:21",
+ class: "eurusd",
+ name: 0,
+ StudentID: "2003001",
+ profit: "+20000",
+ income: "20%",
+ number: "8",
+ Simulation: "80",
+ experiment: "70",
+ },
+ {
+ ranking: "2023-06-13 22:22:21",
+ class: "eurusd",
+ name: 0,
+ StudentID: "2003001",
+ profit: "+20000",
+ income: "20%",
+ number: "8",
+ Simulation: "80",
+ experiment: "70",
+ },
+ {
+ ranking: "2023-06-13 22:22:21",
+ class: "eurusd",
+ name: 1,
+ StudentID: "2003001",
+ profit: "+20000",
+ income: "20%",
+ number: "8",
+ Simulation: "80",
+ experiment: "70",
+ },
+ {
+ ranking: "2023-06-13 22:22:21",
+ class: "eurusd",
+ name: 0,
+ StudentID: "2003001",
+ profit: "+20000",
+ income: "20%",
+ number: "8",
+ Simulation: "80",
+ experiment: "70",
+ },
+ {
+ ranking: "2023-06-13 22:22:21",
+ class: "eurusd",
+ name: 1,
+ StudentID: "2003001",
+ profit: "+20000",
+ income: "20%",
+ number: "8",
+ Simulation: "80",
+ experiment: "70",
+ },
+
+ {
+ ranking: "2023-06-13 22:22:21",
+ class: "eurusd",
+ name: 0,
+ StudentID: "2003001",
+ profit: "-20000",
+ income: "40%",
+ number: "8",
+ Simulation: "80",
+ experiment: "70",
+ },
+ ],
+ };
+ },
+};
+
\ No newline at end of file
+.transaction-footer {
+ height: 25px;
+ display: flex;
+ justify-content: flex-end;
+ margin-bottom: 16px;
+ & span {
+ margin-right: 51px;
+ & i {
+ color: pink;
+ font-size: 24px;
+ font-weight: bold;
+ }
+ }
+
+}
+.pagination-container {
+ background: #f5f6f6 !important;
+ }
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/homepage/index.vue b/ruoyi-ui/src/views/homepage/index.vue
index 584b7cd..4eb5cbd 100644
--- a/ruoyi-ui/src/views/homepage/index.vue
+++ b/ruoyi-ui/src/views/homepage/index.vue
@@ -91,7 +91,7 @@ export default {
border-bottom: none;
max-width: 80% !important;
}
- .el-tabs__nav-scroll {
+ .el-tabs__nav {
border: none !important;
.el-tabs__item {
background-color: transparent;
diff --git a/ruoyi-ui/src/views/homepage/overview.vue b/ruoyi-ui/src/views/homepage/overview.vue
index 1f597b4..a512ecd 100644
--- a/ruoyi-ui/src/views/homepage/overview.vue
+++ b/ruoyi-ui/src/views/homepage/overview.vue
@@ -127,5 +127,20 @@ export default {
padding: 10px 0;
background-color: #f9fafc;
}
-
+::v-deep .tabs {
+ background: #F5F6F6;
+ padding: 19px;
+ border-radius: 5px;
+ .el-tabs__nav-wrap::after {
+ background: transparent;
+ }
+ .el-tabs__item {
+ background: #F5F6F6 !important;
+ margin-right: 0px !important;
+ &.is-active {
+ background-color: #3c9cf5;
+ color: #3c9cf5 !important;
+ }
+ }
+}
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/trade/components/Deposit.vue b/ruoyi-ui/src/views/trade/components/Deposit.vue
new file mode 100644
index 0000000..148a7fe
--- /dev/null
+++ b/ruoyi-ui/src/views/trade/components/Deposit.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预警中
+ 已停用
+
+
+
+
+
+ 删除
+ 启用
+
+
+
+
+
+ 预警
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预警中
+ 已停用
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/trade/components/current.vue b/ruoyi-ui/src/views/trade/components/current.vue
index b455bfa..a4ea87d 100644
--- a/ruoyi-ui/src/views/trade/components/current.vue
+++ b/ruoyi-ui/src/views/trade/components/current.vue
@@ -16,31 +16,14 @@
- 买方
- 卖方
+ 买
+ 卖
-
-
- {{
- scope.row.profit
- }}
- {{
- scope.row.profit
- }}
-
+
+
@@ -48,19 +31,17 @@
-
+
+
+ {{ scope.row.experiment}}
+ {{ scope.row.experiment}}
+
- 修 改
- 平 仓修改
+ 平仓
@@ -198,7 +179,7 @@ export default {
income: "20%",
number: "8",
Simulation: "80",
- experiment: "70",
+ experiment: "-70",
},
{
ranking: "euresd",
diff --git a/ruoyi-ui/src/views/trade/components/deals.vue b/ruoyi-ui/src/views/trade/components/deals.vue
index 9080ca4..9b72e75 100644
--- a/ruoyi-ui/src/views/trade/components/deals.vue
+++ b/ruoyi-ui/src/views/trade/components/deals.vue
@@ -1,146 +1,114 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
- 买方
- 卖方
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 买
+ 卖
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
+ ],
+ };
+ },
+};
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/trade/components/orders.vue b/ruoyi-ui/src/views/trade/components/orders.vue
new file mode 100644
index 0000000..d653017
--- /dev/null
+++ b/ruoyi-ui/src/views/trade/components/orders.vue
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.experiment}}
+ {{ scope.row.experiment}}
+
+
+
+
+
+
+
+
+
+ 撤单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 9661.00
+ 6.90494 / 6.90498
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/trade/holding.vue b/ruoyi-ui/src/views/trade/holding.vue
index 8a6057e..306733d 100644
--- a/ruoyi-ui/src/views/trade/holding.vue
+++ b/ruoyi-ui/src/views/trade/holding.vue
@@ -1,31 +1,34 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 交易
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 交易
+
+
+
-
+
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/trade/strike.vue b/ruoyi-ui/src/views/trade/strike.vue
index 3b2ecef..8052b3f 100644
--- a/ruoyi-ui/src/views/trade/strike.vue
+++ b/ruoyi-ui/src/views/trade/strike.vue
@@ -1,146 +1,143 @@
-
-
-
-
-
-
-
-
-
-
- 买方
- 卖方
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file