Commit c6704b0d5da7865a00376e7efe765552421aa2bd
Merge branch 'sqy_dev' into 'main'
'fix:固定滚动' See merge request huang/thingskit-app!49
Showing
2 changed files
with
9 additions
and
5 deletions
@@ -32,8 +32,8 @@ | @@ -32,8 +32,8 @@ | ||
32 | </view> | 32 | </view> |
33 | </mescroll-body> | 33 | </mescroll-body> |
34 | <!-- 告警筛选 --> | 34 | <!-- 告警筛选 --> |
35 | - <u-popup @close="close" closeable bgColor="#fff" :show="show" mode="bottom" :round="20"> | ||
36 | - <view class="filter"> | 35 | + <u-popup @close="close" closeable bgColor="#fff" :show="show" mode="bottom" :round="20" @touchmove.stop.prevent="disabledScroll"> |
36 | + <view class="filter" @touchmove.stop.prevent="disabledScroll"> | ||
37 | <view class="filter-title"><text>筛选条件</text></view> | 37 | <view class="filter-title"><text>筛选条件</text></view> |
38 | <FilterItem :filterList="issueStatus" title="下发状态" @clickTag="currentIndex => handleClickTag(currentIndex, issueStatus)"></FilterItem> | 38 | <FilterItem :filterList="issueStatus" title="下发状态" @clickTag="currentIndex => handleClickTag(currentIndex, issueStatus)"></FilterItem> |
39 | <view class="button-group"> | 39 | <view class="button-group"> |
@@ -118,6 +118,9 @@ export default { | @@ -118,6 +118,9 @@ export default { | ||
118 | format(date) { | 118 | format(date) { |
119 | return formatToDate(date, 'YYYY-MM-DD HH:mm:ss'); | 119 | return formatToDate(date, 'YYYY-MM-DD HH:mm:ss'); |
120 | }, | 120 | }, |
121 | + disabledScroll(){ | ||
122 | + return; | ||
123 | + }, | ||
121 | /*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */ | 124 | /*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */ |
122 | upCallback() { | 125 | upCallback() { |
123 | //联网加载数据 | 126 | //联网加载数据 |
@@ -289,4 +292,4 @@ export default { | @@ -289,4 +292,4 @@ export default { | ||
289 | } | 292 | } |
290 | } | 293 | } |
291 | } | 294 | } |
292 | -</style> | 295 | +</style> |
@@ -36,7 +36,8 @@ | @@ -36,7 +36,8 @@ | ||
36 | { | 36 | { |
37 | "path": "pages/personal/personal", | 37 | "path": "pages/personal/personal", |
38 | "style": { | 38 | "style": { |
39 | - "navigationBarTitleText": "个人中心" | 39 | + "navigationBarTitleText": "个人中心", |
40 | + "disableScroll": true | ||
40 | } | 41 | } |
41 | }, | 42 | }, |
42 | { | 43 | { |
@@ -181,4 +182,4 @@ | @@ -181,4 +182,4 @@ | ||
181 | } | 182 | } |
182 | ] | 183 | ] |
183 | } | 184 | } |
184 | -} | 185 | +} |