修复bug
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</template>
|
||||
</u-navbar>
|
||||
<!-- 搜索 -->
|
||||
<u-sticky offset-top="5" zIndex="999">
|
||||
<u-sticky :offset-top="stickyTop" zIndex="999">
|
||||
<view class="search-fix fixed" v-if="scrollTop < 30">
|
||||
<view class="search">
|
||||
<u-notice-bar bgColor="#ffffff" direction="column" :text="hotKeywords" speed="250" @click="onNoticeBar"></u-notice-bar>
|
||||
@@ -32,7 +32,7 @@
|
||||
</u-sticky>
|
||||
<!-- 幻灯片 -->
|
||||
<view class="swiper">
|
||||
<u-swiper :list="swiperList" :height="180" :radius="0" @change="change" @click="click"></u-swiper>
|
||||
<u-swiper :list="swiperList" :height="180" :radius="0" @click="click"></u-swiper>
|
||||
</view>
|
||||
<!-- 选项卡 -->
|
||||
<view class="tabs">
|
||||
@@ -144,7 +144,8 @@
|
||||
scrollTop: 0,
|
||||
old: {
|
||||
scrollTop: 0
|
||||
}
|
||||
},
|
||||
stickyTop: 60
|
||||
};
|
||||
|
||||
},
|
||||
@@ -155,6 +156,12 @@
|
||||
uni.$u.mpShare = {
|
||||
title: '爱尚家找房'
|
||||
}
|
||||
|
||||
uni.getSystemInfo({
|
||||
success: (res) => {
|
||||
this.stickyTop = res.statusBarHeight + 44 + 20
|
||||
}
|
||||
})
|
||||
},
|
||||
onShow() {},
|
||||
onBackPress() {},
|
||||
|
||||
Reference in New Issue
Block a user