修复bug

This commit is contained in:
zhouyanli
2026-08-17 18:02:46 +08:00
parent a4c7318ff6
commit 1710cba509
6 changed files with 69 additions and 69 deletions

View File

@@ -151,8 +151,9 @@ const addInvitation = () => {
.visitor-page {
display: flex;
flex-direction: column;
height: 100%;
height: 100vh;
overflow: hidden;
box-sizing: border-box;
background: linear-gradient(135deg, #e2f0ff 0%, #f9f9f9 50%);
padding: 0 30rpx;
}
@@ -296,16 +297,21 @@ const addInvitation = () => {
color: #999;
}
/* 列表底部占位 */
/* 列表底部占位(为固定的按钮预留高度,保证最后一项能滚到按钮上方) */
.list-bottom-space {
height: 24rpx;
height: 180rpx;
}
/* 新增邀请按钮 */
.add-btn-wrapper {
flex-shrink: 0;
padding: 20rpx 0;
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 10;
padding: 20rpx 30rpx;
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
background-color: #f9f9f9;
}
.add-btn {
@@ -325,3 +331,11 @@ const addInvitation = () => {
font-size: 30rpx;
}
</style>
<style>
/* 页面容器撑满并禁止整体滚动,让内部 scroll-view 单独滚动 */
page {
height: 100%;
overflow: hidden;
}
</style>