Showing
2 changed files
with
7 additions
and
8 deletions
| @@ -36,7 +36,7 @@ struct PeopleShipHomePage { | @@ -36,7 +36,7 @@ struct PeopleShipHomePage { | ||
| 36 | @Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false | 36 | @Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false |
| 37 | //关注显示 | 37 | //关注显示 |
| 38 | @State attentionOpacity: boolean = false | 38 | @State attentionOpacity: boolean = false |
| 39 | - @Provide topHeight: number = 286 | 39 | + @Provide topHeight: number = 214 |
| 40 | @State isLoading: boolean = true | 40 | @State isLoading: boolean = true |
| 41 | @State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0 | 41 | @State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0 |
| 42 | 42 | ||
| @@ -123,13 +123,12 @@ struct PeopleShipHomePage { | @@ -123,13 +123,12 @@ struct PeopleShipHomePage { | ||
| 123 | }) | 123 | }) |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | - }.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM]) | 126 | + } |
| 127 | + .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM]) | ||
| 127 | .alignItems(HorizontalAlign.Start) | 128 | .alignItems(HorizontalAlign.Start) |
| 128 | .justifyContent(FlexAlign.Start) | 129 | .justifyContent(FlexAlign.Start) |
| 129 | .width('100%') | 130 | .width('100%') |
| 130 | - // .height('100%') | ||
| 131 | } | 131 | } |
| 132 | - // .height('100%') | ||
| 133 | .width('100%') | 132 | .width('100%') |
| 134 | 133 | ||
| 135 | } | 134 | } |
| @@ -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 = 286 | 31 | + @State topFixedHeight: number = 214 |
| 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 = '' |
| @@ -39,7 +39,7 @@ export struct PeopleShipHomePageTopComponent { | @@ -39,7 +39,7 @@ export struct PeopleShipHomePageTopComponent { | ||
| 39 | // 顶部图片 | 39 | // 顶部图片 |
| 40 | Image($r('app.media.home_page_bg')) | 40 | Image($r('app.media.home_page_bg')) |
| 41 | .width('100%') | 41 | .width('100%') |
| 42 | - .height('120vp') | 42 | + .height('48vp') |
| 43 | .objectFit(ImageFit.Fill) | 43 | .objectFit(ImageFit.Fill) |
| 44 | .backgroundColor(Color.White) | 44 | .backgroundColor(Color.White) |
| 45 | // 头像和名称 | 45 | // 头像和名称 |
| @@ -83,7 +83,7 @@ export struct PeopleShipHomePageTopComponent { | @@ -83,7 +83,7 @@ export struct PeopleShipHomePageTopComponent { | ||
| 83 | 83 | ||
| 84 | } | 84 | } |
| 85 | .width('100%') | 85 | .width('100%') |
| 86 | - .height('180vp') | 86 | + .height('108vp') |
| 87 | .backgroundColor(Color.Transparent) | 87 | .backgroundColor(Color.Transparent) |
| 88 | 88 | ||
| 89 | // 认证id:1蓝2黄,蓝v 只有官方认证,黄v有领域和身份认证 | 89 | // 认证id:1蓝2黄,蓝v 只有官方认证,黄v有领域和身份认证 |
| @@ -321,7 +321,7 @@ export struct PeopleShipHomePageTopComponent { | @@ -321,7 +321,7 @@ export struct PeopleShipHomePageTopComponent { | ||
| 321 | } | 321 | } |
| 322 | } | 322 | } |
| 323 | if (this.detailModel) { | 323 | if (this.detailModel) { |
| 324 | - this.topFixedHeight = 286 | 324 | + this.topFixedHeight = 214 |
| 325 | if (this.detailModel.region && this.detailModel.region.length > 0) { | 325 | if (this.detailModel.region && this.detailModel.region.length > 0) { |
| 326 | this.provinceName = this.detailModel.region | 326 | this.provinceName = this.detailModel.region |
| 327 | } else { | 327 | } else { |
-
Please register or login to post a comment