|
|
@@ -146,7 +146,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 底部导航栏区域 -->
|
|
|
- <cover-view class="tab_bar">
|
|
|
+ <cover-view class="tab_bar" v-if="showTabBar">
|
|
|
<cover-view class="tab_box" @click="handleGoPage('/pagesClockIn/home/home')">
|
|
|
<cover-image class="tab_img" v-if="pageUrl=='pagesClockIn/home/home'"
|
|
|
src="../static/imgs/home_active.png">
|
|
|
@@ -242,7 +242,9 @@
|
|
|
// 环形图显示隐藏控制
|
|
|
showBar: false,
|
|
|
// 当前页面的路由地址
|
|
|
- pageUrl: ""
|
|
|
+ pageUrl: "",
|
|
|
+ showTabBar: true,
|
|
|
+ timer: null
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -296,9 +298,7 @@
|
|
|
if (this.current == 0) {
|
|
|
if (this.errList.length < this.total) {
|
|
|
this.page++
|
|
|
- setTimeout(() => {
|
|
|
- this.getErrList()
|
|
|
- }, 500)
|
|
|
+ this.getErrList()
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: "没有更多数据了",
|
|
|
@@ -307,6 +307,16 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ onPageScroll(value) {
|
|
|
+ if (this.timer) {
|
|
|
+ clearInterval(this.timer)
|
|
|
+ }
|
|
|
+
|
|
|
+ this.timer = setTimeout(() => {
|
|
|
+ this.showTabBar = false
|
|
|
+ this.showTabBar = true
|
|
|
+ }, 500)
|
|
|
+ },
|
|
|
methods: {
|
|
|
getPageUrl() {
|
|
|
// 获取当前打开过的页面路由数组
|
|
|
@@ -936,7 +946,6 @@
|
|
|
z-index: 9999;
|
|
|
position: fixed;
|
|
|
left: 0;
|
|
|
- // right: 0;
|
|
|
bottom: 0;
|
|
|
display: flex;
|
|
|
width: 750rpx;
|