Commit f523a90e authored by zhangyanni's avatar zhangyanni

滑动

parent 15c99fa0
......@@ -109,6 +109,5 @@
}
}
.positionTop{
top: 3rem;
padding-bottom:3rem;
//top: 3rem;
}
\ No newline at end of file
<template>
<div class="contentList" :class="isMargin?'marginTop':'positionTop'" style="overflow: auto;-webkit-overflow-scrolling: touch;">
<div class="contentList" :class="isMargin?'marginTop':'positionTop'" style="-webkit-overflow-scrolling: touch;overflow: auto">
<mt-loadmore :top-method="loadTop" :bottom-method="loadBottom" :auto-fill="false" :bottom-all-loaded="allLoaded" ref="loadmore">
<ul v-if="tableData">
<li v-for="(item,index) in tableData" :key="item.businessId" v-if="$route.query.tab==2||isMargin" @click="handleToDetail(item)">
......
......@@ -12,7 +12,9 @@
</li>
</ul>
</div>
<searchList :isWhich="currentIndex" :isVisible="isShow" @sendBusinessCountFunc="getBusinessCountFunc" @sendProjectCountFunc="getProjectCountFunc" ref="searchList"></searchList>
<div class="moreWrap">
<searchList :isWhich="currentIndex" :isVisible="isShow" @sendBusinessCountFunc="getBusinessCountFunc" @sendProjectCountFunc="getProjectCountFunc" ref="searchList"></searchList>
</div>
</div>
</template>
......@@ -154,5 +156,13 @@
}
}
}
.moreWrap{
width: 100%;
position: absolute;
left: 0;
overflow: hidden;
height: 100vh;
top: 0;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment