From aabb1eabeace98b80313e37c47b7eabce8c4d837 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Mon, 01 Jul 2024 19:04:29 +0800
Subject: [PATCH] 7/1电脑版需要改动的地方

---
 pc6.8.zip                                  |    0 
 src/components/spot/SpotPosition/index.vue |    8 ++++----
 src/api/perpetualContract.js               |    2 +-
 src/api/quotes.js                          |    2 +-
 src/components/spot/createOrder.vue        |    3 ++-
 5 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/pc6.8.zip b/pc6.8.zip
new file mode 100644
index 0000000..5e0cccd
--- /dev/null
+++ b/pc6.8.zip
Binary files differ
diff --git a/src/api/perpetualContract.js b/src/api/perpetualContract.js
index cb8fb6d..a534ae5 100644
--- a/src/api/perpetualContract.js
+++ b/src/api/perpetualContract.js
@@ -44,7 +44,7 @@
 
 // 资产
 function getAssets(data) {
-  return Axios.fetch("wap/api/wallet/getAll.action", data);
+  return Axios.fetch("wap/api/wallet!getAll.action", data);
 }
 // 委托订单列表
 function contractApplyOrderOpenList(data) {
diff --git a/src/api/quotes.js b/src/api/quotes.js
index b07e688..630f919 100644
--- a/src/api/quotes.js
+++ b/src/api/quotes.js
@@ -1,6 +1,6 @@
 import Axios from "@/utils/http";
 function getPairsWallet(data) {
-  return Axios.fetch("wap/api/wallet/getAll.action", data);
+  return Axios.fetch("wap/api/wallet!getAll.action", data);
 }
 function getExchangerateuserconfig() {
   return Axios.fetch("wap/api/exchangerate!list.action");
diff --git a/src/components/spot/SpotPosition/index.vue b/src/components/spot/SpotPosition/index.vue
index f6fa50d..a896493 100644
--- a/src/components/spot/SpotPosition/index.vue
+++ b/src/components/spot/SpotPosition/index.vue
@@ -100,7 +100,7 @@
       tabs: [
         { name: this.$t("message.home.dangqianweituo"), value: "orders" },
         { name: this.$t("message.home.lishiweituo"), value: "hisorders" },
-        { name: this.$t("message.home.lishichengjiao"), value: "hisorders" },
+        { name: this.$t("message.home.lishichengjiao"), value: "opponent" },
         { name: this.$t("message.home.zichanguanli"), value: "pairs" },
       ],
       tabIndex: 0,
@@ -186,16 +186,16 @@
       let obj = {
         page_no: this.pageNum,
         type: this.orderType,
-        symbolType: this.paramsType,
+        // symbolType: this.paramsType,
         symbol: this.$route.params.id,
       };
       // 历史委托, 限价
       if (this.tabIndex == 1) {
-        obj.orderPriceType = "limit";
+        // obj.orderPriceType = "limit";
       }
       //历史成交
       if (this.tabIndex == 2) {
-        obj.orderPriceType = "opponent";
+        // obj.orderPriceType = "opponent";
       }
 
       if (this.tabIndex == 1 || this.tabIndex == 2) {
diff --git a/src/components/spot/createOrder.vue b/src/components/spot/createOrder.vue
index 4082fc3..d984353 100644
--- a/src/components/spot/createOrder.vue
+++ b/src/components/spot/createOrder.vue
@@ -86,7 +86,8 @@
                     class="okui-input-input"
                   />
                   <div class="input-wrapper">
-                    {{ unit }}
+                    BTC
+                    <!-- {{ unit }} -->
                     <!-- {{ getSymbolUpper }} -->
                   </div>
                 </div>

--
Gitblit v1.9.3