Showing
2 changed files
with
4 additions
and
4 deletions
| @@ -23,6 +23,7 @@ export struct MultiPictureDetailItemComponent { | @@ -23,6 +23,7 @@ export struct MultiPictureDetailItemComponent { | ||
| 23 | .width('100%') | 23 | .width('100%') |
| 24 | .aspectRatio(this.MultiPictureDetailItem.width / this.MultiPictureDetailItem.height) | 24 | .aspectRatio(this.MultiPictureDetailItem.width / this.MultiPictureDetailItem.height) |
| 25 | .objectFit(ImageFit.Fill) | 25 | .objectFit(ImageFit.Fill) |
| 26 | + .interpolation(ImageInterpolation.High) | ||
| 26 | } | 27 | } |
| 27 | .height('100%') | 28 | .height('100%') |
| 28 | .width('100%') | 29 | .width('100%') |
| @@ -44,6 +44,7 @@ export struct OperRowListView { | @@ -44,6 +44,7 @@ export struct OperRowListView { | ||
| 44 | .width(24) | 44 | .width(24) |
| 45 | .height(24) | 45 | .height(24) |
| 46 | .aspectRatio(1) | 46 | .aspectRatio(1) |
| 47 | + .interpolation(ImageInterpolation.High) | ||
| 47 | } | 48 | } |
| 48 | .margin({ | 49 | .margin({ |
| 49 | top: 0, | 50 | top: 0, |
| @@ -74,14 +75,12 @@ export struct OperRowListView { | @@ -74,14 +75,12 @@ export struct OperRowListView { | ||
| 74 | .width('45.5%') | 75 | .width('45.5%') |
| 75 | .alignItems(VerticalAlign.Center) | 76 | .alignItems(VerticalAlign.Center) |
| 76 | .justifyContent(FlexAlign.Start) | 77 | .justifyContent(FlexAlign.Start) |
| 77 | - Row() { | 78 | + Flex({ justifyContent: FlexAlign.SpaceAround, alignItems:ItemAlign.Center }) { |
| 78 | ForEach(this.operationList, (item: OperationItem, index: number) => { | 79 | ForEach(this.operationList, (item: OperationItem, index: number) => { |
| 79 | this.buildOperationItem(item, index) | 80 | this.buildOperationItem(item, index) |
| 80 | }, (item: OperationItem, index: number) => JSON.stringify(item)) | 81 | }, (item: OperationItem, index: number) => JSON.stringify(item)) |
| 81 | } | 82 | } |
| 82 | .width('54.5%') | 83 | .width('54.5%') |
| 83 | - .alignItems(VerticalAlign.Center) | ||
| 84 | - .justifyContent(FlexAlign.Center) | ||
| 85 | } | 84 | } |
| 86 | .width('100%') | 85 | .width('100%') |
| 87 | .height(56) | 86 | .height(56) |
| @@ -100,6 +99,7 @@ export struct OperRowListView { | @@ -100,6 +99,7 @@ export struct OperRowListView { | ||
| 100 | .width(24) | 99 | .width(24) |
| 101 | .height(24) | 100 | .height(24) |
| 102 | .aspectRatio(1) | 101 | .aspectRatio(1) |
| 102 | + .interpolation(ImageInterpolation.High) | ||
| 103 | } | 103 | } |
| 104 | .margin(5) | 104 | .margin(5) |
| 105 | .alignItems(HorizontalAlign.Center) | 105 | .alignItems(HorizontalAlign.Center) |
| @@ -108,6 +108,5 @@ export struct OperRowListView { | @@ -108,6 +108,5 @@ export struct OperRowListView { | ||
| 108 | Logger.info(TAG, `buildOperationItem onClick event index: ${index}`); | 108 | Logger.info(TAG, `buildOperationItem onClick event index: ${index}`); |
| 109 | ToastUtils.showToast('体验版,本功能暂未开发', 1000); | 109 | ToastUtils.showToast('体验版,本功能暂未开发', 1000); |
| 110 | }) | 110 | }) |
| 111 | - .width('19%') | ||
| 112 | } | 111 | } |
| 113 | } | 112 | } |
-
Please register or login to post a comment