优化对话框状态管理

This commit is contained in:
jxxghp
2025-08-23 19:32:23 +08:00
parent 9faa0ded59
commit f093053ea4
3 changed files with 28 additions and 38 deletions

View File

@@ -3,38 +3,6 @@
@tailwind components;
@tailwind utilities;
// 基础样式
html.v-overlay-scroll-blocked {
position: fixed;
position: relative;
--v-body-scroll-y: 0px !important;
}
body {
overscroll-behavior: none;
}
// 防止弹窗滚动穿透
.v-dialog {
.v-overlay__content {
overscroll-behavior: contain;
}
.v-card {
overscroll-behavior: contain;
touch-action: pan-y;
}
.v-card-text {
overscroll-behavior: contain;
}
}
// 防止滚动穿透的通用样式
.v-overlay--active {
overscroll-behavior: contain;
}
@mixin hide-scrollbar {
-ms-overflow-style: none;