前端 uni-app 重写: 9页面 H5

This commit is contained in:
zhiqui
2026-11-15 15:09:37 +08:00
parent 513b53672e
commit ea7c2529e9
24104 changed files with 3667749 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
uni-content {
display: flex;
flex: 1 0 auto;
height: 100%;
}
uni-main {
flex: 1;
width: 100%;
/* 解除 flex 子项默认的内容最小宽度限制,避免主区域被内容撑宽、挤压左右窗口。 */
min-width: 0;
}
uni-top-window + uni-content {
height: calc(100vh - var(--top-window-height));
}
uni-left-window {
position: relative;
width: var(--window-left);
order: -1;
overflow-x: hidden;
}
uni-right-window {
position: relative;
width: var(--window-right);
overflow-x: hidden;
}
uni-left-window[data-show],
uni-right-window[data-show] {
position: absolute;
}
uni-right-window[data-show] {
right: 0;
}
uni-content .uni-mask,
.uni-left-window,
.uni-right-window {
z-index: 997;
}
.uni-mask + .uni-left-window,
.uni-mask + .uni-right-window {
position: fixed;
}
.uni-top-window {
position: fixed;
left: var(--window-margin);
right: var(--window-margin);
top: 0;
z-index: 998;
overflow: hidden;
}