|
@@ -3,7 +3,7 @@
|
|
|
<view v-if="tabberPageLoadFlag[0]" :style="{display: currentIndex === 0 ? '' : 'none'}">
|
|
|
<tn-nav-bar customBack>
|
|
|
<view slot="back" class='tn-custom-nav-bar__back' @click="reFetchData()">
|
|
|
- <text v-if="!loading" class="tn-icon-circle-arrow" style="font-size: 50rpx;"></text>
|
|
|
+ <text v-if="!loading" class="tn-icon-circle-arrow" style="font-size: 30px;"></text>
|
|
|
<view style="margin-top:6px" v-if="loading"><tn-loading :size="46"></tn-loading></view>
|
|
|
</view>
|
|
|
|
|
@@ -17,7 +17,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</tn-nav-bar>
|
|
|
- <scroll-view class="custom-tabbar-page" :style="{marginTop: vuex_custom_bar_height + 'px'}" lower-threshold="60" scroll-y :refresher-enabled="true" @scroll="handleScroll" :refresher-triggered="triggered" @refresherpulling="onPulling" @refresherrestore="onRestore" @refresherrefresh="onRefresh" enable-back-to-top @scrolltolower="tabbarPageScrollLower">
|
|
|
+ <scroll-view class="custom-tabbar-page" :style="{marginTop: vuex_custom_bar_height + 'px'}" lower-threshold="60" scroll-y :refresher-enabled="true" :refresher-triggered="triggered" @refresherpulling="onPulling" @refresherrestore="onRestore" @refresherrefresh="onRefresh" enable-back-to-top @scrolltolower="tabbarPageScrollLower">
|
|
|
<Home ref="home"></Home>
|
|
|
|
|
|
</scroll-view>
|
|
@@ -25,7 +25,7 @@
|
|
|
<view v-if="tabberPageLoadFlag[1]" :style="{display: currentIndex === 1 ? '' : 'none'}">
|
|
|
<tn-nav-bar customBack>
|
|
|
<view slot="back" class='tn-custom-nav-bar__back' @click="reFetchData()">
|
|
|
- <text v-if="!loading" class="tn-icon-circle-arrow" style="font-size: 50rpx;"></text>
|
|
|
+ <text v-if="!loading" class="tn-icon-circle-arrow" style="font-size: 30px;"></text>
|
|
|
<view style="margin-top:6px" v-if="loading" ><tn-loading :size="46"></tn-loading></view>
|
|
|
</view>
|
|
|
|
|
@@ -83,7 +83,6 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- isTop: true,
|
|
|
triggered: false,
|
|
|
_freshing: false,
|
|
|
// 底部tabbar菜单数据
|
|
@@ -166,20 +165,6 @@
|
|
|
this.$refs?.commRef?.stopAllVideo()
|
|
|
}
|
|
|
},
|
|
|
- handleScroll(e){
|
|
|
- console.error('eee');
|
|
|
- console.error(e);
|
|
|
- console.error(e.detail.scrollTop);
|
|
|
- if(e.detail.scrollTop<1){
|
|
|
- console.error('11111111111111111');
|
|
|
-
|
|
|
- this.isTop = true;
|
|
|
- }else{
|
|
|
- this.isTop = false;
|
|
|
- }
|
|
|
- console.error(this.isTop,'11111111111111111');
|
|
|
-
|
|
|
- },
|
|
|
//获取openId,unionid
|
|
|
getOpenId(code) {
|
|
|
const that = this;
|
|
@@ -324,10 +309,8 @@
|
|
|
this.$refs.comm.reFetchData();
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
- console.error(11112222);
|
|
|
this.triggered = false;
|
|
|
this._freshing = false;
|
|
|
- this.isTop = false;
|
|
|
}, 2000)
|
|
|
},
|
|
|
onRestore() {
|