Commit 61e124af by chenwq

fix(团队列表): 调整容器高度为100%以适应不同屏幕

1 parent f177ebd1
...@@ -351,7 +351,7 @@ export default { ...@@ -351,7 +351,7 @@ export default {
/* 样式保留了原小程序的结构,单位已根据 1px = 2rpx 进行换算 */ /* 样式保留了原小程序的结构,单位已根据 1px = 2rpx 进行换算 */
.team-list-page { .team-list-page {
background: #f2f3f7; background: #f2f3f7;
height: 100vh; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
...@@ -378,7 +378,7 @@ export default { ...@@ -378,7 +378,7 @@ export default {
} }
.container { .container {
box-sizing: border-box; box-sizing: border-box;
height: 100vh; height: 100%;
position: relative; position: relative;
z-index: 1; z-index: 1;
overflow: hidden; overflow: hidden;
...@@ -395,7 +395,7 @@ export default { ...@@ -395,7 +395,7 @@ export default {
} }
.data-container { .data-container {
box-sizing: border-box; box-sizing: border-box;
height: calc(100vh - 190px); height: calc(100% - 190px);
// padding-bottom: env(safe-area-inset-bottom); // padding-bottom: env(safe-area-inset-bottom);
// overflow: auto; // overflow: auto;
.sticky-box { .sticky-box {
...@@ -414,10 +414,10 @@ export default { ...@@ -414,10 +414,10 @@ export default {
.content-box { .content-box {
padding: 0 12px; padding: 0 12px;
box-sizing: border-box; box-sizing: border-box;
height: calc(100vh); height: calc(100%);
overflow: scroll; overflow: scroll;
.refresh { .refresh {
height: calc(100vh - 340px); height: calc(100% - 80px);
overflow: scroll; overflow: scroll;
} }
.list { .list {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!