From bc2a7316ce753a6731d9d93faf553f450a9ccda3 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 21 Apr 2024 13:43:06 +0800
Subject: [PATCH] first
---
src/page/trading/buy.vue | 25 +++++--------------------
1 files changed, 5 insertions(+), 20 deletions(-)
diff --git a/src/page/trading/buy.vue b/src/page/trading/buy.vue
index be3bbaf..750af56 100644
--- a/src/page/trading/buy.vue
+++ b/src/page/trading/buy.vue
@@ -113,20 +113,11 @@
</div>
</div>
</div>
- <div class="tr_rs gg" @click="showGg = true">
- <div class="top_bzz">
- <span>{{ $t("hj101") }}</span>
- <span>{{ selectCycle + "X" }}</span>
- </div>
- <!-- <div class="bottom_bzz">
- <span>{{ }}</span>
- <span>{{ }}</span>
- </div> -->
- </div>
+
<div class="tr_rs">
<div class="top_bzz" style="padding-bottom: 0.2rem">
<span style="text-align: left">
- {{ $t("hj102") }}({{ moneyData.symbol || "$" }})
+ {{ $t("交易总额") }}({{ moneyData.symbol || "$" }})
</span>
<span style="text-align: right">
{{ $t("hj103") }}({{ moneyData.symbol || "$" }})
@@ -465,7 +456,7 @@
elAlertType: "success",
});
this.getUserInfo();
- this.$router.push("/warehouse?index=1");
+ this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
} else {
this.$store.commit("elAlertShow", {
elAlertShow: true,
@@ -543,13 +534,7 @@
} else {
buyType = 0;
}
- if (this.bayType == "US") {
- this.$router.push("/warehouse?index=1&buyType=" + buyType);
- } else if (this.bayType == "MAS") {
- this.$router.push("/warehouse?index=0&buyType=" + buyType);
- } else {
- this.$router.push("/warehouse");
- }
+ this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
} else {
if (data.msg.indexOf("不在交易时段内") > -1) {
this.$store.commit("elAlertShow", {
@@ -576,7 +561,7 @@
elAlertType: "success",
});
this.getUserInfo();
- this.$router.push("/warehouse?index=0");
+ this.$router.push("/warehouse?index=1&buyType=" + this.bayType);
} else {
this.$store.commit("elAlertShow", {
elAlertShow: true,
--
Gitblit v1.9.3