1
jhzh
2025-10-22 7d3ca5dd947ad70aaca52c52051f85fcbb7b340d
src/views/cryptos/PerpetualContract/orderDetail.vue
@@ -21,16 +21,16 @@
        </div>
        <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('开仓金额') }}</div>
          <div class="textColor">{{ detail.amount_open }}</div>
          <div class="textColor">{{ detail.deposit_open }}</div>
        </div>
        <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('可平金额') }}</div>
          <div class="textColor">{{ detail.amount }}</div>
        </div>
        <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('保证金') }}</div>
          <div class="textColor">{{ detail.deposit }}</div>
        </div>
        <!-- <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('保证金') }}</div>
          <div class="textColor">{{ detail.deposit }}</div>
        </div> -->
        <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('手续费') }}</div>
          <div class="textColor">{{ detail.fee }}</div>
@@ -39,21 +39,30 @@
          <div class="text-grey">{{ $t('建仓成本') }}</div>
          <div class="textColor">{{ detail.trade_avg_price }}</div>
        </div>
        <div class="flex justify-between cell-item">
      <div class="flex justify-between cell-item">
        <div class="text-grey">{{ $t('止盈') }}</div>
        <div class="textColor">{{ detail.stop_price_profit }}</div>
      </div>
      <div class="flex justify-between cell-item">
        <div class="text-grey">{{ $t('止损') }}</div>
        <div class="textColor">{{ detail.stop_price_loss }}</div>
      </div>
        <!-- <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('平仓价格') }}</div>
          <div class="textColor">{{ detail.close_avg_price }}</div>
        </div>
        </div> -->
        <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('订单号') }}</div>
          <div class="textColor">{{ detail.order_no }}</div>
        </div>
        <div class="flex justify-between cell-item">
          <div class="text-grey">{{ $t('开仓时间') }}</div>
          <div class="textColor">{{ detail.create_time }}</div>
          <div class="textColor">{{ detail.create_time }}(UTC+2)</div>
        </div>
        <div class="flex justify-between cell-item ">
          <div class="text-grey">{{ $t('平仓时间') }}</div>
          <div class="textColor">{{ detail.close_time ? dayjs(detail.close_time * 1000).format('YYYY-MM-DD HH:mm:ss') :
          <div class="textColor">{{ detail.close_time ? dayjs(detail.close_time * 1000).format('YYYY-MM-DD HH:mm:ss')+'(UTC+2)' :
            '--' }}</div>
        </div>
      </div>