fix scroll exception

This commit is contained in:
Timi
2025-12-18 11:57:07 +08:00
parent 9f7df3cfed
commit 1ad1da1c4e
3 changed files with 29 additions and 15 deletions

View File

@ -57,7 +57,7 @@
.loading,
.finished {
color: var(--td-text-color-placeholder);
padding: 32rpx 0;
padding: 32rpx 0 64rpx 0;
font-size: 24rpx;
text-align: center;
}

View File

@ -1,8 +1,21 @@
page {
height: 100vh;
background: var(--td-bg-color-page);
}
.content {
width: 100vw;
height: calc(100vh - var(--navbar-height, 88rpx));
.page-container {
width: 100%;
height: 100%;
display: flex;
overflow: hidden;
flex-direction: column;
.navbar {
flex-shrink: 0;
}
.content {
flex: 1;
overflow: hidden;
}
}

View File

@ -1,12 +1,13 @@
<view class="custom-navbar">
<t-navbar title="列表查找" left-arrow />
</view>
<view class="content">
<journal-list
id="listRef"
searchable="{{true}}"
mode="navigate"
bind:navigate="onNavigateItem"
/>
<view class="page-container">
<view class="navbar">
<t-navbar title="列表查找" left-arrow />
</view>
<view class="content">
<journal-list
id="listRef"
searchable="{{true}}"
mode="navigate"
bind:navigate="onNavigateItem"
/>
</view>
</view>