lxf
2025-07-15 47c6e203f6eeda2d8702091f761f3d80fcddf2cf
src/components/Transform/deliveryContract/position.vue
@@ -31,26 +31,28 @@
          <span class="position-text2 textColor">{{ item.close_price }}</span>
        </div>
        <div class="position-div1">
          <span class="position-text1">{{ $t('盈亏') }}</span>
          <span class="position-text1">{{ $t('服务费') }}</span>
          <span class="position-text2" :class="item.profit > 0 ? 'color-green' : 'color-red'">
            {{ item.profit > 0 ? '+' + item.profit : item.profit }}
          </span>
        </div>
        <div class="position-div1">
          <span class="position-text1">{{ $t('到期时间') }}</span>
          <span class="position-text2 textColor"> {{ dayjs(item.close_time * 1000).format('YYYY-MM-DD HH:mm:ss') }}</span>
          <span class="position-text2 textColor"> {{ dayjs(item.close_time * 1000).format('YYYY-MM-DD HH:mm:ss')
            }}</span>
        </div>
        <div class="position-div1">
          <span class="position-text1">{{ $t('操作') }}</span>
          <span class="position-text2 colorMain" @click="onDetail(item)">{{ $t('详情') }}</span>
        </div>
        <div style="margin-top: 33px;width: 100%;height: 1px;float: left;background-color: #e5e7ed;" class="bgDark"></div>
        <div style="margin-top: 33px;width: 100%;height: 1px;float: left;background-color: #e5e7ed;" class="bgDark">
        </div>
      </div>
    </div>
    <van-popup v-model:show="show">
      <popup-delivery showBtns :detailData="detailData" :key="detailData.order_no" @close="show = false" :disabled="true"
        :price="price" />
      <popup-delivery showBtns :detailData="detailData" :key="detailData.order_no" @close="show = false"
        :disabled="true" :price="price" />
    </van-popup>
  </div>
</template>
@@ -97,7 +99,7 @@
  }
}
</script>
<style lang="scss" scoped >
<style lang="scss" scoped>
@import "@/assets/init.scss";
#cryptos {