Showing
3 changed files
with
5 additions
and
5 deletions
| @@ -37,7 +37,7 @@ struct PeopleShipHomePage { | @@ -37,7 +37,7 @@ struct PeopleShipHomePage { | ||
| 37 | @Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false | 37 | @Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false |
| 38 | //关注显示 | 38 | //关注显示 |
| 39 | @State attentionOpacity: boolean = false | 39 | @State attentionOpacity: boolean = false |
| 40 | - @Provide topHeight: number = 214 | 40 | + @Provide topHeight: number = 190 |
| 41 | @State isLoading: boolean = true | 41 | @State isLoading: boolean = true |
| 42 | @State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0 | 42 | @State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0 |
| 43 | @State isConnectNetwork : boolean = NetworkUtil.isNetConnected() | 43 | @State isConnectNetwork : boolean = NetworkUtil.isNetConnected() |
| @@ -101,7 +101,7 @@ struct PeopleShipHomePage { | @@ -101,7 +101,7 @@ struct PeopleShipHomePage { | ||
| 101 | topHeight: this.topHeight | 101 | topHeight: this.topHeight |
| 102 | }) | 102 | }) |
| 103 | .width("100%") | 103 | .width("100%") |
| 104 | - .height(this.topHeight) | 104 | + // .height(this.topHeight) |
| 105 | // 列表 | 105 | // 列表 |
| 106 | Column(){ | 106 | Column(){ |
| 107 | PeopleShipHomeListComponent({ | 107 | PeopleShipHomeListComponent({ |
| @@ -28,7 +28,7 @@ export struct PeopleShipHomePageTopComponent { | @@ -28,7 +28,7 @@ export struct PeopleShipHomePageTopComponent { | ||
| 28 | @State collapseTxt: string = '…展开'; | 28 | @State collapseTxt: string = '…展开'; |
| 29 | private subTxt: string = ''; | 29 | private subTxt: string = ''; |
| 30 | @State content: string = '' | 30 | @State content: string = '' |
| 31 | - @State topFixedHeight: number = 214 | 31 | + @State topFixedHeight: number = 190 |
| 32 | @State lineInNum: number = 1 | 32 | @State lineInNum: number = 1 |
| 33 | @Link topHeight: number | 33 | @Link topHeight: number |
| 34 | @State provinceName: string = '' | 34 | @State provinceName: string = '' |
| @@ -323,7 +323,7 @@ export struct PeopleShipHomePageTopComponent { | @@ -323,7 +323,7 @@ export struct PeopleShipHomePageTopComponent { | ||
| 323 | } | 323 | } |
| 324 | } | 324 | } |
| 325 | if (this.detailModel) { | 325 | if (this.detailModel) { |
| 326 | - this.topFixedHeight = 214 | 326 | + this.topFixedHeight = 190 |
| 327 | if (this.detailModel.region && this.detailModel.region.length > 0) { | 327 | if (this.detailModel.region && this.detailModel.region.length > 0) { |
| 328 | this.provinceName = this.detailModel.region | 328 | this.provinceName = this.detailModel.region |
| 329 | } else { | 329 | } else { |
| @@ -364,7 +364,6 @@ export struct PeopleShipHomePageTopComponent { | @@ -364,7 +364,6 @@ export struct PeopleShipHomePageTopComponent { | ||
| 364 | this.topHeight = this.topFixedHeight + (this.isCollapse ? 21 * 3 : 21 * this.lineInNum) | 364 | this.topHeight = this.topFixedHeight + (this.isCollapse ? 21 * 3 : 21 * this.lineInNum) |
| 365 | } | 365 | } |
| 366 | } | 366 | } |
| 367 | - | ||
| 368 | } | 367 | } |
| 369 | } | 368 | } |
| 370 | 369 |
| @@ -72,6 +72,7 @@ struct LaunchAdvertisingPage { | @@ -72,6 +72,7 @@ struct LaunchAdvertisingPage { | ||
| 72 | }else { | 72 | }else { |
| 73 | //显示图片 | 73 | //显示图片 |
| 74 | Image(this.defaultModel.bootScreenUrl) | 74 | Image(this.defaultModel.bootScreenUrl) |
| 75 | + .objectFit(ImageFit.Contain) | ||
| 75 | // .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM]) | 76 | // .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM]) |
| 76 | .width('100%') | 77 | .width('100%') |
| 77 | .height('100%') | 78 | .height('100%') |
-
Please register or login to post a comment