From 0df61bbe45cd6adf9de18074b5e978673247be85 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Tue, 26 Mar 2024 00:05:55 +0800
Subject: [PATCH] 注册页面的客服地址错误
---
src/page/user/Warehouse/item.card.vue | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/src/page/user/Warehouse/item.card.vue b/src/page/user/Warehouse/item.card.vue
index fc9362d..a89697c 100644
--- a/src/page/user/Warehouse/item.card.vue
+++ b/src/page/user/Warehouse/item.card.vue
@@ -6,7 +6,7 @@
<div class="total-data">0.0000</div>
<div class="total-data-huansuan">≈ $0.0000</div>
</div>
- <div class="right">全部平仓</div>
+ <div class="right" @click="closeAll">全部平仓</div>
</div>
<div class="item-card-itembox">
@@ -46,15 +46,30 @@
<div class="itembox-name">浮動盈虧 ({{ activeObj.laber }})</div>
</div>
</div>
+ <Dialog ref="closeAllDialog" title="一鍵平倉">
+ <template v-slot:center>
+ <div>您確定一鍵平倉所有訂單嗎?</div>
+ </template>
+ </Dialog>
+
</div>
</template>
<script>
+import Dialog from "@/components/Dialog";
+
export default {
+ components: { Dialog },
props: {
activeObj: {
type: Object,
default: {},
+ },
+ },
+
+ methods: {
+ closeAll() {
+ this.$refs.closeAllDialog.show = true;
},
},
};
@@ -154,4 +169,5 @@
}
}
}
+
</style>
\ No newline at end of file
--
Gitblit v1.9.3