Showing
1 changed file
with
15 additions
and
12 deletions
| @@ -452,24 +452,27 @@ export struct DetailPlayShortVideoPage { | @@ -452,24 +452,27 @@ export struct DetailPlayShortVideoPage { | ||
| 452 | playerFullscreenBuilder() { | 452 | playerFullscreenBuilder() { |
| 453 | Row() { | 453 | Row() { |
| 454 | Image($r('app.media.ic_switch_orientation')) | 454 | Image($r('app.media.ic_switch_orientation')) |
| 455 | - .width(16) | 455 | + .width(24) |
| 456 | .aspectRatio(1) | 456 | .aspectRatio(1) |
| 457 | .objectFit(ImageFit.Contain) | 457 | .objectFit(ImageFit.Contain) |
| 458 | .margin({ left: 8, right: 4 }) | 458 | .margin({ left: 8, right: 4 }) |
| 459 | - Text("全屏观看") | ||
| 460 | - .fontColor(Color.White) | ||
| 461 | - .fontWeight(400) | ||
| 462 | - .fontSize(12) | ||
| 463 | - .layoutWeight(1) | ||
| 464 | - } | ||
| 465 | - .width(84) | ||
| 466 | - .height(28) | ||
| 467 | - .backgroundColor('#0DFFFFFF') | ||
| 468 | - .border({ width: 1, color: '#4DFFFFFF', radius: 4 }) | 459 | + // Text("全屏观看") |
| 460 | + // .fontColor(Color.White) | ||
| 461 | + // .fontWeight(400) | ||
| 462 | + // .fontSize(12) | ||
| 463 | + // .layoutWeight(1) | ||
| 464 | + } | ||
| 465 | + // .width(84) | ||
| 466 | + // .height(28) | ||
| 467 | + // .backgroundColor('#0DFFFFFF') | ||
| 468 | + // .border({ width: 1, color: '#4DFFFFFF', radius: 4 }) | ||
| 469 | .alignItems(VerticalAlign.Center) | 469 | .alignItems(VerticalAlign.Center) |
| 470 | .justifyContent(FlexAlign.Center) | 470 | .justifyContent(FlexAlign.Center) |
| 471 | .align(Alignment.Bottom) | 471 | .align(Alignment.Bottom) |
| 472 | - .margin({ top: 280 }) | 472 | + // .margin({ top: 280 }) |
| 473 | + .position({ | ||
| 474 | + y: '66.5%' | ||
| 475 | + }) | ||
| 473 | .onClick(() => { | 476 | .onClick(() => { |
| 474 | // 全屏方案待定 | 477 | // 全屏方案待定 |
| 475 | // this.displayDirection = DisplayDirection.VERTICAL | 478 | // this.displayDirection = DisplayDirection.VERTICAL |
-
Please register or login to post a comment