diff --git a/assets/css/aiChat.less b/assets/css/aiChat.less index b7846fb..6311185 100644 --- a/assets/css/aiChat.less +++ b/assets/css/aiChat.less @@ -8,18 +8,22 @@ page { justify-content: space-between; } .fix-tabbar-page { - position: relative; - min-height: 100vh; - 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%); - // background-color: #fff; - // background-size: 100% calc(100vh - 160rpx); - // background-image: url(https://wxapp.xdd618.com/api/file/pic/aiChat/bg.png); - // background-repeat: no-repeat; - // background-attachment: fixed; - &.new-chat { - background-size: 100% calc(100vh - 160rpx); - background-repeat: no-repeat; - } + position: relative; + z-index: 0; + min-height: 100vh; + background: transparent; + isolation: isolate; + &::before { + content: ''; + position: fixed; + top: 0; + right: 0; + 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 { position: fixed; top: 0;