价格/百分比模式开仓按钮靠右;持仓上限红字移到预估风险下方。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-12 20:45:47 +08:00
parent ce22f8c7d6
commit bacb5fdde4
6 changed files with 44 additions and 16 deletions
+3 -1
View File
@@ -18,7 +18,7 @@
<link rel="apple-touch-icon" href="/static/icons/apple-touch-icon.png">
<link rel="manifest" href="/static/icons/manifest.webmanifest">
<title>{{ pwa_app_name }}</title>
<link rel="stylesheet" href="/static/instance_page.css?v=14">
<link rel="stylesheet" href="/static/instance_page.css?v=15">
<link rel="stylesheet" href="/static/instance_theme.css?v=118">
</head>
@@ -1812,6 +1812,8 @@ function setOmFieldVisible(inputEl, show){
}
function toggleSltpMode(){
const mode = sltpModeEl ? sltpModeEl.value : "fixed_rr";
const levelsRow = document.querySelector("#add-order-form .om-row-levels");
if(levelsRow) levelsRow.setAttribute("data-sltp-mode", mode);
const slEl = document.getElementById("order-sl");
const tpEl = document.getElementById("order-tp");
const fixedRrEl = document.getElementById("order-fixed-rr");