Showing
2 changed files
with
18 additions
and
7 deletions
| @@ -275,12 +275,18 @@ export struct DynamicDetailComponent { | @@ -275,12 +275,18 @@ export struct DynamicDetailComponent { | ||
| 275 | } | 275 | } |
| 276 | Flex({ direction: FlexDirection.Row }) { | 276 | Flex({ direction: FlexDirection.Row }) { |
| 277 | Image($r('app.media.icon_long_pic')) | 277 | Image($r('app.media.icon_long_pic')) |
| 278 | - .width(14) | ||
| 279 | - .height(14) | 278 | + .width(12) |
| 279 | + .height(12) | ||
| 280 | .margin({ right: 4 }) | 280 | .margin({ right: 4 }) |
| 281 | Text('长图') | 281 | Text('长图') |
| 282 | - .fontSize(12) | 282 | + .fontSize(10) |
| 283 | .fontWeight(400) | 283 | .fontWeight(400) |
| 284 | + .textShadow({ | ||
| 285 | + radius: 1, | ||
| 286 | + color: `rgba(0,0,0,0.5)`, | ||
| 287 | + offsetY:1, | ||
| 288 | + offsetX:1 | ||
| 289 | + }) | ||
| 284 | .fontColor(0xffffff) | 290 | .fontColor(0xffffff) |
| 285 | .fontFamily('PingFang SC') | 291 | .fontFamily('PingFang SC') |
| 286 | } | 292 | } |
| @@ -153,15 +153,20 @@ struct createImg { | @@ -153,15 +153,20 @@ struct createImg { | ||
| 153 | } | 153 | } |
| 154 | Flex({ direction: FlexDirection.Row }) { | 154 | Flex({ direction: FlexDirection.Row }) { |
| 155 | Image($r('app.media.icon_long_pic')) | 155 | Image($r('app.media.icon_long_pic')) |
| 156 | - .width(14) | ||
| 157 | - .height(14) | 156 | + .width(12) |
| 157 | + .height(12) | ||
| 158 | .margin({right: 4}) | 158 | .margin({right: 4}) |
| 159 | Text('长图') | 159 | Text('长图') |
| 160 | - .fontSize(12) | 160 | + .fontSize(10) |
| 161 | .fontWeight(400) | 161 | .fontWeight(400) |
| 162 | + .textShadow({ | ||
| 163 | + radius: 1, | ||
| 164 | + color: '#777', | ||
| 165 | + offsetX:1, | ||
| 166 | + offsetY:1 | ||
| 167 | + }) | ||
| 162 | .fontColor(0xffffff) | 168 | .fontColor(0xffffff) |
| 163 | .fontFamily('PingFang SC') | 169 | .fontFamily('PingFang SC') |
| 164 | - .shadow({radius: 4, color: 0xc3cbd5, offsetX: 4, offsetY: 4}) | ||
| 165 | } | 170 | } |
| 166 | .width(48) | 171 | .width(48) |
| 167 | .padding({bottom: 9}) | 172 | .padding({bottom: 9}) |
-
Please register or login to post a comment