Fix(云灵AI):[#5831]上滑时背景图相对底部固定

This commit is contained in:
lifizer
2026-08-21 10:02:03 +08:00
parent 6843be82cb
commit e6ff7fafce
+16 -12
View File
@@ -8,18 +8,22 @@ page {
justify-content: space-between; justify-content: space-between;
} }
.fix-tabbar-page { .fix-tabbar-page {
position: relative; position: relative;
min-height: 100vh; z-index: 0;
background: linear-gradient(155deg, rgba(61, 76, 241, 0.15) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(61, 76, 241, 0.15) 100%); min-height: 100vh;
// background-color: #fff; background: transparent;
// background-size: 100% calc(100vh - 160rpx); isolation: isolate;
// background-image: url(https://wxapp.xdd618.com/api/file/pic/aiChat/bg.png); &::before {
// background-repeat: no-repeat; content: '';
// background-attachment: fixed; position: fixed;
&.new-chat { top: 0;
background-size: 100% calc(100vh - 160rpx); right: 0;
background-repeat: no-repeat; bottom: 0;
} left: 0;
z-index: -1;
pointer-events: none;
background: linear-gradient(155deg, rgba(61, 76, 241, 0.15) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,1) 75%, rgba(61, 76, 241, 0.15) 100%);
}
.fix-tabbar-header { .fix-tabbar-header {
position: fixed; position: fixed;
top: 0; top: 0;