fix: 小分歧联动波段单显示,杠杆改为按币种默认只读

option 增加 data-trade-style;修复 JS 初始化顺序。杠杆隐藏输入,显示 BTC/ETH 10x 其它 5x。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-06 00:28:10 +08:00
parent ea429b2694
commit e81343ae91
14 changed files with 106 additions and 36 deletions
+4 -1
View File
@@ -64,7 +64,10 @@
}
if (tab === "trade") {
if (typeof global.refreshOrderDefaults === "function") global.refreshOrderDefaults();
if (typeof global.initOrderEntryModelSelect === "function") global.initOrderEntryModelSelect();
if (typeof global.initOrderEntryModelSelect === "function") {
var root = document.getElementById("embed-page-root") || document;
global.initOrderEntryModelSelect(root);
}
if (global.ManualOrderRrPreview && typeof global.ManualOrderRrPreview.wire === "function") {
global.ManualOrderRrPreview.wire();
}