Commit 7cd8fb7d authored by Nature's avatar Nature

修复scroll滑动问题

parent b8b587ff
......@@ -84,7 +84,7 @@
</bottom-tab>
<h-modal ref="modal" v-model="showModalValue" position="bottom" cus-class="search-modal">
<h-view>
<h-view class="scroll-content">
<h-header :proportion="[1,15,4]" class="bar-custom">
<div slot="center" class="search-shelter">
<img src="@/assets/image/projectCreate/search.png" class="search-icon">
......@@ -101,7 +101,7 @@
ref="scroll"
:updateData="[bpList]"
:pullUp="true"
class=""
class="content-scroll"
@pullingUp="loadMore">
<list-item :item-height="80">
<item
......@@ -401,6 +401,18 @@ export default {
padding-bottom: 80px;
}
.search-modal {
.scroll-content{
position: absolute;
top:0;
bottom: 0;
height: auto;
overflow: hidden;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
}
.content-scroll{
top:44px
}
.search-shelter {
height: 30px;
width: 100%;
......
......@@ -5,7 +5,7 @@
<template>
<h-view class="public-style project-mainten" title="申请维护">
<h-content class="">
<h-content class="scroll-content">
<s-tab @tabClick="changeData">
<tab-item>本年</tab-item>
<tab-item>本季</tab-item>
......@@ -50,6 +50,7 @@
</div>
<scroll
ref="scroll"
class="content-scroll"
:updateData="[prjList]"
:pullUp="true"
@pullingUp="loadMore">
......@@ -234,6 +235,18 @@ export default {
<style lang="less">
.project-mainten {
.scroll-content{
position: absolute;
top:0;
bottom: 0;
height: auto;
overflow: hidden;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
}
.content-scroll{
top:225px;
}
.content{
overflow: hidden;
}
......
......@@ -3843,7 +3843,7 @@ he@1.2.x, he@^1.1.0:
"hls-easy-ui@https://hel.hand-china.com/easyUI/hls-easy-ui.git":
version "0.0.2"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#b433d1b61485e60df671921acea7530c7e78e86e"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#a37b6f172b19e7204d940f9e6041bdce4a70beb6"
dependencies:
autosize "^3.0.20"
better-scroll "^1.10.3"
......
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