fix: adjust z-index of collapsed sticky header
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
@scroll="handleScroll" @touchstart.capture="handleScrollAreaTouchStart" @touchstart="handleScrollAreaTouchStart"
|
@scroll="handleScroll" @touchstart.capture="handleScrollAreaTouchStart" @touchstart="handleScrollAreaTouchStart"
|
||||||
@touchmove="handleScrollAreaTouchMove">
|
@touchmove="handleScrollAreaTouchMove">
|
||||||
<div class="relative transition-all duration-300 ease-in-out bg-cover bg-center bg-no-repeat"
|
<div class="relative transition-all duration-300 ease-in-out bg-cover bg-center bg-no-repeat"
|
||||||
:class="{ 'sticky top-0 z-10': isHeaderCollapsed }"
|
:class="{ 'sticky top-0 z-100': isHeaderCollapsed }"
|
||||||
:style="{ height: isHeaderCollapsed ? '50px' : '252px', backgroundImage: mainPageDataModel?.initPageImages?.backgroundImageUrl ? `url(${mainPageDataModel.initPageImages.backgroundImageUrl})` : 'none' }">
|
:style="{ height: isHeaderCollapsed ? '50px' : '252px', backgroundImage: mainPageDataModel?.initPageImages?.backgroundImageUrl ? `url(${mainPageDataModel.initPageImages.backgroundImageUrl})` : 'none' }">
|
||||||
<div class="absolute bottom-0 left-0 right-0 flex-1">
|
<div class="absolute bottom-0 left-0 right-0 flex-1">
|
||||||
<div class="px-[12px] pt-[12px] transition-all duration-300"
|
<div class="px-[12px] pt-[12px] transition-all duration-300"
|
||||||
|
|||||||
Reference in New Issue
Block a user