Commit c6704b0d5da7865a00376e7efe765552421aa2bd

Authored by xp.Huang
2 parents be89a6c6 16c39442

Merge branch 'sqy_dev' into 'main'

'fix:固定滚动'

See merge request huang/thingskit-app!49
... ... @@ -32,8 +32,8 @@
32 32 </view>
33 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 37 <view class="filter-title"><text>筛选条件</text></view>
38 38 <FilterItem :filterList="issueStatus" title="下发状态" @clickTag="currentIndex => handleClickTag(currentIndex, issueStatus)"></FilterItem>
39 39 <view class="button-group">
... ... @@ -118,6 +118,9 @@ export default {
118 118 format(date) {
119 119 return formatToDate(date, 'YYYY-MM-DD HH:mm:ss');
120 120 },
  121 + disabledScroll(){
  122 + return;
  123 + },
121 124 /*上拉加载的回调: 其中page.num:当前页 从1开始, page.size:每页数据条数,默认10 */
122 125 upCallback() {
123 126 //联网加载数据
... ... @@ -289,4 +292,4 @@ export default {
289 292 }
290 293 }
291 294 }
292   -</style>
  295 +</style>
... ...
... ... @@ -36,7 +36,8 @@
36 36 {
37 37 "path": "pages/personal/personal",
38 38 "style": {
39   - "navigationBarTitleText": "个人中心"
  39 + "navigationBarTitleText": "个人中心",
  40 + "disableScroll": true
40 41 }
41 42 },
42 43 {
... ... @@ -181,4 +182,4 @@
181 182 }
182 183 ]
183 184 }
184   -}
  185 +}
... ...