style(StudyDetailPage): 将底部输入框的布局从sticky改为fixed
将底部输入框的布局从sticky改为fixed,以确保在滚动页面时输入框始终固定在屏幕底部,提升用户体验
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -124,7 +124,7 @@ | ... | @@ -124,7 +124,7 @@ |
| 124 | </div> | 124 | </div> |
| 125 | 125 | ||
| 126 | <!-- 固定底部输入框 --> | 126 | <!-- 固定底部输入框 --> |
| 127 | - <div class="flex-none border-t px-4 py-2 bg-white sticky bottom-0 z-10"> | 127 | + <div class="flex-none border-t px-4 py-2 bg-white fixed bottom-0 left-0 right-0 z-10"> |
| 128 | <div class="flex items-center space-x-2"> | 128 | <div class="flex items-center space-x-2"> |
| 129 | <van-field v-model="popupComment" rows="1" autosize type="textarea" | 129 | <van-field v-model="popupComment" rows="1" autosize type="textarea" |
| 130 | placeholder="请输入评论" class="flex-1 bg-gray-100 rounded-lg" /> | 130 | placeholder="请输入评论" class="flex-1 bg-gray-100 rounded-lg" /> | ... | ... |
-
Please register or login to post a comment