fix: 持仓卡片布局优化、闭盘禁用平仓、固定金额step修复

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-25 15:41:35 +08:00
parent 9772f3d986
commit de74ffe5b9
4 changed files with 56 additions and 36 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
</div>
<div class="field" id="field-fixed-amount" {% if position_sizing_mode not in ('amount', 'risk') %}hidden{% endif %}>
<label>固定金额(元)</label>
<input name="fixed_amount" type="number" step="100" min="1" value="{{ fixed_amount }}">
<input name="fixed_amount" type="number" step="1" min="1" value="{{ fixed_amount }}">
</div>
<div class="field">
<label>保证金占用上限(%</label>