Showing
1 changed file
with
2 additions
and
6 deletions
| @@ -16,8 +16,8 @@ export struct PeopleShipHomePageHeadComponent { | @@ -16,8 +16,8 @@ export struct PeopleShipHomePageHeadComponent { | ||
| 16 | .borderRadius(this.diameter/2) | 16 | .borderRadius(this.diameter/2) |
| 17 | // .borderWidth('0.5vp') | 17 | // .borderWidth('0.5vp') |
| 18 | .border({ | 18 | .border({ |
| 19 | - width: 2, | ||
| 20 | - color: Color.White, // 5% 透明度的黑色 | 19 | + width: 1, |
| 20 | + color: $r('app.color.color_0D000000'), // 5% 透明度的黑色 | ||
| 21 | style: BorderStyle.Solid | 21 | style: BorderStyle.Solid |
| 22 | }) | 22 | }) |
| 23 | // .borderStyle(BorderStyle.Solid) | 23 | // .borderStyle(BorderStyle.Solid) |
| @@ -31,10 +31,6 @@ export struct PeopleShipHomePageHeadComponent { | @@ -31,10 +31,6 @@ export struct PeopleShipHomePageHeadComponent { | ||
| 31 | .height(this.iconDiameter) | 31 | .height(this.iconDiameter) |
| 32 | .borderRadius(this.iconDiameter/2) | 32 | .borderRadius(this.iconDiameter/2) |
| 33 | .objectFit(ImageFit.Cover) | 33 | .objectFit(ImageFit.Cover) |
| 34 | - .margin({ | ||
| 35 | - right: '5vp', | ||
| 36 | - bottom:'5vp' | ||
| 37 | - }) | ||
| 38 | } | 34 | } |
| 39 | } | 35 | } |
| 40 | } | 36 | } |
-
Please register or login to post a comment