From ecd4a3c266818312390f9ead6eca77bf018fb5dd Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Tue, 30 Jun 2026 01:18:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20sync=20index.html=20from=20page=5Fasset.?= =?UTF-8?q?js=20=E2=80=94=20apply=20all=20text/UI=20fixes=20to=20master=20?= =?UTF-8?q?file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit index.html is the master file served by Cloudflare Pages. All previous page_asset.js edits were not reflected on the live site because index.html was never regenerated. This sync applies ALL accumulated fixes: - Remove all redundant text prefixes (允许融资, 策略默认, 平台默认) - Fix pendingChangeState null guards for new accounts - Schwab/LongBridge dca:true in platformConfig - IBIT exit auto-set from DCA mode, remove standalone section - Add combo strategies to fallback defaults - Clean up dead IBIT references Co-Authored-By: Claude --- web/strategy-switch-console/index.html | 658 ++++++---------------- web/strategy-switch-console/page_asset.js | 21 +- 2 files changed, 185 insertions(+), 494 deletions(-) diff --git a/web/strategy-switch-console/index.html b/web/strategy-switch-console/index.html index 28336bd..9eb339b 100644 --- a/web/strategy-switch-console/index.html +++ b/web/strategy-switch-console/index.html @@ -8,6 +8,16 @@ \n\n\n
\n
\n

策略切换

\n

选平台、目标账号和策略,一次执行完成切换。

\n
\n
\n \n \n \n \n
\n
\n\n
\n
\n 初始化控制台\n

读取策略配置

\n

正在读取登录状态、账号配置和当前状态。

\n
\n
\n
\n\n
\n \n\n
\n
\n
\n 当前平台\n

LongBridge

\n
\n\n \n\n \n\n
\n \n\n \n\n
\n 模式\n
\n \n \n
\n \n
\n\n
\n \n\n \n\n \n
\n\n
\n \n\n \n\n \n
\n\n
\n \n
\n\n
\n

现金与融资

\n

允许融资与预留现金覆盖不能同时生效。

\n \n
\n \n\n \n\n \n\n \n
\n
\n\n
\n \n\n \n
\n
\n\n
\n \n

登录后才可执行切换。

\n

\n
\n
\n\n \n
\n
\n\n \n\n\n"; +export const PAGE_HTML = "\n\n\n \n \n \n QuantRuntimeSettings Strategy Switch\n \n \n\n\n
\n
\n

策略切换

\n

选平台、目标账号和策略,一次执行完成切换。

\n
\n
\n \n \n \n \n
\n
\n\n
\n
\n 初始化控制台\n

读取策略配置

\n

正在读取登录状态、账号配置和当前状态。

\n
\n
\n
\n\n
\n \n\n
\n
\n
\n 当前平台\n

LongBridge

\n
\n\n \n\n \n\n
\n \n\n \n\n
\n 模式\n
\n \n \n
\n \n
\n\n
\n \n\n \n\n \n
\n\n
\n \n\n \n\n \n
\n\n
\n \n
\n\n
\n

现金与融资

\n

允许融资与预留现金覆盖不能同时生效。

\n \n
\n \n\n \n\n \n\n \n
\n
\n\n
\n \n\n \n
\n
\n\n
\n \n

登录后才可执行切换。

\n

\n
\n
\n\n \n
\n
\n\n \n\n\n";