未验证 提交 fce059ee 编写于 作者: O openharmony_ci 提交者: Gitee

!8650 更新backgroundImageSize文档

Merge pull request !8650 from 陈宇怀/master
......@@ -32,7 +32,6 @@
// xxx.ets
@Entry
@Component
struct Index {
build() {
Column() {
......@@ -42,12 +41,13 @@ struct Index {
.width(350)
.height(300)
.backgroundBlurStyle(BlurStyle.Thin)
.position({x: "15%", y: "30%"})
.position({ x: "15%", y: "30%" })
}
.height('100%')
.width('100%')
.backgroundImage($r('app.media.bg'))
.backgroundImageSize(ImageSize.Cover)
}
}
```
![zh-cn_image_background_blur_style](figures/zh-cn_image_background_blur_style.png)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册