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;
}