diff --git a/package/component/src/component/textarea/index.less b/package/component/src/component/textarea/index.less
index 946c0e5e..63714fb4 100644
--- a/package/component/src/component/textarea/index.less
+++ b/package/component/src/component/textarea/index.less
@@ -30,3 +30,9 @@
.layui-textarea::-webkit-input-placeholder {
line-height: 1.3;
}
+.layui-texterea-show-count {
+ text-align: right;
+ color: inherit;
+ white-space: nowrap;
+ pointer-events: none;
+}
\ No newline at end of file
diff --git a/package/component/src/component/textarea/index.vue b/package/component/src/component/textarea/index.vue
index d95ca091..28930b48 100644
--- a/package/component/src/component/textarea/index.vue
+++ b/package/component/src/component/textarea/index.vue
@@ -5,6 +5,7 @@ export default {
+
+ {{ wordCount }}
+
diff --git a/package/document/src/document/zh-CN/components/textarea.md b/package/document/src/document/zh-CN/components/textarea.md
index a74d7007..8e9afabe 100644
--- a/package/document/src/document/zh-CN/components/textarea.md
+++ b/package/document/src/document/zh-CN/components/textarea.md
@@ -91,6 +91,37 @@ export default {
:::
+::: title 显示字数
+:::
+
+::: demo
+
+
+
+
+
+
+
+
+
+:::
+
+:::
+
::: title Textarea 属性
:::
@@ -100,6 +131,7 @@ export default {
| ----------- | ------------- | -------------- |
| name | 原始属性 name | -- |
| placeholder | 提示信息 | -- |
+| show-count | 显示字数 | `true` `false` |
| disabled | 禁用 | `true` `false` |
| v-model | 值 | -- |