a
This commit is contained in:
parent
30bb8d84c0
commit
a3b1b5c800
|
|
@ -82,6 +82,7 @@
|
||||||
color: #666;
|
color: #666;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
|
|
|
||||||
|
|
@ -249,7 +249,13 @@ const StatsDashboard = () => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 止损止盈比例 */}
|
{/* 止损止盈比例 */}
|
||||||
<div className="stop-take-info">
|
|
||||||
|
|
||||||
|
{trade.entry_time && (
|
||||||
|
<div className="entry-time">开仓时间: {formatEntryTime(trade.entry_time)}</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
<div className="stop-take-info">
|
||||||
<div className="stop-loss-info">
|
<div className="stop-loss-info">
|
||||||
止损比例: <span className="negative">-{stopLossPercent.toFixed(2)}%</span>
|
止损比例: <span className="negative">-{stopLossPercent.toFixed(2)}%</span>
|
||||||
<span className="stop-price">(价: {stopLossPrice.toFixed(4)})</span>
|
<span className="stop-price">(价: {stopLossPrice.toFixed(4)})</span>
|
||||||
|
|
@ -259,11 +265,6 @@ const StatsDashboard = () => {
|
||||||
<span className="take-price">(价: {takeProfitPrice.toFixed(4)})</span>
|
<span className="take-price">(价: {takeProfitPrice.toFixed(4)})</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{trade.entry_time && (
|
|
||||||
<div className="entry-time">开仓时间: {formatEntryTime(trade.entry_time)}</div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
<div className="trade-actions">
|
<div className="trade-actions">
|
||||||
<div className={`trade-pnl ${parseFloat(trade.pnl || 0) >= 0 ? 'positive' : 'negative'}`}>
|
<div className={`trade-pnl ${parseFloat(trade.pnl || 0) >= 0 ? 'positive' : 'negative'}`}>
|
||||||
{parseFloat(trade.pnl || 0).toFixed(2)} USDT
|
{parseFloat(trade.pnl || 0).toFixed(2)} USDT
|
||||||
|
|
|
||||||
|
|
@ -265,6 +265,7 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #666;
|
color: #666;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.param-item span {
|
.param-item span {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user