fix: 设备验收预警优化

This commit is contained in:
sophie committed 2026-10-13 15:52:09 +08:00
1 parent 7e7bcbd388
commit b8cc0cbe77
25 files changed
+1398 -193

No files matched your search

@@ -76,6 +76,9 @@
}
.when { display: flex; flex-direction: column; gap: 8px; }
.when b { font-size: 12px; color: var(--muted); font-weight: 700; }
.switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.when small { color: var(--muted); font-size: 12px; }
.round.off .people { opacity: 0.45; }
.day {
display: flex;
align-items: center;
@@ -267,10 +270,12 @@
</div>
</article>
<article class="round">
<article class="round off" id="round4">
<div class="when">
<b>第 4 轮</b>
<label class="day">超过 <input value="51" /> 天</label>
<label class="switch"><input id="round4Switch" type="checkbox" /> 启用第 4 轮</label>
<small>默认关闭,不通知总经理</small>
</div>
<div class="people">
<div class="line">
@@ -305,7 +310,12 @@
<button class="save" type="button">保存配置</button>
</div>
</section>
<p class="mark">效果图,尚未接到现有页面。</p>
<p class="mark">效果图。第 4 轮开关已接到现有配置页,默认关闭。</p>
<script>
document.getElementById("round4Switch").addEventListener("change", (event) => {
document.getElementById("round4").classList.toggle("off", !event.target.checked);
});
</script>
</main>
</body>
</html>