修复bug
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
@change="onSearch"></uni-data-select>
|
||||
</view>
|
||||
<view class="region">
|
||||
<u--input class="where-input" v-model="where.priceScene" type="number" @confirm="onSearch" placeholder="价格区间" clearable border="none" :customStyle="{height: '35px'}"/>
|
||||
<u--input class="where-input" v-model="where.priceScene" type="text" @confirm="onSearch" placeholder="价格区间" clearable border="none" :customStyle="{height: '35px'}"/>
|
||||
<!-- <uni-data-select class="select-width" v-model="where.priceScene" :localdata="price" placeholder="价格区间"
|
||||
@change="onSearch"></uni-data-select> -->
|
||||
</view>
|
||||
<view class="region">
|
||||
<u--input class="where-input" v-model="where.extentScene" type="number" @confirm="onSearch" placeholder="面积m²" clearable border="none" :customStyle="{height: '35px'}"/>
|
||||
<u--input class="where-input" v-model="where.extentScene" type="text" @confirm="onSearch" placeholder="面积m²" clearable border="none" :customStyle="{height: '35px'}"/>
|
||||
<!-- <uni-data-select class="select-width" v-model="where.extentScene" :localdata="extent" placeholder="面积"
|
||||
@change="onSearch"></uni-data-select> -->
|
||||
</view>
|
||||
|
||||
@@ -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