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

!8035 【OpenHarmony开源贡献者计划2022】+ 示例图片不显示

Merge pull request !8035 from qiqimao/master
...@@ -20,7 +20,7 @@ addColorStop(offset: number, color: string): void ...@@ -20,7 +20,7 @@ addColorStop(offset: number, color: string): void
| color | string | 是 | '#ffffff' | 设置渐变的颜色。 | | color | string | 是 | '#ffffff' | 设置渐变的颜色。 |
- 示例 - 示例
```ts ```ts
// xxx.ets // xxx.ets
@Entry @Entry
@Component @Component
...@@ -45,8 +45,12 @@ addColorStop(offset: number, color: string): void ...@@ -45,8 +45,12 @@ addColorStop(offset: number, color: string): void
} }
.width('100%') .width('100%')
.height('100%') .height('100%')
} }}
} ```
```
![zh-cn_image_0000001194032516](figures/zh-cn_image_0000001194032516.png)
![zh-cn_image_0000001194032516](figures/zh-cn_image_0000001194032516.png)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册