This commit is contained in:
薇薇安 2026-01-15 22:27:57 +08:00
parent 30bb8d84c0
commit a3b1b5c800
3 changed files with 9 additions and 6 deletions

View File

@ -82,6 +82,7 @@
color: #666;
font-weight: 500;
font-size: 0.9rem;
width: 100px;
}
@media (min-width: 768px) {

View File

@ -249,6 +249,12 @@ const StatsDashboard = () => {
</div>
{/* 止损止盈比例 */}
{trade.entry_time && (
<div className="entry-time">开仓时间: {formatEntryTime(trade.entry_time)}</div>
)}
</div>
<div className="stop-take-info">
<div className="stop-loss-info">
止损比例: <span className="negative">-{stopLossPercent.toFixed(2)}%</span>
@ -259,11 +265,6 @@ const StatsDashboard = () => {
<span className="take-price">(: {takeProfitPrice.toFixed(4)})</span>
</div>
</div>
{trade.entry_time && (
<div className="entry-time">开仓时间: {formatEntryTime(trade.entry_time)}</div>
)}
</div>
<div className="trade-actions">
<div className={`trade-pnl ${parseFloat(trade.pnl || 0) >= 0 ? 'positive' : 'negative'}`}>
{parseFloat(trade.pnl || 0).toFixed(2)} USDT

View File

@ -265,6 +265,7 @@
font-size: 12px;
color: #666;
font-weight: bold;
width: 100px;
}
.param-item span {