dcc
2024-07-01 aabb1eabeace98b80313e37c47b7eabce8c4d837
7/1电脑版需要改动的地方
4 files modified
1 files added
15 ■■■■ changed files
pc6.8.zip patch | view | raw | blame | history
src/api/perpetualContract.js 2 ●●● patch | view | raw | blame | history
src/api/quotes.js 2 ●●● patch | view | raw | blame | history
src/components/spot/SpotPosition/index.vue 8 ●●●● patch | view | raw | blame | history
src/components/spot/createOrder.vue 3 ●●●● patch | view | raw | blame | history
pc6.8.zip
Binary files differ
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) {
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");
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) {
src/components/spot/createOrder.vue
@@ -86,7 +86,8 @@
                    class="okui-input-input"
                  />
                  <div class="input-wrapper">
                    {{ unit }}
                    BTC
                    <!-- {{ unit }} -->
                    <!-- {{ getSymbolUpper }} -->
                  </div>
                </div>