调整背书序列,可清楚后重复使用

This commit is contained in:
赵杰 Jie Zhao (雄狮汽车科技)
2025-11-03 16:51:38 +08:00
parent 6fc4438a13
commit 37fb88b042
3 changed files with 136 additions and 13 deletions

View File

@@ -1,6 +1,31 @@
.recitation-container {
max-width: 900px;
margin: 0 auto;
position: relative;
isolation: isolate; /* 创建新的堆叠上下文,防止外部覆盖层 */
}
/* 防止意外覆盖层显示 - 只清除空的或意外的伪元素 */
.recitation-container *::before,
.recitation-container *::after {
/* 保留正常使用的伪元素,只阻止意外内容 */
pointer-events: none;
}
/* 确保容器内所有元素正常显示,无意外覆盖 */
.items-list,
.sorted-list {
position: relative;
z-index: 1;
background: white;
overflow: hidden; /* 防止内容溢出 */
}
/* 转盘容器保持相对定位,确保指针正常显示 */
.wheel-container {
position: relative;
z-index: 1;
overflow: visible; /* 转盘指针需要可见 */
}
.input-section,