feat: 定时停止(30/60/90/120 分钟)与循环联动
- 设置区新增"定时"下拉,到点自动停止播放并淡出配乐; 截止时间判定走 timeupdate,手机锁屏/后台也能按时停 - 设定定时自动带开循环(播到点为止);定时关闭或到点后 收回自动循环,手动开启的循环不受影响 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
@@ -179,6 +179,23 @@ body {
|
||||
}
|
||||
#voice-select:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 1px; }
|
||||
|
||||
#timer-select {
|
||||
appearance: none;
|
||||
font-family: inherit;
|
||||
font-size: 0.86rem;
|
||||
color: var(--ink-soft);
|
||||
letter-spacing: 0.08em;
|
||||
background:
|
||||
linear-gradient(45deg, transparent 50%, var(--gold) 50%) right 12px center / 6px 6px no-repeat,
|
||||
linear-gradient(135deg, var(--gold) 50%, transparent 50%) right 8px center / 6px 6px no-repeat,
|
||||
transparent;
|
||||
border: 1px solid var(--hairline);
|
||||
border-radius: 6px;
|
||||
padding: 6px 26px 6px 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#timer-select:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 1px; }
|
||||
|
||||
/* ===== 字号 / 排版工具(并入控制栏) ===== */
|
||||
.tool-group { display: flex; align-items: center; gap: 8px; }
|
||||
.tool-name { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.2em; }
|
||||
|
||||
Reference in New Issue
Block a user