-
-
-
-
-
-
-
-
-
- {{account_data.account_id}}
-
- {{account_data.geteway_name}}
- {{account_data.frozen}}
-
-
-
-
-
-
-
-
- {{account_data.balance}}
-
- No.1188, Gaoxinyuan Avenue, Dalian District, Liaoning, Jiangsu
- Province
-
-
-
-
-
-
-
-
-
- 下单
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{account_data.account_id}}
+
+
+
+
+
+
+
+
+
+ {{account_data.balance}}
+
+
+
+
+
+
+
+
+
+ {{account_data.frozen}}
+
+
+
+
+
+
+
+
+
+ {{account_data.gateway_name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 下单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -107,7 +136,7 @@ import { reactive, ref, h, onMounted, onUnmounted } from 'vue'
import { get_accounts, send_order, get_tick } from '../../api/capital'
import { strategyStore } from '../../store/strategy';
type AccountData = {
- geteway_name: string
+ gateway_name: string
account_id: string
balance: number
frozen: number
@@ -156,7 +185,7 @@ const volume = ref(1)
const price = ref(3000)
const timer = ref(0)
const account_data = reactive
({
- geteway_name: '',
+ gateway_name: '',
account_id: '',
balance: 0.0,
frozen: 0.0
@@ -164,7 +193,7 @@ const account_data = reactive({
const positions_data = reactive([])
const trades_data = reactive([])
const orders_data = reactive([])
-
+const activeNames = ref(['1'])
const on_query_accounts = () => {
get_accounts().then(res => {
@@ -172,7 +201,7 @@ const on_query_accounts = () => {
let account: any = accounts.pop()
account_data.account_id = account.account_id
account_data.balance = account.balance
- account_data.geteway_name = account.geteway_name
+ account_data.gateway_name = account.gateway_name
account_data.frozen = account.frozen
positions_data.length = 0
diff --git a/src/view/recommend/index.vue b/src/view/recommend/index.vue
index bcb9cfe..491e138 100644
--- a/src/view/recommend/index.vue
+++ b/src/view/recommend/index.vue
@@ -1,38 +1,45 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+