| | |
| | | <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"> |
| | |
| | | <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; |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |