|
|
@@ -73,8 +73,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- 登录弹窗组件 -->
|
|
|
- <LoginModal v-model:open="showLoginModal" @success="handleLoginSuccess" @cancel="handleLoginCancel" />
|
|
|
+ <!-- 登录弹窗组件(与 index 同结构,盖住底部 tabbar) -->
|
|
|
+ <view class="login-modal-wrapper">
|
|
|
+ <LoginModal v-model:open="showLoginModal" @success="handleLoginSuccess" @cancel="handleLoginCancel" />
|
|
|
+ </view>
|
|
|
<!-- 底部导航 -->
|
|
|
<TabBar />
|
|
|
</view>
|
|
|
@@ -262,4 +264,21 @@ const handleLoginCancel = () => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+/* 登录弹窗层级设置(与 index 一致,盖住底部 tabbar) */
|
|
|
+.login-modal-wrapper {
|
|
|
+ position: relative;
|
|
|
+ z-index: 99999;
|
|
|
+
|
|
|
+ :deep(.uni-popup) {
|
|
|
+ z-index: 99999 !important;
|
|
|
+ top: 0 !important;
|
|
|
+ left: 0 !important;
|
|
|
+ right: 0 !important;
|
|
|
+ bottom: 0 !important;
|
|
|
+ }
|
|
|
+ :deep(.uni-popup__wrapper) {
|
|
|
+ z-index: 99999 !important;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|