From 8cf55d3925acb8d3c87148322982978cc3a9248e Mon Sep 17 00:00:00 2001
From: Apcallover <1503963513@qq.com>
Date: Sun, 30 Nov 2025 14:26:36 +0800
Subject: [PATCH] =?UTF-8?q?flat:=20=E6=80=A7=E8=83=BD=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/components/index-one.vue | 3 +++
pages/index/index.vue | 8 ++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/pages/index/components/index-one.vue b/pages/index/components/index-one.vue
index 79b6ccf..bd3ff74 100644
--- a/pages/index/components/index-one.vue
+++ b/pages/index/components/index-one.vue
@@ -298,6 +298,7 @@ function nextDetail(job) {
function openFilter() {
showFilter.value = true;
emits('onShowTabbar', false);
+ uni.hideTabBar();
selectFilterModel.value?.open({
title: '筛选',
maskClick: true,
@@ -310,10 +311,12 @@ function openFilter() {
}
showFilter.value = false;
getJobList('refresh');
+ uni.showTabBar();
},
cancel: () => {
showFilter.value = false;
emits('onShowTabbar', true);
+ uni.showTabBar();
},
});
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 614dd23..3832ce3 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -49,7 +49,7 @@
左滑查看视频
快去体验吧~
去体验
- 1
+
@@ -80,7 +80,9 @@ onLoad(() => {
// 判断浏览器是否有 fristEntry 第一次进入
let fristEntry = uni.getStorageSync('fristEntry') === false ? false : true; // 默认未读
maskFristEntry.value = fristEntry;
- // maskFristEntry.value = true;
+ if (fristEntry) {
+ uni.hideTabBar();
+ }
});
onShow(() => {
@@ -187,10 +189,12 @@ function changeSwiperMsgType(e) {
function closeFristEntry() {
uni.setStorageSync('fristEntry', false);
maskFristEntry.value = false;
+ uni.showTabBar();
}
function goExperience() {
closeFristEntry();
+ uni.showTabBar();
state.current = 1;
}