Commit 7cd8fb7d authored by Nature's avatar Nature

修复scroll滑动问题

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