Showing
2 changed files
with
4 additions
and
1 deletions
| @@ -83,7 +83,7 @@ export default struct MinePageUserSimpleInfoUI { | @@ -83,7 +83,7 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 83 | .textAlign(TextAlign.Center) | 83 | .textAlign(TextAlign.Center) |
| 84 | .fontColor($r('app.color.white')) | 84 | .fontColor($r('app.color.white')) |
| 85 | .fontSize(`${this.calcHeight(19)}lpx`) | 85 | .fontSize(`${this.calcHeight(19)}lpx`) |
| 86 | - .width(`${this.calcHeight(50)}lpx`) | 86 | + .width(this.levelId>9?`${this.calcHeight(69)}lpx`:`${this.calcHeight(50)}lpx`) |
| 87 | .height(`${this.calcHeight(29)}lpx`) | 87 | .height(`${this.calcHeight(29)}lpx`) |
| 88 | }.margin({top:'`${this.calcHeight(15)}lpx`'}) | 88 | }.margin({top:'`${this.calcHeight(15)}lpx`'}) |
| 89 | }.alignItems(HorizontalAlign.Start) | 89 | }.alignItems(HorizontalAlign.Start) |
| @@ -159,6 +159,9 @@ export struct AppointmentListUI { | @@ -159,6 +159,9 @@ export struct AppointmentListUI { | ||
| 159 | this.count = this.data.totalCount() | 159 | this.count = this.data.totalCount() |
| 160 | if (this.data.totalCount() < value.totalCount) { | 160 | if (this.data.totalCount() < value.totalCount) { |
| 161 | this.curPageNum++ | 161 | this.curPageNum++ |
| 162 | + if(this.count < 5){ | ||
| 163 | + this.getNewPageData() | ||
| 164 | + } | ||
| 162 | } else { | 165 | } else { |
| 163 | this.hasMore = false | 166 | this.hasMore = false |
| 164 | } | 167 | } |
-
Please register or login to post a comment