diff --git a/packages/card/index.less b/packages/card/index.less
index c8527cc1..a07a1e32 100644
--- a/packages/card/index.less
+++ b/packages/card/index.less
@@ -43,7 +43,7 @@
&__title,
&__desc {
- word-break: break-all;
+ word-wrap: break-word;
}
&__title {
diff --git a/packages/checkbox/index.less b/packages/checkbox/index.less
index 93e32182..89d2c97d 100644
--- a/packages/checkbox/index.less
+++ b/packages/checkbox/index.less
@@ -49,7 +49,7 @@
}
&__label {
- word-break: break-all;
+ word-wrap: break-word;
.theme(margin-left, '@checkbox-label-margin');
.theme(color, '@checkbox-label-color');
diff --git a/packages/dialog/README.md b/packages/dialog/README.md
index 137f485b..49b89ea4 100644
--- a/packages/dialog/README.md
+++ b/packages/dialog/README.md
@@ -133,7 +133,7 @@ Page({
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|-----------|-----------|-----------|-------------|-------------|
| title | 标题 | *string* | - | - |
-| message | 内容 | *string* | - | - |
+| message | 文本内容,支持通过`\n`换行 | *string* | - | 1.0.0 |
| messageAlign | 内容对齐方式,可选值为`left` `right` | *string* | `center` | - |
| zIndex | z-index 层级 | *number* | `100` | - |
| className | 自定义类名,dialog在自定义组件内时无效 | *string* | '' | - |
diff --git a/packages/dialog/index.less b/packages/dialog/index.less
index d4d9c917..63ee1537 100644
--- a/packages/dialog/index.less
+++ b/packages/dialog/index.less
@@ -29,6 +29,10 @@
text-align: center;
-webkit-overflow-scrolling: touch;
+ &-text {
+ word-wrap: break-word;
+ }
+
&--has-title {
padding-top: 12px;
.theme(color, '@gray-darker');
diff --git a/packages/dialog/index.wxml b/packages/dialog/index.wxml
index b7e1c21f..1f02b3d8 100644
--- a/packages/dialog/index.wxml
+++ b/packages/dialog/index.wxml
@@ -21,7 +21,7 @@
wx:elif="{{ message }}"
class="van-dialog__message {{ title ? 'van-dialog__message--has-title' : '' }} {{ messageAlign ? 'van-dialog__message--' + messageAlign : '' }}"
>
- {{ message }}
+ {{ message }}