From 15f59459ce616f19cf90acc7e8c2a3325214a236 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sat, 23 Aug 2025 18:34:58 +0800
Subject: [PATCH] 1
---
src/page/user/myOrder.vue | 82 +++++++++++++++++++++++++++++++++++++++-
src/locales/en.json | 5 ++
src/locales/zh.json | 5 ++
src/locales/cht.json | 5 ++
4 files changed, 91 insertions(+), 6 deletions(-)
diff --git a/src/locales/cht.json b/src/locales/cht.json
index 42adce5..1b7ab2f 100644
--- a/src/locales/cht.json
+++ b/src/locales/cht.json
@@ -705,5 +705,8 @@
"今日剩余出金次数": "今日剩餘出金次數",
"账户盈亏": "賬戶盈虧",
"今日盈亏": "今日盈虧",
- "充值提示": "尊敬的會員您好,充值請聯繫客服"
+ "充值提示": "尊敬的會員您好,充值請聯繫客服",
+ "市值": "市值",
+ "持股": "持股",
+ "可卖": "可賣"
}
diff --git a/src/locales/en.json b/src/locales/en.json
index 3d6b3e5..e1b2a5f 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -705,5 +705,8 @@
"今日剩余出金次数": "The remaining withdrawal times for today",
"账户盈亏": "Account profit and loss",
"今日盈亏": "Today's profit and loss",
- "充值提示": "Dear member, please contact customer service for recharging"
+ "充值提示": "Dear member, please contact customer service for recharging",
+ "市值": "Market capitalization",
+ "持股": "Shareholding",
+ "可卖": "For sale"
}
diff --git a/src/locales/zh.json b/src/locales/zh.json
index d86aa65..137e944 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -705,5 +705,8 @@
"今日剩余出金次数": "今日剩余出金次数",
"账户盈亏": "账户盈亏",
"今日盈亏": "今日盈亏",
- "充值提示": "尊敬的会员您好,充值请联系客服"
+ "充值提示": "尊敬的会员您好,充值请联系客服",
+ "市值": "市值",
+ "持股": "持股",
+ "可卖": "可卖"
}
\ No newline at end of file
diff --git a/src/page/user/myOrder.vue b/src/page/user/myOrder.vue
index 77e1e28..2dbfd8e 100644
--- a/src/page/user/myOrder.vue
+++ b/src/page/user/myOrder.vue
@@ -29,12 +29,12 @@
{{ i.orderDirection == "买涨" ? $t("gm") : $t("hj78") }}
</div>
</div>
- <div class="moli_orderTitle">
+ <!-- <div class="moli_orderTitle">
<span>{{ $t("订单号") }}</span>
<span style="margin-left: 1em;">{{ i.buyOrderId }}</span>
- </div>
+ </div> -->
<div style="display:flex;flex-wrap:wrap;padding-bottom: .35rem;">
- <div class="tui-wrapItem flex-start">
+ <!-- <div class="tui-wrapItem flex-start">
<div>
{{ $t("Price") }}
</div>
@@ -79,6 +79,82 @@
<div style="margin-left: .25rem;">
{{ $moment(i.buyOrderTime).format("DD-MM-YYYY hh:mm:ss A") }}
</div>
+ </div> -->
+
+ <div class="tui-wrapItem" style="width: 30%;">
+ <div style="font-size: 0.2rem;margin-bottom: .25rem;">
+ {{ $t("MingCheng") }}/{{ $t("市值") }}
+ </div>
+ <div style="font-size: .4rem;">
+ {{ i.stockSpell }}
+ </div>
+ <div style="font-size: .2rem;">
+ {{ i.orderTotalPrice }}
+ </div>
+ </div>
+
+ <div class="tui-wrapItem" style="width: 20%;">
+ <div
+ style="font-size: 0.2rem;margin-bottom: .25rem;text-align: end;"
+ >
+ {{ $t("持股") }}/{{ $t("可卖") }}
+ </div>
+ <div style="font-size: .4rem;text-align: end;">
+ {{ i.orderNum }}
+ </div>
+ <div style="font-size: .2rem;text-align: end;">
+ {{ i.orderNum }}
+ </div>
+ </div>
+
+ <div class="tui-wrapItem" style="width: 25%;">
+ <div
+ style="font-size: 0.2rem;margin-bottom: .25rem;text-align: end;"
+ >
+ {{ $t("Current") }}/{{ $t("Cost") }}
+ </div>
+ <div style="font-size: .4rem;text-align: end;">
+ {{ i.now_price }}
+ </div>
+ <div style="font-size: .2rem;text-align: end;">
+ {{ i.buyOrderPrice }}
+ </div>
+ </div>
+
+ <div class="tui-wrapItem" style="width: 25%;">
+ <div
+ style="font-size: 0.2rem;margin-bottom: .25rem;text-align: end;"
+ >
+ {{ $t("盈虧") }}/{{ $t("hj141") }}
+ </div>
+ <div
+ style="font-size: .4rem;text-align: end;"
+ :style="
+ `color:${
+ i.profitAndLose > 0
+ ? 'green'
+ : i.profitAndLose < 0
+ ? 'red'
+ : ''
+ }`
+ "
+ >
+ {{ i.profitAndLose }}
+ </div>
+ <div
+ style="font-size: .2rem;text-align: end;"
+ :style="
+ `color:${
+ i.profitAndLose > 0
+ ? 'green'
+ : i.profitAndLose < 0
+ ? 'red'
+ : ''
+ }`
+ "
+ >
+ {{ i.profitAndLoseParent }}
+ </div>
</div>
</div>
--
Gitblit v1.9.3