bettergi-scripts-list/repo/js/批量讨伐角色养成材料BOSS/assets/html/状态面板.html
DarkFlameMaster 478250e832
同步批量讨伐角色养成材料BOSS更新 (#3205)
Co-authored-by: DarkFlameMaster <[email protected]>
2026-05-25 18:55:44 +08:00

54 lines
2.3 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: transparent; }
#status-panel {
position: fixed;
right: 1%;
bottom: 28%;
background: rgba(0, 0, 0, 0.3);
padding: 15px 20px;
border-radius: 8px;
color: #ffffff;
font-family: 'Microsoft YaHei', sans-serif;
font-size: 14px;
line-height: 1.8;
min-width: 200px;
pointer-events: none;
text-align: left;
}
#status-panel .line { margin: 2px 0; }
#status-panel .label { color: #aaa; }
</style>
</head>
<body>
<div id="status-panel">
<div class="line"><span class="label">刷取模式:</span><span id="farm-mode">--</span></div>
<div class="line"><span class="label">Boss:</span><span id="boss-name">--</span></div>
<div class="line"><span class="label">进度:</span><span id="progress">-- / --</span></div>
<div class="line"><span class="label">队伍:</span><span id="team">--</span></div>
<div class="line"><span class="label">策略:</span><span id="strategy">--</span></div>
<div class="line"><span class="label">回神像:</span><span id="return-statue">否</span></div>
</div>
<script>
window.addEventListener('DOMContentLoaded', function () {
if (window.htmlMask) {
window.htmlMask.onMessage = function (message) {
if (message.url === '/updateStatus') {
var data = message.data.data || message.data;
document.getElementById('farm-mode').textContent = data.farmMode;
document.getElementById('boss-name').textContent = data.bossName;
document.getElementById('progress').textContent = data.progress;
document.getElementById('team').textContent = data.team;
document.getElementById('strategy').textContent = data.strategy;
document.getElementById('return-statue').textContent = data.returnStatue;
}
};
}
});
</script>
</body>
</html>