fix:bug[18314] 【华为验收】【ux-直板机】【底部导航条适配】点击 我的-预约,进入该页面,该页面底部导航条未沉浸
Showing
1 changed file
with
31 additions
and
24 deletions
| @@ -58,33 +58,40 @@ export struct AppointmentListUI { | @@ -58,33 +58,40 @@ export struct AppointmentListUI { | ||
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } else { | 60 | } else { |
| 61 | - CustomPullToRefresh({ | ||
| 62 | - alldata:this.data, | ||
| 63 | - scroller:this.scroller, | ||
| 64 | - customList:()=>{ | ||
| 65 | - this.ListLayout() | ||
| 66 | - }, | ||
| 67 | - onRefresh:(resolve)=>{ | ||
| 68 | - this.curPageNum = 1; | ||
| 69 | - this.hasMore = true | ||
| 70 | - this.isGetRequest = false | ||
| 71 | - this.data.clear() | ||
| 72 | - | ||
| 73 | - if (!this.isLoading){ | ||
| 74 | - this.getNewPageData() | ||
| 75 | - if(resolve) resolve('刷新成功') | ||
| 76 | - } | ||
| 77 | - }, | ||
| 78 | - onLoadMore:(resolve)=> { | ||
| 79 | - if (!this.isLoading) { | ||
| 80 | - this.isLoading = true | ||
| 81 | - this.getNewPageData() | 61 | + Stack(){ |
| 62 | + Row() | ||
| 63 | + .width("100%") | ||
| 64 | + .height("100%") | ||
| 65 | + .backgroundColor($r('app.color.color_F9F9F9')) | ||
| 66 | + .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM]) | ||
| 67 | + CustomPullToRefresh({ | ||
| 68 | + alldata:this.data, | ||
| 69 | + scroller:this.scroller, | ||
| 70 | + customList:()=>{ | ||
| 71 | + this.ListLayout() | ||
| 72 | + }, | ||
| 73 | + onRefresh:(resolve)=>{ | ||
| 74 | + this.curPageNum = 1; | ||
| 75 | + this.hasMore = true | ||
| 76 | + this.isGetRequest = false | ||
| 77 | + this.data.clear() | ||
| 78 | + | ||
| 79 | + if (!this.isLoading){ | ||
| 80 | + this.getNewPageData() | ||
| 81 | + if(resolve) resolve('刷新成功') | ||
| 82 | + } | ||
| 83 | + }, | ||
| 84 | + onLoadMore:(resolve)=> { | ||
| 85 | + if (!this.isLoading) { | ||
| 86 | + this.isLoading = true | ||
| 87 | + this.getNewPageData() | ||
| 88 | + } | ||
| 82 | } | 89 | } |
| 83 | - } | ||
| 84 | - }) | 90 | + }) |
| 91 | + } | ||
| 85 | } | 92 | } |
| 86 | } | 93 | } |
| 87 | - .backgroundColor($r('app.color.color_F9F9F9')) | 94 | + .backgroundColor($r('app.color.color_transparent')) |
| 88 | .height('100%') | 95 | .height('100%') |
| 89 | .width('100%') | 96 | .width('100%') |
| 90 | } | 97 | } |
-
Please register or login to post a comment