修改首页下拉
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<!-- 今日上线 -->
|
||||
<todaylist :todayList='hometoplist.todayList' :salesList='hometoplist.salesList'></todaylist>
|
||||
<!-- 类目 -->
|
||||
<view class="fourcontent flex-between">
|
||||
<view class="fourcontent flex-between" v-if="!isFixedTop">
|
||||
<view class="fourcontent_item flex-start" v-for="(item,index) in hometoplist.menu" :key="index"
|
||||
@click="viewHistory(item,index)"
|
||||
:class="!item.isChild && viewHistoryindex == index ? 'fourcontent_itemactev':''">
|
||||
@@ -60,7 +60,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="fivecontent">
|
||||
<view class="fivecontent flex-colum">
|
||||
<!-- <view class="fivecontent" :style="{'height':seighT + 'px'}"> -->
|
||||
<!-- <scroll-view :style="{'height':seighT + 'px'}" scroll-y @scrolltolower="loadMore"
|
||||
scroll-with-animation> -->
|
||||
@@ -258,7 +258,7 @@
|
||||
quilt: ''
|
||||
}, //下拉点击的数据
|
||||
form: {
|
||||
address: '西安市', //地址
|
||||
address: '', //地址
|
||||
type: '', //品类
|
||||
orderBy: '', //1.理我最近 2.销量优先 3.价格优先
|
||||
other: '', //附近1KM 1选中 0不选中
|
||||
@@ -388,7 +388,7 @@
|
||||
this.seighT = data.windowHeight;
|
||||
this.$u.getRect('.fourcontent').then(res => {
|
||||
console.log(res.top)
|
||||
this.Topdistance = res.top - res.height - 22 //滚动距离
|
||||
this.Topdistance = res.top - res.height //滚动距离
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user