diff --git a/zh-cn/application-dev/ui/ui-ts-creating-simple-page.md b/zh-cn/application-dev/ui/ui-ts-creating-simple-page.md index 2b3463b86220f42a37bcdd1101b9beb2a1f1cb7d..30f5bc134f52ea5f5c2f1ec1947ff22364788ed2 100644 --- a/zh-cn/application-dev/ui/ui-ts-creating-simple-page.md +++ b/zh-cn/application-dev/ui/ui-ts-creating-simple-page.md @@ -177,7 +177,7 @@ .backgroundColor('#FFedf2f5') } } - + @Entry @Component struct FoodDetail { @@ -212,12 +212,12 @@ .backgroundColor('#FFedf2f5') } } - + @Component struct ContentTable { build() {} } - + @Entry @Component struct FoodDetail { @@ -255,7 +255,7 @@ .padding({ top: 30, right: 30, left: 30 }) } } - + @Entry @Component struct FoodDetail { @@ -288,7 +288,7 @@ .backgroundColor('#FFedf2f5') } } - + @Component struct ContentTable { build() { @@ -310,7 +310,7 @@ .padding({ top: 30, right: 30, left: 30 }) } } - + @Entry @Component struct FoodDetail { @@ -409,7 +409,7 @@ .padding({ top: 30, right: 30, left: 30 }) } } - + @Entry @Component struct FoodDetail { @@ -442,7 +442,7 @@ Flex({ alignItems: ItemAlign.Center }) { Circle({width: 6, height: 6}) .margin({right: 12}) - .fill(colorValue) + .fill(Color.Blue) Text(name) .fontSize(17.4) .flexGrow(1) @@ -496,7 +496,7 @@ .layoutWeight(2) } } - + build() { Flex({ direction: FlexDirection.Column, justifyContent: FlexAlign.SpaceBetween, alignItems: ItemAlign.Start }) { this.IngredientItem('Calories', 'Calories', '17kcal') @@ -509,7 +509,7 @@ .padding({ top: 30, right: 30, left: 30 }) } } - + @Entry @Component struct FoodDetail { diff --git "a/zh-cn/readme/JS-UI\346\241\206\346\236\266\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/JS-UI\346\241\206\346\236\266\345\255\220\347\263\273\347\273\237.md" index 0ee5cca3c762178585c6a8a6d8cb2c95e58407c5..b44cb671f9334b51ea49543429ab472a8734c795 100644 --- "a/zh-cn/readme/JS-UI\346\241\206\346\236\266\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/JS-UI\346\241\206\346\236\266\345\255\220\347\263\273\347\273\237.md" @@ -114,7 +114,7 @@ JS UI开发框架源代码在/foundation/ace下,目录结构如下图所示: [arkui\_ace\_engine](https://gitee.com/openharmony/arkui_ace_engine) -[arkui\\_ace\_engine\_lite](https://gitee.com/openharmony/arkui_ace_engine_lite) +[arkui\_ace\_engine\_lite](https://gitee.com/openharmony/arkui_ace_engine_lite) [ace\_napi](https://gitee.com/openharmony/ace_napi)