| | |
| | | :dialogVisible="detailVisible" |
| | | :pageData="currencyData" |
| | | @closeDialog="handleCloseDetailDialog" |
| | | :showDetail = "showDetail" |
| | | ></detail-dialog> |
| | | <!-- 确认弹窗 --> |
| | | <dialog-confirm |
| | |
| | | deliveryType: "buy", |
| | | buyAndSellData: {}, |
| | | canOpen: true, //能否开仓,false表示处于休市状态 |
| | | showDetail: {} |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | symbol: 'btc', |
| | | // token: this.userInfo.token, |
| | | }).then((res) => { |
| | | console.log(res.data) |
| | | // console.log(res.data) |
| | | this.volume = res.data.amount; |
| | | this.sessionToken = res.data.session_token; |
| | | this.list = res.data.para; //交易时段 |
| | |
| | | order_no: res.data.order_no, |
| | | symbol: this.currencyData.symbol, |
| | | }; |
| | | bus.emit("showDetail", obj); |
| | | this.showDetail = obj |
| | | // bus.emit("showDetail", obj); |
| | | ElMessage({ |
| | | message: this.$t("message.jiaoyi.kaicangchenggong"), |
| | | type: "success", |