- body font 从 Manrope 改 IBM Plex Sans (Google Fonts) - mono 从 JetBrains Mono 改 IBM Plex Mono(21 处全替换) - HTML preload 同步加载 IBM Plex Sans 400/500/600/700 + Plex Mono 400/500/600/700 + Plex Serif (备选) - 工程感更强、字形更有性格,配 lime × indigo 色系更贴 cache-bust v32 → v33
1280 lines
79 KiB
HTML
1280 lines
79 KiB
HTML
<!doctype html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<title>抖音挂机 - Web GUI</title>
|
||
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0%25' stop-color='%23bef264'/><stop offset='100%25' stop-color='%2365a30d'/></linearGradient></defs><rect width='32' height='32' rx='7' fill='url(%23g)'/><path d='M13 10.5v11l9-5.5z' fill='%2306120a'/><circle cx='22' cy='10' r='2' fill='%23818cf8'/></svg>" />
|
||
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Serif:ital@0;1&display=swap" rel="stylesheet" />
|
||
<script>
|
||
(function(){
|
||
try {
|
||
var saved = localStorage.getItem("ui-theme");
|
||
var theme = saved === "dark" || saved === "light"
|
||
? saved
|
||
: (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
|
||
document.documentElement.setAttribute("data-theme", theme);
|
||
} catch (e) {}
|
||
})();
|
||
</script>
|
||
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v33" />
|
||
</head>
|
||
<body>
|
||
<div class="app">
|
||
<header class="header commandBar">
|
||
<div class="brandBlock">
|
||
<div class="brandMark" aria-hidden="true">
|
||
<svg viewBox="0 0 32 32" fill="none">
|
||
<rect x="3" y="3" width="26" height="26" rx="7" fill="currentColor" opacity="0.18"/>
|
||
<rect x="3" y="3" width="26" height="26" rx="7" stroke="currentColor" stroke-width="1.5"/>
|
||
<path d="M13 10.5v11l9-5.5z" fill="currentColor"/>
|
||
<circle cx="22" cy="10" r="2" fill="currentColor"/>
|
||
</svg>
|
||
</div>
|
||
<div>
|
||
<div class="title">抖音挂机控制台</div>
|
||
<div class="subtitle">设备调度 · 运行控制 · 实时观察</div>
|
||
</div>
|
||
</div>
|
||
<div class="header-actions">
|
||
<div class="actionGroup primaryActions">
|
||
<button id="btnStart" class="btn btnPrimary" data-kbd-mod="1" data-kbd="↵">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 4v16l13-8z"/></svg>
|
||
</span>
|
||
开始运行
|
||
</button>
|
||
<button id="btnStop" class="btn btnDangerSoft">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="6" y="6" width="12" height="12" rx="2"/></svg>
|
||
</span>
|
||
停止
|
||
</button>
|
||
<button id="btnForceStop" class="btn btnDanger">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
|
||
</span>
|
||
强制停止
|
||
</button>
|
||
</div>
|
||
<div class="actionGroup secondaryActions">
|
||
<button id="btnRefresh" class="btn btnSoft">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 1 1-2.64-6.36"/><path d="M21 3v6h-6"/></svg>
|
||
</span>
|
||
刷新设备
|
||
</button>
|
||
<button id="btnScreenshot" class="btn btnSoft">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><polyline points="21 15 16 10 5 21"/></svg>
|
||
</span>
|
||
截图
|
||
</button>
|
||
<button id="btnBackKey" class="btn btnSoft">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 14-4-4 4-4"/><path d="M5 10h11a4 4 0 0 1 0 8h-1"/></svg>
|
||
</span>
|
||
返回键
|
||
</button>
|
||
<button id="btnLoad" class="btn btnGhost">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="M7 10l5 5 5-5"/><path d="M12 15V3"/></svg>
|
||
</span>
|
||
加载配置
|
||
</button>
|
||
<button id="btnSave" class="btn btnPrimary" data-kbd-mod="1" data-kbd="S">
|
||
<span class="btnIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h11l5 5v9a2 2 0 0 1-2 2z"/><path d="M17 21v-8H7v8"/><path d="M7 3v5h8"/></svg>
|
||
</span>
|
||
保存配置
|
||
</button>
|
||
<button id="btnTheme" class="btn btnGhost btnIconOnly" type="button" aria-label="切换主题" data-tooltip="切换主题" data-tooltip-pos="bottom">
|
||
<span class="btnIcon themeIconSun" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/></svg>
|
||
</span>
|
||
<span class="btnIcon themeIconMoon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>
|
||
</span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
|
||
<section class="overview statusStrip" aria-label="运行概览">
|
||
<article class="overviewCard overviewPrimary">
|
||
<div class="overviewLabel">运行状态</div>
|
||
<div class="overviewValue">
|
||
<span id="topRunDot" class="statusDot" aria-hidden="true"></span>
|
||
<span id="topRunState">等待启动</span>
|
||
</div>
|
||
<div class="overviewMeta" id="topRunMeta">PID - / 运行时长 -</div>
|
||
</article>
|
||
<article class="overviewCard">
|
||
<div class="overviewLabel">设备连接</div>
|
||
<div class="overviewValue" id="topDeviceState">未刷新</div>
|
||
<div class="overviewMeta" id="topAdbState">ADB 状态待检测</div>
|
||
</article>
|
||
<article class="overviewCard">
|
||
<div class="overviewLabel">福袋处理</div>
|
||
<div class="overviewValue" id="topFudaiState">0 / 0</div>
|
||
<div class="overviewMeta" id="topFudaiMeta">打开详情 / 成功参与</div>
|
||
<svg id="topFudaiSparkline" class="overviewSpark" viewBox="0 0 100 24" preserveAspectRatio="none" aria-hidden="true"></svg>
|
||
</article>
|
||
<article class="overviewCard">
|
||
<div class="overviewLabel">日志缓存</div>
|
||
<div class="overviewValue" id="topLogState">-</div>
|
||
<div class="overviewMeta" id="topLogMeta">最后日志 -</div>
|
||
</article>
|
||
</section>
|
||
|
||
<main class="workspaceShell consoleGrid">
|
||
<aside class="card configRail">
|
||
<div class="cardTitle">
|
||
<span class="sectionIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.7 1.7 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .31 1.7 1.7 0 0 0-.82 1.46V21a2 2 0 0 1-4 0v-.09a1.7 1.7 0 0 0-.82-1.46 1.7 1.7 0 0 0-1-.31 1.7 1.7 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.31-1 1.7 1.7 0 0 0-1.46-.82H2a2 2 0 0 1 0-4h.09a1.7 1.7 0 0 0 1.46-.82 1.7 1.7 0 0 0 .31-1 1.7 1.7 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.31 1.7 1.7 0 0 0 .82-1.46V2a2 2 0 0 1 4 0v.09a1.7 1.7 0 0 0 .82 1.46 1.7 1.7 0 0 0 1 .31 1.7 1.7 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9a1.7 1.7 0 0 0 .31 1 1.7 1.7 0 0 0 1.46.82H22a2 2 0 0 1 0 4h-.09a1.7 1.7 0 0 0-1.46.82 1.7 1.7 0 0 0-.31 1z"/></svg>
|
||
</span>
|
||
配置
|
||
</div>
|
||
|
||
<nav class="sideNav" role="tablist" aria-label="配置分类">
|
||
<button class="tabBtn active" type="button" data-target="device" role="tab" aria-selected="true">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="7" y="2" width="10" height="20" rx="2"/><path d="M11 19h2"/></svg></span>
|
||
<span class="tabText">设备</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="run" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h9"/><path d="M12 4h9"/><path d="M4 9h16"/><path d="M4 15h16"/><circle cx="8" cy="9" r="2"/><circle cx="8" cy="15" r="2"/></svg></span>
|
||
<span class="tabText">运行</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="filter" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 3H2l8 9v7l4 2v-9z"/></svg></span>
|
||
<span class="tabText">筛选</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="stats" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19V5"/><path d="M20 19V5"/><path d="M8 17v-6"/><path d="M12 17V9"/><path d="M16 17V7"/></svg></span>
|
||
<span class="tabText">统计</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="yanghao" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.8 4.6c-1.4-1.4-3.7-1.4-5.1 0L12 8.3 8.3 4.6c-1.4-1.4-3.7-1.4-5.1 0s-1.4 3.7 0 5.1L12 18.5l8.8-8.8c1.4-1.4 1.4-3.7 0-5.1z"/></svg></span>
|
||
<span class="tabText">养号</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="keywords" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0z"/><path d="M21 21l-6-6"/></svg></span>
|
||
<span class="tabText">关键词</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="debug" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg></span>
|
||
<span class="tabText">调试</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="monitor" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="14" rx="2"/><path d="M8 21h8"/><path d="M12 18v3"/></svg></span>
|
||
<span class="tabText">监控</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="reservations" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2 2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5"/><path d="M2 12l10 5 10-5"/></svg></span>
|
||
<span class="tabText">预约</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="runLogs" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16v16H4z"/><path d="M8 8h8"/><path d="M8 12h8"/><path d="M8 16h6"/></svg></span>
|
||
<span class="tabText">运行日志</span>
|
||
</button>
|
||
<button class="tabBtn" type="button" data-target="actionLogs" role="tab" aria-selected="false">
|
||
<span class="tabIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6h13"/><path d="M8 12h13"/><path d="M8 18h13"/><path d="M3 6h.01"/><path d="M3 12h.01"/><path d="M3 18h.01"/></svg></span>
|
||
<span class="tabText">行为日志</span>
|
||
</button>
|
||
</nav>
|
||
</aside>
|
||
|
||
<section class="configWorkspace">
|
||
<div class="workspaceHeader">
|
||
<div>
|
||
<div class="workspaceEyebrow">Configuration</div>
|
||
<h2 class="workspaceTitle">运行策略工作区</h2>
|
||
</div>
|
||
<div class="workspaceSearch">
|
||
<span class="workspaceSearchIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
|
||
</span>
|
||
<input id="configSearch" type="search" placeholder="搜索配置项 (按标签 / 提示文本)" autocomplete="off" />
|
||
<span id="configSearchCount" class="workspaceSearchCount" hidden></span>
|
||
<kbd class="workspaceSearchKbd" aria-hidden="true"><span id="configSearchKbdMod">Ctrl</span> K</kbd>
|
||
<button id="configSearchClear" type="button" class="workspaceSearchClear" aria-label="清空搜索" hidden>
|
||
<svg viewBox="0 0 24 24" width="12" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div id="configSearchEmpty" class="hint configSearchEmpty" hidden>未找到匹配的配置项。</div>
|
||
|
||
<div class="panels">
|
||
<div class="panel active" data-panel="device" role="tabpanel">
|
||
<div class="sectionTitle">
|
||
<span class="sectionIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="7" y="2" width="10" height="20" rx="2"/><path d="M11 19h2"/></svg></span>
|
||
设备
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">设备</label>
|
||
<select id="device" class="input"></select>
|
||
<div class="hint" id="adbStatus"></div>
|
||
</div>
|
||
<div class="sectionTitle">WiFi ADB</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">设备 IP</label>
|
||
<input id="wifi_ip" class="input" type="text" placeholder="例如 192.168.1.23 或 192.168.1.23:5555" />
|
||
</div>
|
||
<div>
|
||
<label class="label">端口</label>
|
||
<input id="wifi_port" class="input" type="number" min="1" max="65535" step="1" value="5555" />
|
||
</div>
|
||
</div>
|
||
<div class="rowActions">
|
||
<div class="btnGroup" role="group" aria-label="WiFi ADB 操作">
|
||
<button id="btnWifiEnable" class="btn" type="button">启用 WiFi ADB</button>
|
||
<button id="btnWifiConnect" class="btn" type="button">连接</button>
|
||
<button id="btnWifiDisconnect" class="btn" type="button">断开</button>
|
||
</div>
|
||
</div>
|
||
<div class="hint" id="wifiStatus">先用 USB 设备启用 TCP/IP,再按 IP 连接。</div>
|
||
</div>
|
||
|
||
<div class="panel" data-panel="run" role="tabpanel" hidden>
|
||
<div class="sectionTitle">
|
||
<span class="sectionIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h9"/><path d="M12 4h9"/><path d="M4 9h16"/><path d="M4 15h16"/><circle cx="8" cy="9" r="2"/><circle cx="8" cy="15" r="2"/></svg></span>
|
||
运行参数
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">Y偏移</label>
|
||
<input id="y_pianyi" class="input" data-key="y_pianyi" data-type="int" type="number" min="-200" max="200" step="1" value="0" />
|
||
</div>
|
||
<div>
|
||
<label class="label">倒计时阈值(分钟)</label>
|
||
<input id="wait_minutes" class="input" data-key="wait_minutes" data-type="int" type="number" min="1" max="60" step="1" value="5" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">允许切换直播间(needswitch)</label>
|
||
<div class="row">
|
||
<label class="label">无限循环模式</label>
|
||
<label class="check isToggle">
|
||
<input id="infinite_loop_enabled" type="checkbox" data-key="infinite_loop_enabled" data-type="bool" />
|
||
<span>启用后启动时 wait_minutes 按 0 处理</span>
|
||
</label>
|
||
</div>
|
||
<label class="check">
|
||
<input id="needswitch" type="checkbox" data-key="needswitch" data-type="bool" checked />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">切换 N 次后回到第一个(开关)</label>
|
||
<label class="check">
|
||
<input id="reset_after_swipes_enabled" type="checkbox" data-key="reset_after_swipes_enabled" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">切换 N 次后回到第一个(次数)</label>
|
||
<input id="reset_after_swipes" class="input" data-key="reset_after_swipes" data-type="int" type="number" min="1" step="1" />
|
||
<div class="hint">用于需要循环切换时的回退阈值;配合上方开关启用</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">回退方式</label>
|
||
<select id="reset_after_swipes_action" class="input" data-key="reset_after_swipes_action" data-type="str">
|
||
<option value="swipe">滑动回退</option>
|
||
<option value="back">返回键回退</option>
|
||
</select>
|
||
</div>
|
||
<div>
|
||
<label class="label">未找到福袋达到阈值后返回</label>
|
||
<label class="check">
|
||
<input id="enable_back_on_misses" type="checkbox" data-key="enable_back_on_misses" data-type="bool" />
|
||
<span>启用返回键回退</span>
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">下滑 X 次后按返回并重新进入直播间(开关)</label>
|
||
<label class="check">
|
||
<input id="swipe_down_back_enabled" type="checkbox" data-key="swipe_down_back_enabled" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">下滑 X 次后按返回并重新进入直播间(次数)</label>
|
||
<input id="swipe_down_back_count" class="input" data-key="swipe_down_back_count" data-type="int" type="number" min="1" step="1" />
|
||
<div class="hint">触发后会按返回键返回推荐页并重新进入直播间</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">找福袋最大尝试次数</label>
|
||
<input id="fudai_find_max_attempts" class="input" data-key="fudai_find_max_attempts" data-type="int" type="number" min="1" max="50" step="1" />
|
||
<div class="hint">找小福袋图标时的最大重试次数,默认 5</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">禁用福袋内容OCR识别</label>
|
||
<label class="check">
|
||
<input id="fudai_disable_content_recognition" type="checkbox" data-key="fudai_disable_content_recognition" data-type="bool" />
|
||
<span>禁用(暂不按内容过滤)</span>
|
||
</label>
|
||
<div class="hint">勾选后跳过福袋内容OCR识别,避免内容过滤误判</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">找福袋重试间隔(秒)</label>
|
||
<input id="fudai_icon_retry_delay_seconds" class="input" data-key="fudai_icon_retry_delay_seconds" data-type="float" type="number" min="0.1" max="3.0" step="0.1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">找福袋最大等待时间(秒)</label>
|
||
<input id="fudai_icon_max_wait_seconds" class="input" data-key="fudai_icon_max_wait_seconds" data-type="float" type="number" min="0" max="30" step="0.5" />
|
||
<div class="hint">识别到福袋一般 4-8 秒,可按设备/网络情况微调</div>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">直播间检测阈值</label>
|
||
<input id="live_room_match_threshold" class="input" data-key="live_room_match_threshold" data-type="float" type="number" min="0.0" max="1.0" step="0.01" />
|
||
<div class="hint">模板匹配阈值(0.0~1.0),默认0.8,值越高越严格,建议≥0.8</div>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div>
|
||
<label class="label">上滑耗时(ms)</label>
|
||
<input id="swipe_duration_ms" class="input" data-key="swipe_duration_ms" data-type="int" type="number" min="50" max="3000" step="10" />
|
||
</div>
|
||
<div>
|
||
<label class="label">上滑起点 Y</label>
|
||
<input id="swipe_up_start_y" class="input" data-key="swipe_up_start_y" data-type="int" type="number" min="0" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">上滑终点 Y</label>
|
||
<input id="swipe_up_end_y" class="input" data-key="swipe_up_end_y" data-type="int" type="number" min="0" step="1" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">切换后阶段诊断等待(秒)</label>
|
||
<input id="switch_room_wait_after_stage_diag_seconds" class="input" data-key="switch_room_wait_after_stage_diag_seconds" data-type="float" type="number" min="0" max="30" step="0.5" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="panel" data-panel="filter" role="tabpanel" hidden>
|
||
<div class="sectionTitle">
|
||
<span class="sectionIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 3H2l8 9v7l4 2v-9z"/></svg></span>
|
||
筛选设置
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">最低价值(元)</label>
|
||
<input id="min_prize_value_yuan" class="input" data-key="min_prize_value_yuan" data-type="float" type="number" min="0" step="0.1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">倒计时小于该秒数时不参与(高价值可预约)</label>
|
||
<input id="skip_if_countdown_lt_seconds" class="input" data-key="skip_if_countdown_lt_seconds" data-type="int" type="number" min="0" max="120" step="1" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">倒计时大于该秒数时不参与</label>
|
||
<input id="skip_if_countdown_gt_seconds" class="input" data-key="skip_if_countdown_gt_seconds" data-type="int" type="number" min="0" max="7200" step="1" />
|
||
<div class="hint">高价值福袋仍可进入预约队列。</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">参与人数最小值</label>
|
||
<input id="min_participants" class="input" data-key="min_participants" data-type="int" type="number" min="0" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">参与人数最大值</label>
|
||
<input id="max_participants" class="input" data-key="max_participants" data-type="int" type="number" min="0" step="1" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">自动加入粉丝团(谨慎)</label>
|
||
<label class="check">
|
||
<input id="auto_join_fansclub" type="checkbox" data-key="auto_join_fansclub" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">粉丝团失败策略</label>
|
||
<select id="fansclub_fail_action" class="input" data-key="fansclub_fail_action" data-type="str">
|
||
<option value="stay">stay</option>
|
||
<option value="switch">switch</option>
|
||
</select>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div>
|
||
<label class="label">粉丝团点击延迟(秒)</label>
|
||
<input id="fansclub_click_delay" class="input" data-key="fansclub_click_delay" data-type="float" type="number" min="0" max="10" step="0.1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">自动加入等待(秒)</label>
|
||
<input id="fansclub_auto_join_wait_seconds" class="input" data-key="fansclub_auto_join_wait_seconds" data-type="float" type="number" min="0" max="30" step="0.5" />
|
||
</div>
|
||
<div>
|
||
<label class="label">手动等待(秒)</label>
|
||
<input id="fansclub_manual_wait_seconds" class="input" data-key="fansclub_manual_wait_seconds" data-type="float" type="number" min="0" max="30" step="0.5" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">高价值福袋预约参数</div>
|
||
<div class="row">
|
||
<label class="label">启用预约(价值≥阈值)</label>
|
||
<label class="check">
|
||
<input id="high_value_fudai_enabled" type="checkbox" data-key="high_value_fudai_enabled" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">价值阈值(元)</label>
|
||
<input id="high_value_fudai_threshold_yuan" class="input" data-key="high_value_fudai_threshold_yuan" data-type="float" type="number" min="0" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">提前参与(秒)</label>
|
||
<input id="high_value_fudai_join_ahead_seconds" class="input" data-key="high_value_fudai_join_ahead_seconds" data-type="int" type="number" min="5" max="900" step="1" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">最多回退直播间次数</label>
|
||
<input id="high_value_fudai_max_swipe_back" class="input" data-key="high_value_fudai_max_swipe_back" data-type="int" type="number" min="0" max="300" step="1" />
|
||
<div class="hint">防止预约期间切换太远导致回退过慢/异常;0 表示不限</div>
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">最多记录数量</label>
|
||
<input id="high_value_fudai_max_reservations" class="input" data-key="high_value_fudai_max_reservations" data-type="int" type="number" min="1" max="50" step="1" />
|
||
<div class="hint">超过后丢弃最晚开奖的预约</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">完成后策略</label>
|
||
<select id="high_value_fudai_after_action" class="input" data-key="high_value_fudai_after_action" data-type="str">
|
||
<option value="continue">continue</option>
|
||
<option value="stay">stay</option>
|
||
</select>
|
||
<div class="hint">stay:停留当前直播间;continue:继续抢福袋</div>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">启用高价值直播间定时回访</label>
|
||
<label class="check">
|
||
<input id="high_value_room_revisit_enabled" type="checkbox" data-key="high_value_room_revisit_enabled" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">仅回访本次运行记录的直播间</label>
|
||
<label class="check">
|
||
<input id="high_value_room_revisit_only_current_run" type="checkbox" data-key="high_value_room_revisit_only_current_run" data-type="bool" />
|
||
<span>仅本次运行</span>
|
||
</label>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">回访最小间隔(秒)</label>
|
||
<input id="high_value_room_revisit_min_interval_seconds" class="input" data-key="high_value_room_revisit_min_interval_seconds" data-type="int" type="number" min="0" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">每轮最多回访</label>
|
||
<input id="high_value_room_revisit_max_per_run" class="input" data-key="high_value_room_revisit_max_per_run" data-type="int" type="number" min="0" step="1" />
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">回访最低价值(元)</label>
|
||
<input id="high_value_room_revisit_min_prize_value" class="input" data-key="high_value_room_revisit_min_prize_value" data-type="float" type="number" min="0" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">回访记录最大年龄(天)</label>
|
||
<input id="high_value_room_revisit_max_age_days" class="input" data-key="high_value_room_revisit_max_age_days" data-type="int" type="number" min="1" step="1" />
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">开奖前轮询窗口(秒)</label>
|
||
<input id="high_value_fudai_poll_before_seconds" class="input" data-key="high_value_fudai_poll_before_seconds" data-type="float" type="number" min="0" max="120" step="0.5" />
|
||
</div>
|
||
<div>
|
||
<label class="label">回退校验等待(秒)</label>
|
||
<input id="reservation_back_verify_wait_seconds" class="input" data-key="reservation_back_verify_wait_seconds" data-type="float" type="number" min="0" max="30" step="0.5" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">预约回退后校验(回退校验开关)</label>
|
||
<label class="check">
|
||
<input id="reservation_back_verify_enabled" type="checkbox" data-key="reservation_back_verify_enabled" data-type="bool" />
|
||
<span>启用回退校验</span>
|
||
</label>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">回退回滑快速延迟(秒,未启用回退校验时生效)</label>
|
||
<input id="reservation_back_swipe_delay" class="input" data-key="reservation_back_swipe_delay" data-type="float" type="number" min="0.2" step="0.1" />
|
||
<div class="hint">较小值能加快回退速度;当启用回退校验时仍使用兼容的较慢延迟</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">定时禁抢(仅养号)</div>
|
||
<div class="row">
|
||
<label class="label">启用定时禁抢</label>
|
||
<label class="check">
|
||
<input id="fudai_quiet_hours_enabled" type="checkbox" data-key="fudai_quiet_hours_enabled" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">开始小时</label>
|
||
<input id="fudai_quiet_start_hour" class="input" data-key="fudai_quiet_start_hour" data-type="int" type="number" min="0" max="23" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">结束小时</label>
|
||
<input id="fudai_quiet_end_hour" class="input" data-key="fudai_quiet_end_hour" data-type="int" type="number" min="0" max="23" step="1" />
|
||
<div class="hint">区间为 [开始, 结束),例如 2-7 表示 2:00~6:59</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="panel" data-panel="stats" role="tabpanel" hidden>
|
||
<div class="sectionTitle">
|
||
<span class="sectionIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19V5"/><path d="M20 19V5"/><path d="M8 17v-6"/><path d="M12 17V9"/><path d="M16 17V7"/></svg></span>
|
||
运行统计
|
||
</div>
|
||
|
||
<div class="sectionTitle">福袋中奖内容(最近10条)</div>
|
||
<div class="table" id="tableWins"></div>
|
||
|
||
<div class="statsGrid statsGridHero">
|
||
<div class="stat statHero">
|
||
<div class="statLabel">运行状态</div>
|
||
<div id="statRunning" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat statHero">
|
||
<div class="statLabel">PID</div>
|
||
<div id="statPid" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat statHero">
|
||
<div class="statLabel">运行时长</div>
|
||
<div id="statUptime" class="statValue">-</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="statsGrid">
|
||
<div class="stat">
|
||
<div class="statLabel">日志行数</div>
|
||
<div id="statLogLen" class="statValue">-</div>
|
||
<div class="statHint" id="statLogCap">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">最近日志时间</div>
|
||
<div id="statLastLog" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">退出码</div>
|
||
<div id="statExitCode" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">TraceId(请求追踪)</div>
|
||
<div id="statTraceId" class="statValue mono statTrace">-</div>
|
||
<div class="statHint" id="statTraceIdHint">-</div>
|
||
</div>
|
||
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:识别次数</div>
|
||
<div id="statFudaiSeen" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:打开详情</div>
|
||
<div id="statFudaiOpen" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:参与成功/已参与</div>
|
||
<div id="statFudaiAttendOk" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:参与失败</div>
|
||
<div id="statFudaiAttendFail" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:未中奖次数</div>
|
||
<div id="statFudaiNoWin" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:中奖次数</div>
|
||
<div id="statFudaiWin" class="statValue">-</div>
|
||
</div>
|
||
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:跳过(价值低)</div>
|
||
<div id="statSkipValueLow" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:跳过(人数过高)</div>
|
||
<div id="statSkipParticipants" class="statValue">-</div>
|
||
<div class="statHint" id="statSkipParticipantsHint">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:跳过(内容不理想)</div>
|
||
<div id="statSkipContent" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">福袋:跳过(倒计时短/长)</div>
|
||
<div id="statSkipCountdown" class="statValue">-</div>
|
||
<div class="statHint" id="statSkipCountdownHint">-</div>
|
||
</div>
|
||
|
||
<div class="stat">
|
||
<div class="statLabel">粉丝团门槛</div>
|
||
<div id="statFansclub" class="statValue">-</div>
|
||
<div class="statHint" id="statFansclubHint">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">切换直播间次数</div>
|
||
<div id="statSwitchRoom" class="statValue">-</div>
|
||
<div class="statHint" id="statSwitchRoomHint">-</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">最近识别到的福袋</div>
|
||
<div class="statsGrid">
|
||
<div class="stat">
|
||
<div class="statLabel">内容</div>
|
||
<div id="statLastContent" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">倒计时</div>
|
||
<div id="statLastCountdown" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">参与人数 / 份数</div>
|
||
<div id="statLastPeople" class="statValue">-</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="statLabel">奖品价值(元)</div>
|
||
<div id="statLastValue" class="statValue">-</div>
|
||
<div class="statHint" id="statLastUpdated">-</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">趋势(最近1小时,1分钟粒度)</div>
|
||
<div class="chartBlock">
|
||
<div class="chartTitle">福袋关键动作趋势</div>
|
||
<div id="chartTimeline" class="chart"></div>
|
||
<div class="hint">展示:打开详情 / 参与成功 / 参与失败 / 中奖 / 未中奖 / 跳过 / 切换直播间</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">分布</div>
|
||
<div class="chartsGrid">
|
||
<div class="chartBlock">
|
||
<div class="chartTitle">跳过原因</div>
|
||
<div id="chartSkipReason" class="chart"></div>
|
||
</div>
|
||
<div class="chartBlock">
|
||
<div class="chartTitle">切换直播间原因</div>
|
||
<div id="chartSwitchReason" class="chart"></div>
|
||
</div>
|
||
<div class="chartBlock">
|
||
<div class="chartTitle">奖品价值区间</div>
|
||
<div id="chartValueBuckets" class="chart"></div>
|
||
</div>
|
||
<div class="chartBlock">
|
||
<div class="chartTitle">参与人数区间</div>
|
||
<div id="chartParticipantsBuckets" class="chart"></div>
|
||
</div>
|
||
<div class="chartBlock">
|
||
<div class="chartTitle">倒计时区间</div>
|
||
<div id="chartCountdownBuckets" class="chart"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">Top 福袋内容</div>
|
||
<div class="table" id="tableTopContent"></div>
|
||
</div>
|
||
|
||
<div class="panel" data-panel="yanghao" role="tabpanel" hidden>
|
||
<div class="sectionTitle">
|
||
<span class="sectionIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.8 4.6c-1.4-1.4-3.7-1.4-5.1 0L12 8.3 8.3 4.6c-1.4-1.4-3.7-1.4-5.1 0s-1.4 3.7 0 5.1L12 18.5l8.8-8.8c1.4-1.4 1.4-3.7 0-5.1z"/></svg></span>
|
||
推荐页养号(爱心/收藏/评论)
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">养号总开关(关闭=不跑推荐页养号)</label>
|
||
<label class="check isToggle">
|
||
<input id="yanghao_enabled" type="checkbox" data-key="yanghao_enabled" data-type="bool" checked />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div>
|
||
<label class="label">养号动作开关(爱心/收藏/评论)</label>
|
||
<label class="check isToggle">
|
||
<input id="yanghao_enable_actions" type="checkbox" data-key="yanghao_enable_actions" data-type="bool" checked />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">只执行推荐页养号流程</label>
|
||
<label class="check isToggle">
|
||
<input id="yanghao_only" type="checkbox" data-key="yanghao_only" data-type="bool" />
|
||
<span>启动后只养号,不抢福袋</span>
|
||
</label>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">逐步截图(调试用)</label>
|
||
<label class="check">
|
||
<input id="yanghao_step_screenshot" type="checkbox" data-key="yanghao_step_screenshot" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">养号时长(秒)</label>
|
||
<input id="yanghao_recommend_duration_seconds" class="input" data-key="yanghao_recommend_duration_seconds" data-type="int" type="number" min="1" max="3600" step="5" value="60" />
|
||
</div>
|
||
<div>
|
||
<label class="label">养号间隔(秒)</label>
|
||
<input id="yanghao_recommend_interval_seconds" class="input" data-key="yanghao_recommend_interval_seconds" data-type="int" type="number" min="0" max="3600" step="10" value="0" />
|
||
<div class="hint">0 表示每次触发都执行</div>
|
||
</div>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div>
|
||
<label class="label">爱心概率</label>
|
||
<input id="yanghao_like_prob" class="input" data-key="yanghao_like_prob" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
<div>
|
||
<label class="label">收藏概率</label>
|
||
<input id="yanghao_fav_prob" class="input" data-key="yanghao_fav_prob" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
<div>
|
||
<label class="label">评论概率</label>
|
||
<input id="yanghao_comment_prob" class="input" data-key="yanghao_comment_prob" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">检测动作后停留(秒)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_dwell_on_action_min_seconds" class="input" data-key="yanghao_dwell_on_action_min_seconds" data-type="float" type="number" min="0" max="120" step="1" value="5" />
|
||
<span>~</span>
|
||
<input id="yanghao_dwell_on_action_max_seconds" class="input" data-key="yanghao_dwell_on_action_max_seconds" data-type="float" type="number" min="0" max="120" step="1" value="30" />
|
||
</div>
|
||
<div class="hint">随机范围</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">图标 ROI 大小(px)</label>
|
||
<input id="yanghao_icon_roi_size" class="input" data-key="yanghao_icon_roi_size" data-type="int" type="number" min="80" max="600" step="10" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">养号图标匹配阈值</label>
|
||
<input id="yanghao_icon_match_threshold" class="input" data-key="yanghao_icon_match_threshold" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">爱心图标坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_like_icon_x" class="input" data-key="yanghao_like_icon_x" data-type="int" type="number" />
|
||
<input id="yanghao_like_icon_y" class="input" data-key="yanghao_like_icon_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">收藏图标坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_fav_icon_x" class="input" data-key="yanghao_fav_icon_x" data-type="int" type="number" />
|
||
<input id="yanghao_fav_icon_y" class="input" data-key="yanghao_fav_icon_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">爱心 ROI 偏移(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_like_roi_offset_x" class="input" data-key="yanghao_like_roi_offset_x" data-type="int" type="number" />
|
||
<input id="yanghao_like_roi_offset_y" class="input" data-key="yanghao_like_roi_offset_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">收藏 ROI 偏移(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_fav_roi_offset_x" class="input" data-key="yanghao_fav_roi_offset_x" data-type="int" type="number" />
|
||
<input id="yanghao_fav_roi_offset_y" class="input" data-key="yanghao_fav_roi_offset_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">爱心模板路径</label>
|
||
<input id="yanghao_like_template_path" class="input" data-key="yanghao_like_template_path" data-type="str" type="text" />
|
||
</div>
|
||
<div>
|
||
<label class="label">收藏模板路径</label>
|
||
<input id="yanghao_fav_template_path" class="input" data-key="yanghao_fav_template_path" data-type="str" type="text" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">爱心图标坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_like_icon_x_dup" class="input" data-mirror-key="yanghao_like_icon_x" type="number" />
|
||
<input id="yanghao_like_icon_y_dup" class="input" data-mirror-key="yanghao_like_icon_y" type="number" />
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">收藏图标坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_fav_icon_x_dup" class="input" data-mirror-key="yanghao_fav_icon_x" type="number" />
|
||
<input id="yanghao_fav_icon_y_dup" class="input" data-mirror-key="yanghao_fav_icon_y" type="number" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">评论按钮坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_comment_btn_x" class="input" data-key="yanghao_comment_btn_x" data-type="int" type="number" />
|
||
<input id="yanghao_comment_btn_y" class="input" data-key="yanghao_comment_btn_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">评论输入框坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_comment_input_x" class="input" data-key="yanghao_comment_input_x" data-type="int" type="number" />
|
||
<input id="yanghao_comment_input_y" class="input" data-key="yanghao_comment_input_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">评论发送坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_comment_send_x" class="input" data-key="yanghao_comment_send_x" data-type="int" type="number" />
|
||
<input id="yanghao_comment_send_y" class="input" data-key="yanghao_comment_send_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">评论关闭坐标(x,y)</label>
|
||
<div class="inline2">
|
||
<input id="yanghao_comment_close_x" class="input" data-key="yanghao_comment_close_x" data-type="int" type="number" />
|
||
<input id="yanghao_comment_close_y" class="input" data-key="yanghao_comment_close_y" data-type="int" type="number" />
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">停留后滑动方向</label>
|
||
<select id="yanghao_after_dwell_swipe_direction" class="input" data-key="yanghao_after_dwell_swipe_direction" data-type="str">
|
||
<option value="up">up</option>
|
||
<option value="down">down</option>
|
||
</select>
|
||
</div>
|
||
<div>
|
||
<label class="label">停留后滑动距离(px)</label>
|
||
<input id="yanghao_after_dwell_swipe_distance_px" class="input" data-key="yanghao_after_dwell_swipe_distance_px" data-type="int" type="number" min="100" max="2000" step="10" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<label class="label">评论文案库(每行一个)</label>
|
||
<textarea id="yanghao_comment_texts" class="input textarea" data-key="yanghao_comment_texts" data-type="list_lines" rows="6"></textarea>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">爱心关键词(每行一个)</label>
|
||
<textarea id="yanghao_like_keywords" class="input textarea" data-key="yanghao_like_keywords" data-type="list_lines" rows="4"></textarea>
|
||
</div>
|
||
<div>
|
||
<label class="label">收藏关键词(每行一个)</label>
|
||
<textarea id="yanghao_fav_keywords" class="input textarea" data-key="yanghao_fav_keywords" data-type="list_lines" rows="4"></textarea>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="panel" data-panel="keywords" role="tabpanel" hidden>
|
||
<div class="sectionTitle">
|
||
<span class="sectionIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0z"/><path d="M21 21l-6-6"/></svg></span>
|
||
关键词(每行一个)
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">想要 contains_want</label>
|
||
<textarea id="contains_want" class="input textarea" data-key="contains_want" data-type="list_lines" rows="5"></textarea>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">不想要 contains_not_want</label>
|
||
<textarea id="contains_not_want" class="input textarea" data-key="contains_not_want" data-type="list_lines" rows="5"></textarea>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="panel" data-panel="debug" role="tabpanel" hidden>
|
||
<div class="sectionTitle">
|
||
<span class="sectionIcon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg></span>
|
||
调试参数
|
||
</div>
|
||
|
||
<div class="sectionTitle">调试图像</div>
|
||
<div class="row">
|
||
<label class="label">保存调试图像(OCR / 像素 / 模板等)</label>
|
||
<label class="check">
|
||
<input id="debug_captures_enabled" type="checkbox" data-key="debug_captures.enabled" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
<div class="hint">关闭后不再保存调试截图,可显著减少磁盘占用和略微提升速度</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">调试图像清理</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">异步保存调试图像</label>
|
||
<label class="check">
|
||
<input id="debug_captures_async_save" type="checkbox" data-key="debug_captures.async_save" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div>
|
||
<label class="label">保存完成写日志</label>
|
||
<label class="check">
|
||
<input id="debug_captures_log_on_complete" type="checkbox" data-key="debug_captures.log_on_complete" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">启用自动清理调试图像</label>
|
||
<label class="check">
|
||
<input id="debug_captures_auto_cleanup" type="checkbox" data-key="debug_captures.auto_cleanup" data-type="bool" checked />
|
||
<span>启用</span>
|
||
</label>
|
||
<div class="hint">每天第一次保存调试图像时自动清理旧目录</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">保留天数</label>
|
||
<input id="debug_captures_keep_days" class="input" data-key="debug_captures.keep_days" data-type="int" type="number" min="1" max="30" step="1" value="7" />
|
||
<div class="hint">超过此天数的调试图像目录将被自动删除</div>
|
||
</div>
|
||
<div>
|
||
<label class="label">最大文件数量</label>
|
||
<input id="debug_captures_max_files" class="input" data-key="debug_captures.max_files" data-type="int" type="number" min="100" max="10000" step="100" value="2000" />
|
||
<div class="hint">超过此数量的调试图像将被自动清理(优先删除最旧的)</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">OCR 模式</div>
|
||
<div class="row">
|
||
<label class="label">启用 OCR 模式1(备用)</label>
|
||
<label class="check">
|
||
<input id="enable_ocr_mode1" type="checkbox" data-key="enable_ocr_mode1" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
<div class="hint">当模式识别失败时,自动尝试模式1</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">模板匹配</div>
|
||
<div class="row">
|
||
<label class="label">启用福袋模板匹配</label>
|
||
<label class="check">
|
||
<input id="fudai_template_match_enabled" type="checkbox" data-key="fudai_template_match_enabled" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
<div class="hint">使用模板匹配辅助查找福袋图标</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">模板匹配阈值</label>
|
||
<input id="fudai_template_match_threshold" class="input" data-key="fudai_template_match_threshold" data-type="float" type="number" min="0" max="1" step="0.01" value="0.7" />
|
||
<div class="hint">匹配分数阈值,范围 0-1,默认 0.7</div>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div>
|
||
<label class="label">详情模板阈值</label>
|
||
<input id="fudai_detail_template_threshold" class="input" data-key="fudai_detail_template_threshold" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
<div>
|
||
<label class="label">优惠券模板阈值</label>
|
||
<input id="coupon_template_match_threshold" class="input" data-key="coupon_template_match_threshold" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
<div>
|
||
<label class="label">福袋点击等待(秒)</label>
|
||
<input id="fudai_click_wait_seconds" class="input" data-key="fudai_click_wait_seconds" data-type="float" type="number" min="0" max="10" step="0.1" />
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">禁用任务识别</label>
|
||
<label class="check">
|
||
<input id="fudai_disable_task_recognition" type="checkbox" data-key="fudai_disable_task_recognition" data-type="bool" />
|
||
<span>跳过看播任务识别</span>
|
||
</label>
|
||
</div>
|
||
<div>
|
||
<label class="label">连续未找到退出阈值</label>
|
||
<input id="fudai_exit_after_misses" class="input" data-key="fudai_exit_after_misses" data-type="int" type="number" min="1" step="1" />
|
||
</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">像素检测</div>
|
||
<div class="row">
|
||
<label class="label">抽奖结果红色比例阈值</label>
|
||
<input id="lucky_draw_red_ratio_threshold" class="input" data-key="lucky_draw_red_ratio_threshold" data-type="float" type="number" min="0" max="1" step="0.01" value="0.8" />
|
||
<div class="hint">用于检测抽奖结果弹窗,范围 0-1,默认 0.8</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">参与按钮红色比例阈值</label>
|
||
<input id="attend_button_red_ratio_threshold" class="input" data-key="attend_button_red_ratio_threshold" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
<div>
|
||
<label class="label">粉丝团按钮红色比例阈值</label>
|
||
<input id="fansclub_join_red_ratio_threshold" class="input" data-key="fansclub_join_red_ratio_threshold" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">购物红包红色比例阈值</label>
|
||
<input id="shopping_redpacket_red_ratio_threshold" class="input" data-key="shopping_redpacket_red_ratio_threshold" data-type="float" type="number" min="0" max="1" step="0.01" />
|
||
</div>
|
||
<div class="row">
|
||
<label class="label">直播间匹配阈值</label>
|
||
<input id="debug_live_room_match_threshold" class="input" data-mirror-key="live_room_match_threshold" type="number" min="0" max="1" step="0.01" value="0.7" />
|
||
<div class="hint">用于判断是否在直播间,范围 0-1,默认 0.7</div>
|
||
</div>
|
||
|
||
<div class="sectionTitle">阶段诊断</div>
|
||
<div class="sectionTitle">后台截图</div>
|
||
<div class="row">
|
||
<label class="label">启用后台流式截图</label>
|
||
<label class="check">
|
||
<input id="enable_streaming_screenshot" type="checkbox" data-key="enable_streaming_screenshot" data-type="bool" />
|
||
<span>启用</span>
|
||
</label>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">最大诊断时间(秒)</label>
|
||
<input id="stage_diag_max_time" class="input" data-key="stage_diag_max_time" data-type="float" type="number" min="1" max="60" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">单步最大时间(秒)</label>
|
||
<input id="stage_diag_max_step_time" class="input" data-key="stage_diag_max_step_time" data-type="float" type="number" min="0.5" max="10" step="0.5" />
|
||
</div>
|
||
</div>
|
||
<div class="sectionTitle">日志与界面</div>
|
||
<div class="row grid3">
|
||
<div><label class="check"><input id="logging_beautify_output" type="checkbox" data-key="logging.beautify_output" data-type="bool" /> <span>美化日志</span></label></div>
|
||
<div><label class="check"><input id="logging_color_output" type="checkbox" data-key="logging.color_output" data-type="bool" /> <span>彩色日志</span></label></div>
|
||
<div><label class="check"><input id="logging_show_timestamps" type="checkbox" data-key="logging.show_timestamps" data-type="bool" /> <span>显示时间</span></label></div>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div><label class="check"><input id="logging_enable_monitor" type="checkbox" data-key="logging.enable_monitor" data-type="bool" /> <span>日志监控</span></label></div>
|
||
<div><label class="check"><input id="logging_compress_logs" type="checkbox" data-key="logging.compress_logs" data-type="bool" /> <span>压缩旧日志</span></label></div>
|
||
<div><label class="check"><input id="logging_performance_tracking_enabled" type="checkbox" data-key="logging.performance_tracking.enabled" data-type="bool" /> <span>性能追踪</span></label></div>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div><label class="check"><input id="logging_use_dated_logs" type="checkbox" data-key="logging.use_dated_logs" data-type="bool" /> <span>按日期拆分日志</span></label></div>
|
||
<div><label class="check"><input id="log_unified_enabled" type="checkbox" data-key="log_unified_enabled" data-type="bool" /> <span>写入统一日志</span></label></div>
|
||
<div>
|
||
<label class="label">统一日志路径</label>
|
||
<input id="log_unified_path" class="input" data-key="log_unified_path" data-type="str" type="text" />
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">实时状态刷新(ms)</label>
|
||
<input id="gui_realtime_status_refresh_interval_ms" class="input" data-key="gui.realtime_status.refresh_interval_ms" data-type="int" type="number" min="200" step="100" />
|
||
</div>
|
||
<div>
|
||
<label class="label">实时状态条数</label>
|
||
<input id="gui_realtime_status_tail_items" class="input" data-key="gui.realtime_status.tail_items" data-type="int" type="number" min="10" step="10" />
|
||
</div>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div>
|
||
<label class="label">日志保留天数</label>
|
||
<input id="logging_keep_days" class="input" data-key="logging.keep_days" data-type="int" type="number" min="1" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">压缩早于天数</label>
|
||
<input id="logging_compress_after_days" class="input" data-key="logging.compress_after_days" data-type="int" type="number" min="1" step="1" />
|
||
</div>
|
||
<div>
|
||
<label class="label">总大小上限(GB)</label>
|
||
<input id="logging_max_total_size_gb" class="input" data-key="logging.max_total_size_gb" data-type="float" type="number" min="0" step="0.5" />
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">调试日志级别</label>
|
||
<select id="logging_debug_detail_level" class="input" data-key="logging.debug_detail_level" data-type="str">
|
||
<option value="minimal">minimal</option><option value="normal">normal</option><option value="verbose">verbose</option>
|
||
</select>
|
||
</div>
|
||
<div>
|
||
<label class="label">错误日志级别</label>
|
||
<select id="logging_error_detail_level" class="input" data-key="logging.error_detail_level" data-type="str">
|
||
<option value="summary">summary</option><option value="full">full</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<div>
|
||
<label class="label">行为日志格式</label>
|
||
<select id="logging_action_log_format" class="input" data-key="logging.action_log_format" data-type="str">
|
||
<option value="concise">concise</option><option value="detailed">detailed</option>
|
||
</select>
|
||
</div>
|
||
<div>
|
||
<label class="label">日志格式模式</label>
|
||
<select id="logging_log_format_mode" class="input" data-key="logging.log_format_mode" data-type="str">
|
||
<option value="simple">simple</option><option value="structured">structured</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="row grid3">
|
||
<div>
|
||
<label class="label">监控警告(MB)</label>
|
||
<input id="logging_monitor_warning_mb" class="input" data-key="logging.monitor_warning_mb" data-type="float" type="number" min="0" step="10" />
|
||
</div>
|
||
<div>
|
||
<label class="label">监控严重(MB)</label>
|
||
<input id="logging_monitor_critical_mb" class="input" data-key="logging.monitor_critical_mb" data-type="float" type="number" min="0" step="10" />
|
||
</div>
|
||
<div>
|
||
<label class="label">界面主题</label>
|
||
<select id="gui_theme" class="input" data-key="gui.theme" data-type="str">
|
||
<option value="litera">litera</option><option value="darkly">darkly</option><option value="flatly">flatly</option><option value="cosmo">cosmo</option><option value="superhero">superhero</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="row grid2">
|
||
<label class="check"><input id="logging_stage_diag_verbose" type="checkbox" data-key="logging.stage_diag_verbose" data-type="bool" /> <span>阶段诊断详细日志</span></label>
|
||
<label class="check"><input id="logging_track_function_calls" type="checkbox" data-key="logging.performance_tracking.track_function_calls" data-type="bool" /> <span>追踪函数调用</span></label>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="panel monitorPanel" data-panel="monitor" role="tabpanel" hidden>
|
||
<section class="card cardShot">
|
||
<div class="cardTitle">
|
||
<span class="sectionIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M7 15l3-3 3 3 5-5"/></svg>
|
||
</span>
|
||
实时截图
|
||
</div>
|
||
<div class="preview">
|
||
<img id="liveShot" alt="实时截图预览" src="/pic/screenshot.png" />
|
||
<span class="previewBracket previewBracketTL" aria-hidden="true"></span>
|
||
<span class="previewBracket previewBracketTR" aria-hidden="true"></span>
|
||
<span class="previewBracket previewBracketBL" aria-hidden="true"></span>
|
||
<span class="previewBracket previewBracketBR" aria-hidden="true"></span>
|
||
<span class="previewRec" aria-hidden="true"><span class="previewRecDot"></span>REC</span>
|
||
<span id="liveShotTs" class="previewTs" hidden></span>
|
||
<button id="btnShotFullscreen" type="button" class="previewFullscreen" aria-label="全屏查看" data-tooltip="全屏查看" data-tooltip-pos="bottom">
|
||
<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 8V3h5"/><path d="M21 8V3h-5"/><path d="M3 16v5h5"/><path d="M21 16v5h-5"/></svg>
|
||
</button>
|
||
</div>
|
||
<div class="hint" id="liveShotStatus">等待截图</div>
|
||
</section>
|
||
|
||
</div>
|
||
|
||
<section class="card cardReservations panel" data-panel="reservations" role="tabpanel" hidden>
|
||
<div class="cardTitle">
|
||
<span class="sectionIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5"/><path d="M2 12l10 5 10-5"/></svg>
|
||
</span>
|
||
预约队列
|
||
</div>
|
||
<div id="reservationsContent" class="reservationsContent">
|
||
<div class="hint">暂无预约信息</div>
|
||
</div>
|
||
|
||
<div class="divider"></div>
|
||
<details open>
|
||
<summary class="sectionTitle">已记录直播间(高价值)
|
||
<span class="summaryActions">
|
||
<button id="hv_expand_all" class="btn small">展开全部</button>
|
||
<button id="hv_collapse_all" class="btn small">折叠全部</button>
|
||
</span>
|
||
</summary>
|
||
<div id="highValueRoomsContent" class="reservationsContent">
|
||
<div class="hint">暂无记录</div>
|
||
</div>
|
||
</details>
|
||
</section>
|
||
|
||
<section class="card cardLog panel" data-panel="runLogs" role="tabpanel" hidden>
|
||
<div class="cardTitle">
|
||
<span class="sectionIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16v16H4z"/><path d="M8 8h8"/><path d="M8 12h8"/><path d="M8 16h6"/></svg>
|
||
</span>
|
||
运行日志
|
||
</div>
|
||
|
||
<div class="logSection singleLogSection">
|
||
<div class="logHeader">
|
||
<div class="logTitle">运行日志</div>
|
||
<div class="logHeaderActions">
|
||
<select id="runLogMode" class="small">
|
||
<option value="filter">筛选</option>
|
||
<option value="search">搜索</option>
|
||
</select>
|
||
<input id="runLogSearch" class="logSearchBox" placeholder="筛选/搜索运行日志" />
|
||
<button id="btnRunLogSearch" class="btn small">搜索</button>
|
||
<button id="btnRunLogClear" class="btn small">清除</button>
|
||
</div>
|
||
</div>
|
||
<pre id="runLog" class="log"></pre>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="card cardLog panel" data-panel="actionLogs" role="tabpanel" hidden>
|
||
<div class="cardTitle">
|
||
<span class="sectionIcon" aria-hidden="true">
|
||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 6h13"/><path d="M8 12h13"/><path d="M8 18h13"/><path d="M3 6h.01"/><path d="M3 12h.01"/><path d="M3 18h.01"/></svg>
|
||
</span>
|
||
行为日志
|
||
</div>
|
||
|
||
<div class="logSection singleLogSection">
|
||
<div class="logHeader">
|
||
<div class="logTitle">行为日志</div>
|
||
<div class="logHeaderActions">
|
||
<input id="actionsLogSearch" class="logSearchBox" placeholder="搜索行为日志(只在最近条目中搜索)" />
|
||
<button id="btnActionsRefresh" class="btn small">刷新</button>
|
||
</div>
|
||
</div>
|
||
<pre id="actionsLog" class="log"></pre>
|
||
</div>
|
||
</section>
|
||
</section>
|
||
</main>
|
||
<footer class="appFooter">
|
||
<div class="appFooterLeft">
|
||
<span class="appConnDot" id="appConnDot" data-state="idle" aria-hidden="true"></span>
|
||
<span class="appConnText" id="appConnText">就绪</span>
|
||
<span class="appFooterDivider" aria-hidden="true">·</span>
|
||
<span class="appFooterMeta">SYS_OK</span>
|
||
</div>
|
||
<div class="appFooterRight">
|
||
<span class="appFooterMeta hudPing" id="hudPing" title="API 响应时间">PING <em>—</em>ms</span>
|
||
<span class="appFooterDivider" aria-hidden="true">·</span>
|
||
<span class="appFooterMeta hudFps" id="hudFps" title="渲染帧率">FPS <em>—</em></span>
|
||
<span class="appFooterDivider" aria-hidden="true">·</span>
|
||
<span class="appFooterMeta" id="appFooterVersion">v—</span>
|
||
<span class="appFooterDivider" aria-hidden="true">·</span>
|
||
<span class="appFooterMeta" id="appFooterBuild">—</span>
|
||
</div>
|
||
</footer>
|
||
</div>
|
||
|
||
<button id="btnScrollTop" type="button" class="scrollTopBtn" aria-label="回到顶部" data-tooltip="回到顶部" data-tooltip-pos="top" hidden>
|
||
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
|
||
</button>
|
||
|
||
<script src="app.js?v=console-20260520-theme-v33"></script>
|
||
</body>
|
||
</html>
|