<div>nav-bar</div> //fixed
<div class="swiper-container">
<div class="1"></div> //
<div class="2">
<div></div>
<div>dialog </div>
<div> mask </div> //2
</div>
</div>
The hole came out because I set transparency on navbar, and then the mask layer can change the color of the element.
the main question is: because of the cascading context, no matter how large the z-index that sets mask, you can"t exceed nav-bar,. Is there any other way to move the location of elements?