Showing
2 changed files
with
4 additions
and
4 deletions
| 1 | -import { CommonConstants } from 'wdConstant/src/main/ets/constants/CommonConstants' | 1 | +// import { CommonConstants } from 'wdConstant/src/main/ets/constants/CommonConstants' |
| 2 | 2 | ||
| 3 | @Entry | 3 | @Entry |
| 4 | @Component | 4 | @Component |
| @@ -57,7 +57,8 @@ export struct SmallVideoCardComponent { | @@ -57,7 +57,8 @@ export struct SmallVideoCardComponent { | ||
| 57 | .backgroundColor($r('app.color.color_4d000000')) | 57 | .backgroundColor($r('app.color.color_4d000000')) |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | - .width(CommonConstants.FULL_WIDTH) | 60 | + // .width(CommonConstants.FULL_WIDTH) |
| 61 | + .width('100%') | ||
| 61 | .height(184) | 62 | .height(184) |
| 62 | .padding({ | 63 | .padding({ |
| 63 | top: 14, | 64 | top: 14, |
-
Please register or login to post a comment