diff --git a/ft-app/app/templates/trades.html b/ft-app/app/templates/trades.html index 47b95d3..d98091b 100644 --- a/ft-app/app/templates/trades.html +++ b/ft-app/app/templates/trades.html @@ -377,7 +377,7 @@ function showPnlDrawer(title, direction, openPrice, closePrice, openFee, closeFe html += '开仓手续费-' + openFee.toFixed(2) + ''; html += '平仓手续费-' + closeFee.toFixed(2) + ''; document.getElementById('pnlTable').innerHTML = html; - document.getElementById('pnlResult').innerHTML = '盈亏 = ' + gross.toFixed(2) + ' - ' + openFee.toFixed(2) + ' - ' + closeFee.toFixed(2) + ' = ' + (result > 0 ? '+' : '') + result.toFixed(2) + ''; + document.getElementById('pnlResult').innerHTML = '收益 = ' + gross.toFixed(2) + ' - ' + openFee.toFixed(2) + ' - ' + closeFee.toFixed(2) + ' = ' + (result > 0 ? '+' : '') + result.toFixed(2) + ''; document.getElementById('pnlOverlay').style.display = 'block'; document.getElementById('pnlBox').style.display = 'block'; }