diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/animation.PNG b/zh-cn/application-dev/reference/arkui-ts/figures/animation.PNG
deleted file mode 100644
index 92f92e0001a90840d03ebd00e0b0ef736c2a94c8..0000000000000000000000000000000000000000
Binary files a/zh-cn/application-dev/reference/arkui-ts/figures/animation.PNG and /dev/null differ
diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/animation.gif b/zh-cn/application-dev/reference/arkui-ts/figures/animation.gif
index 6cfbc07fc5122be3ecd69e6b33b6f00c0f676a0f..e1f1e9d8eedba5f4d7e9895fe10c1028cb8e19bd 100644
Binary files a/zh-cn/application-dev/reference/arkui-ts/figures/animation.gif and b/zh-cn/application-dev/reference/arkui-ts/figures/animation.gif differ
diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/animation1.PNG b/zh-cn/application-dev/reference/arkui-ts/figures/animation1.PNG
deleted file mode 100644
index 98cc1fa8c0537071549fa8185fa14f7ad103e7f8..0000000000000000000000000000000000000000
Binary files a/zh-cn/application-dev/reference/arkui-ts/figures/animation1.PNG and /dev/null differ
diff --git a/zh-cn/application-dev/reference/arkui-ts/figures/animation1.gif b/zh-cn/application-dev/reference/arkui-ts/figures/animation1.gif
new file mode 100644
index 0000000000000000000000000000000000000000..d4fae00973755cc243e1d48f10acf9ef4b24682e
Binary files /dev/null and b/zh-cn/application-dev/reference/arkui-ts/figures/animation1.gif differ
diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-animatorproperty.md b/zh-cn/application-dev/reference/arkui-ts/ts-animatorproperty.md
index 546783781c7be91d1eccd6d11de8fd9a954f3db7..bbb5191e854d930d31603463d6ddfa9ec49a89be 100644
--- a/zh-cn/application-dev/reference/arkui-ts/ts-animatorproperty.md
+++ b/zh-cn/application-dev/reference/arkui-ts/ts-animatorproperty.md
@@ -37,11 +37,11 @@ struct AttrAnimationExample {
build() {
Column() {
- Button('change width and height')
+ Button('change size')
.onClick(() => {
if (this.flag) {
- this.widthSize = 100
- this.heightSize = 50
+ this.widthSize = 150
+ this.heightSize = 60
} else {
this.widthSize = 250
this.heightSize = 100
@@ -67,8 +67,8 @@ struct AttrAnimationExample {
duration: 1200,
curve: Curve.Friction,
delay: 500,
- iterations: -1, // 设置-1表示动画无限循环
- playMode: PlayMode.AlternateReverse
+ iterations: -1, // 设置-1表示动画无限循环
+ playMode: PlayMode.Alternate
})
}.width('100%').margin({ top: 20 })
}
diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-datapanel.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-datapanel.md
index 4adb26c5466bd1b1df352ed4b1775dfb0fc260a6..6bb4077748ec7839b23814804e7017fefe58d929 100644
--- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-datapanel.md
+++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-datapanel.md
@@ -28,6 +28,16 @@ DataPanel(options:{values: number[], max?: number, type?: DataPanelType})
| max | number | 否 | - max大于0,表示数据的最大值。
- max小于等于0,max等于value数组各项的和,按比例显示。
默认值:100 |
| type8+ | [DataPanelType](#datapaneltype枚举说明) | 否 | 数据面板的类型(不支持动态修改)。
默认值:DataPanelType.Circle |
+## 属性
+
+除支持[通用属性](ts-universal-attributes-size.md)外,还支持以下属性:
+
+| 名称 | 类型 | 描述 | |
+| ----------- | ------- | -------------------------------------------- | ---- |
+| closeEffect | boolean | 关闭数据占比图表旋转动效。
默认值:false | |
+
+
+
## DataPanelType枚举说明
从API version 9开始,该接口支持在ArkTS卡片中使用。
diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md
index c1e1ec63eaebe421f29fbdba9656394e30c3d81a..e6e48f77ebd3b8d73f5a1a72997021cdcc2dd850 100644
--- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md
+++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md
@@ -36,7 +36,7 @@ QRCode(value: string)
## 事件
-通用事件仅支持[点击事件](ts-universal-events-click.md)。
+通用事件支持[点击事件](ts-universal-events-click.md)、[触摸事件](ts-universal-events-touch.md)、[挂载卸载事件](ts-universal-events-show-hide.md)。
## 示例
diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-explicit-animation.md b/zh-cn/application-dev/reference/arkui-ts/ts-explicit-animation.md
index 359b6890f857197555d65e39495eb2d0d558d48a..ca5bc50d38e9bf0b2d2d230c3cff6256239df3be 100644
--- a/zh-cn/application-dev/reference/arkui-ts/ts-explicit-animation.md
+++ b/zh-cn/application-dev/reference/arkui-ts/ts-explicit-animation.md
@@ -42,7 +42,7 @@ struct AnimateToExample {
build() {
Column() {
- Button('change width and height')
+ Button('change size')
.width(this.widthSize)
.height(this.heightSize)
.margin(30)
@@ -57,8 +57,8 @@ struct AnimateToExample {
console.info('play end')
}
}, () => {
- this.widthSize = 100
- this.heightSize = 50
+ this.widthSize = 150
+ this.heightSize = 60
})
} else {
animateTo({}, () => {
@@ -77,7 +77,7 @@ struct AnimateToExample {
curve: Curve.Friction,
delay: 500,
iterations: -1, // 设置-1表示动画无限循环
- playMode: PlayMode.AlternateReverse,
+ playMode: PlayMode.Alternate,
onFinish: () => {
console.info('play end')
}
@@ -90,10 +90,4 @@ struct AnimateToExample {
}
```
-示意图:
-
-![animation](figures/animation.PNG)
-
-点击第一个按钮播放改变按钮大小的动画,点击第二个按钮播放按钮顺时针旋转90度的动画。
-
-![animation1](figures/animation1.PNG)
\ No newline at end of file
+![animation1](figures/animation1.gif)
diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-media-components-video.md b/zh-cn/application-dev/reference/arkui-ts/ts-media-components-video.md
index ba54d01040d4c372cbcab714cd3b7c7e2f8b38f3..96165ef9412988fd43627bcb91161c6fd432ef7c 100644
--- a/zh-cn/application-dev/reference/arkui-ts/ts-media-components-video.md
+++ b/zh-cn/application-dev/reference/arkui-ts/ts-media-components-video.md
@@ -118,9 +118,9 @@ requestFullscreen(value: boolean)
**参数:**
-| 参数名 | 参数类型 | 必填 | 参数描述 |
-| ----- | ------- | ---- | --------------------- |
-| value | boolean | 是 | 是否全屏播放。
默认值:false |
+| 参数名 | 参数类型 | 必填 | 参数描述 |
+| ------ | -------- | ---- | -------------------------------------------------- |
+| value | boolean | 是 | 是否全屏(填充满应用窗口)播放。
默认值:false |
### exitFullscreen
diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-text-style.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-text-style.md
index aef10210d43b6564996a2bdbdad5801c00a879c0..7ec498157ccd3e7cfc0c1dcea5d550e16e5ef979 100644
--- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-text-style.md
+++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-text-style.md
@@ -18,6 +18,8 @@
| fontStyle | [FontStyle](ts-appendix-enums.md#fontstyle) | 设置字体样式。
默认值:FontStyle.Normal |
| fontWeight | number \| [FontWeight](ts-appendix-enums.md#fontweight) \| string | 设置文本的字体粗细,number类型取值[100, 900],取值间隔为100,默认为400,取值越大,字体越粗。string类型仅支持number类型取值的字符串形式,例如"400",以及"bold"、"bolder"、"lighter"、"regular"、"medium",分别对应FontWeight中相应的枚举值。
默认值:FontWeight.Normal |
| fontFamily | string \| [Resource](ts-types.md#resource) | 设置字体列表。默认字体'HarmonyOS Sans',且当前只支持这种字体。|
+| lineHeight | string \| number \| [Resource](ts-types.md#resource) | 设置文本的文本行高,设置值不大于0时,不限制文本行高,自适应字体大小,Length为number类型时单位为fp。 |
+| decoration | {
type: [TextDecorationType](ts-appendix-enums.md#textdecorationtype),
color?: [ResourceColor](ts-types.md#resourcecolor)
} | 设置文本装饰线样式及其颜色。
默认值:{
type: TextDecorationType.None,
color:Color.Black
} |
## 示例
diff --git a/zh-cn/application-dev/ui/ui-ts-layout-mediaquery.md b/zh-cn/application-dev/ui/ui-ts-layout-mediaquery.md
index 6da6959c439004112f76ed51d92439306fb64edc..c2f44d025894846f7fac4cf5e6dd879b691b845a 100644
--- a/zh-cn/application-dev/ui/ui-ts-layout-mediaquery.md
+++ b/zh-cn/application-dev/ui/ui-ts-layout-mediaquery.md
@@ -106,7 +106,7 @@ listener.on('change', onPortrait)
| min-device-height | 设备的最小高度。 |
| max-device-height | 设备的最大高度。 |
| device-width | 设备的宽度。 |
-| device-type | 设备的类型。
可选值:default |
+| device-type | 设备的类型。
可选值:default、tablet |
| min-device-width | 设备的最小宽度。 |
| max-device-width | 设备的最大宽度。 |
| round-screen | 屏幕类型,圆形屏幕为true, 非圆形屏幕为 false。 |