| | |
| | | <van-row> |
| | | <van-col span="18"> |
| | | <div style="text-align: left"> |
| | | <div class="sport-content-title2">{{ $t("持倉時間") }}{{ $moment(item.buyOrderTime).format("DD-MM-YYYY hh:mm:ss A") }}</div> |
| | | <!-- <div class="sport-content-title2">{{ $t("訂單編號") }}</div> --> |
| | | <!-- <div class="sport-content-title2">{{ $t("持倉時間") }}{{ $moment(item.buyOrderTime).format("DD-MM-YYYY hh:mm:ss A") }}</div> --> |
| | | <div class="sport-content-title2">{{ $t("hj141") }}</div> |
| | | </div> |
| | | </van-col> |
| | | <van-col span="6"> |
| | |
| | | </van-col> |
| | | <van-col span="12"> |
| | | <div style="text-align: right"> |
| | | <div class="sport-content-text2">¥{{ item.orderFee }}</div> |
| | | <div class="sport-content-text2">{{ item.orderFee }}円</div> |
| | | </div> |
| | | </van-col> |
| | | </van-row> |
| | |
| | | {{ $t("盈虧") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2" :style="item.profitAndLoseParent.charAt(0)=='-'?'color:#cc1b1b;':'color:#3e9976;'"> |
| | | ¥{{ item.profitAndLose | _toLocaleString }} |
| | | 円{{ item.profitAndLose | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("hj40") }}({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.now_price | _toLocaleString }} |
| | | 円{{ item.now_price | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("持倉價") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.buyOrderPrice | _toLocaleString }} |
| | | 円{{ item.buyOrderPrice | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("訂單金額") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.orderTotalPrice | _toLocaleString }} |
| | | 円{{ item.orderTotalPrice | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("hj44") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.orderFee | _toLocaleString }} |
| | | 円{{ item.orderFee | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("待补金额") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.amountToBeCovered | _toLocaleString }} |
| | | 円{{ item.amountToBeCovered | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> --> |
| | |
| | | <van-row> |
| | | <van-col span="18"> |
| | | <div style="text-align: left"> |
| | | <div class="sport-content-title2">{{ $t("持倉時間") }}{{ $moment(item.buyOrderTime).format("DD-MM-YYYY hh:mm:ss A") }}</div> |
| | | <div class="sport-content-title2">{{ $t("持倉時間") }}{{ formatTimestamp(item.buyOrderTime) }}</div> |
| | | <!-- <div class="sport-content-title2">{{ $t("訂單編號") }}</div> --> |
| | | </div> |
| | | </van-col> |
| | |
| | | </van-col> |
| | | <van-col span="12"> |
| | | <div style="text-align: right"> |
| | | <div class="sport-content-text2">¥{{ item.orderFee }}</div> |
| | | <div class="sport-content-text2">円{{ item.orderFee }}</div> |
| | | </div> |
| | | </van-col> |
| | | </van-row> |
| | |
| | | {{ $t("盈虧") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2" :style="item.profitAndLoseParent.charAt(0)=='-'?'color:#cc1b1b;':'color:#3e9976;'"> |
| | | ¥{{ item.profitAndLose | _toLocaleString }} |
| | | 円{{ item.profitAndLose | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("hj40") }}({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.now_price | _toLocaleString }} |
| | | 円{{ item.now_price | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("持倉價") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.buyOrderPrice | _toLocaleString }} |
| | | 円{{ item.buyOrderPrice | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("訂單金額") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.orderTotalPrice | _toLocaleString }} |
| | | 円{{ item.orderTotalPrice | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> |
| | |
| | | {{ $t("hj44") }} ({{ activeObj.symbolCode }}) |
| | | </div> |
| | | <div class="sport-content-text2"> |
| | | ¥{{ item.orderFee | _toLocaleString }} |
| | | 円{{ item.orderFee | _toLocaleString }} |
| | | </div> |
| | | </div> |
| | | </van-col> --> |
| | |
| | | clearInterval(this.timer); // 在组件销毁前清除定时器 |
| | | }, |
| | | methods: { |
| | | formatTimestamp(timestamp) { |
| | | const date = new Date(timestamp); // 将时间戳转换为 Date 对象 |
| | | |
| | | const day = date.getDate(); // 日期 |
| | | const month = date.getMonth() + 1; // 月份(从 0 开始,所以下标要加 1) |
| | | const year = date.getFullYear(); // 年份 |
| | | const hours = date.getHours(); // 小时 |
| | | const minutes = date.getMinutes(); // 分钟 |
| | | const seconds = date.getSeconds(); // 秒钟 |
| | | |
| | | // 格式化为 "日月年/时分秒" 格式 |
| | | return `${year}${this.$t('年')}${month}${this.$t('月')}${day}${this.$t('日')}/${hours}:${minutes}:${seconds}`; |
| | | // return `${month}`; |
| | | }, |
| | | dsq(){ |
| | | // this.dataList = []; |
| | | this.timer = setInterval(() => { |
| | |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-left: 15px; |
| | | width: 25%; |
| | | // width: 25%; |
| | | } |
| | | .list_box_txt{ |
| | | padding: 2px 4px; |