未验证 提交 3900371c 编写于 作者: 邓辉 提交者: Gitee

update zh-cn/application-dev/ui/ui-ts-creating-simple-page.md.

Signed-off-by: Nhuidengk <huidengk@isoftstone.com>
上级 6fac251c
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
struct FoodImageDisplay { struct FoodImageDisplay {
build() { build() {
Stack({ alignContent: Alignment.BottomStart }) { Stack({ alignContent: Alignment.BottomStart }) {
Image($rawfile('Tomato.png')) Image($r('app.media.Tomato'))
.objectFit(ImageFit.Contain) .objectFit(ImageFit.Contain)
.height(357) .height(357)
Text('Tomato') Text('Tomato')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册