Showing
3 changed files
with
11 additions
and
8 deletions
| @@ -12,7 +12,7 @@ export struct MultiPictureDetailItemComponent { | @@ -12,7 +12,7 @@ export struct MultiPictureDetailItemComponent { | ||
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | async aboutToAppear() { | 14 | async aboutToAppear() { |
| 15 | - // Logger.info(TAG, 'pictures preview') | 15 | + // Logger.info(TAG, 'pictures preview' |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | build() { | 18 | build() { |
| @@ -92,9 +92,8 @@ struct MultiPictureDetailPage { | @@ -92,9 +92,8 @@ struct MultiPictureDetailPage { | ||
| 92 | * TODO:颜色待根据业务接口修改 | 92 | * TODO:颜色待根据业务接口修改 |
| 93 | */ | 93 | */ |
| 94 | openFullScreen() { | 94 | openFullScreen() { |
| 95 | + WindowModel.shared.setWindowLayoutFullScreen(true) | ||
| 95 | WindowModel.shared.setWindowSystemBarProperties({ statusBarContentColor: '#ffffff', }) | 96 | WindowModel.shared.setWindowSystemBarProperties({ statusBarContentColor: '#ffffff', }) |
| 96 | - // WindowModel.shared.setWindowLayoutFullScreen(true) | ||
| 97 | - // WindowModel.shared.setWindowSystemBarEnable([]) | ||
| 98 | } | 97 | } |
| 99 | 98 | ||
| 100 | /** | 99 | /** |
| @@ -102,9 +101,8 @@ struct MultiPictureDetailPage { | @@ -102,9 +101,8 @@ struct MultiPictureDetailPage { | ||
| 102 | * TODO:颜色待根据业务接口修改 | 101 | * TODO:颜色待根据业务接口修改 |
| 103 | */ | 102 | */ |
| 104 | closeFullScreen() { | 103 | closeFullScreen() { |
| 104 | + WindowModel.shared.setWindowLayoutFullScreen(false) | ||
| 105 | WindowModel.shared.setWindowSystemBarProperties({ statusBarContentColor: '#000000', }) | 105 | WindowModel.shared.setWindowSystemBarProperties({ statusBarContentColor: '#000000', }) |
| 106 | - // WindowModel.shared.setWindowLayoutFullScreen(false) | ||
| 107 | - // WindowModel.shared.setWindowSystemBarEnable(['status', 'navigation']) | ||
| 108 | } | 106 | } |
| 109 | 107 | ||
| 110 | } | 108 | } |
| @@ -353,7 +353,12 @@ export struct MultiPictureDetailPageComponent { | @@ -353,7 +353,12 @@ export struct MultiPictureDetailPageComponent { | ||
| 353 | .lineHeight(19) | 353 | .lineHeight(19) |
| 354 | } | 354 | } |
| 355 | .fontColor(Color.White) | 355 | .fontColor(Color.White) |
| 356 | - .margin(4) | 356 | + .margin({ |
| 357 | + top: 4, | ||
| 358 | + left: 18, | ||
| 359 | + bottom: 4, | ||
| 360 | + right: 4 | ||
| 361 | + }) | ||
| 357 | } | 362 | } |
| 358 | if (this.contentDetailData.newsTitle) { | 363 | if (this.contentDetailData.newsTitle) { |
| 359 | Text(`${this.contentDetailData.newsTitle}`) | 364 | Text(`${this.contentDetailData.newsTitle}`) |
| @@ -364,9 +369,9 @@ export struct MultiPictureDetailPageComponent { | @@ -364,9 +369,9 @@ export struct MultiPictureDetailPageComponent { | ||
| 364 | .lineHeight(24) | 369 | .lineHeight(24) |
| 365 | .margin({ | 370 | .margin({ |
| 366 | top: 4, | 371 | top: 4, |
| 367 | - left: 0, | 372 | + left: 18, |
| 368 | bottom: 4, | 373 | bottom: 4, |
| 369 | - right: 0 | 374 | + right: 18 |
| 370 | }) | 375 | }) |
| 371 | } | 376 | } |
| 372 | if (this.contentDetailData.photoList?.[this.swiperIndex].picDesc) { | 377 | if (this.contentDetailData.photoList?.[this.swiperIndex].picDesc) { |
-
Please register or login to post a comment