diff --git a/examples/docs/en-US/badge.md b/examples/docs/en-US/badge.md
index 022089262..9a5a94013 100644
--- a/examples/docs/en-US/badge.md
+++ b/examples/docs/en-US/badge.md
@@ -31,6 +31,13 @@ Displays the amount of new messages.
+
+
```
:::
@@ -47,6 +54,13 @@ You can customize the max value.
replies
+
+
```
:::
@@ -63,6 +77,13 @@ Displays text content other than numbers.
replies
+
+
```
:::
@@ -77,6 +98,13 @@ Use a red dot to mark content that needs to be noticed.
+
+
```
:::
diff --git a/examples/docs/en-US/card.md b/examples/docs/en-US/card.md
index 42c794ef7..ed1893c8a 100644
--- a/examples/docs/en-US/card.md
+++ b/examples/docs/en-US/card.md
@@ -64,6 +64,29 @@ Card includes title, content and operations.
{{'List item ' + o }}
+
+
```
:::
@@ -78,6 +101,20 @@ The header part can be omitted.
{{'List item ' + o }}
+
+
```
:::
@@ -101,6 +138,48 @@ Display richer content by adding some configs.
+
+
+
+
```
:::
diff --git a/examples/docs/en-US/date-picker.md b/examples/docs/en-US/date-picker.md
index 3621edb1b..f886446f0 100644
--- a/examples/docs/en-US/date-picker.md
+++ b/examples/docs/en-US/date-picker.md
@@ -162,6 +162,18 @@ You can choose week, month or year by extending the standard date picker compone
placeholder="Pick a year">
+
+
```
:::
diff --git a/examples/docs/en-US/dialog.md b/examples/docs/en-US/dialog.md
index 9799d5914..681ecf592 100644
--- a/examples/docs/en-US/dialog.md
+++ b/examples/docs/en-US/dialog.md
@@ -20,11 +20,7 @@
address: 'No.1518, Jinshajiang Road, Putuo District'
}],
dialogVisible: false,
- dialogTinyVisible: false,
- dialogFullVisible: false,
- dialogStubbornVisible: false,
dialogTableVisible: false,
- dialogBindVisible: false,
dialogFormVisible: false,
form: {
name: '',
@@ -60,13 +56,23 @@ Dialog pops up a dialog box, and it's quite customizable.
```html
click to open the Dialog
-
+
This is a message
+
+
```
:::
@@ -108,6 +114,45 @@ The content of Dialog can be anything, even a table or a form. This example show
Confirm
+
+
```
:::
diff --git a/examples/docs/en-US/form.md b/examples/docs/en-US/form.md
index d6d86d1aa..f40029fe5 100644
--- a/examples/docs/en-US/form.md
+++ b/examples/docs/en-US/form.md
@@ -718,6 +718,7 @@ Form component allows you to verify your data, helping you find and correct erro
}
```
+:::
### Delete or add form items dynamically
diff --git a/examples/docs/en-US/input-number.md b/examples/docs/en-US/input-number.md
index 8e9aa2b9c..da67d10e4 100644
--- a/examples/docs/en-US/input-number.md
+++ b/examples/docs/en-US/input-number.md
@@ -35,9 +35,9 @@ Input numerical values with a customizable range.
};
},
methods: {
- handleChange() {
- console.log(this.num1)
- }
+ handleChange(value) {
+ console.log(value)
+ }
}
};
diff --git a/examples/docs/en-US/input.md b/examples/docs/en-US/input.md
index f78c23686..e2137ea3c 100644
--- a/examples/docs/en-US/input.md
+++ b/examples/docs/en-US/input.md
@@ -83,7 +83,7 @@
+
+
```
:::
@@ -261,6 +327,19 @@ Prepend or append an element, generally a label or a button.
v-model="input9">
+
+
```
:::
@@ -350,8 +429,25 @@ Customize how suggestions are displayed.
@select="handleSelect"
>
+
+
+```
:::
### Side bar
@@ -58,7 +67,7 @@ Vertical NavMenu with sub-menus.
With icons
-
Without icons
-
+
+
```
:::
diff --git a/examples/docs/en-US/popover.md b/examples/docs/en-US/popover.md
index fbf2b00e8..c13b402d8 100644
--- a/examples/docs/en-US/popover.md
+++ b/examples/docs/en-US/popover.md
@@ -79,22 +79,6 @@
multipleSelection: [],
model: ''
};
- },
-
- watch: {
- singleSelection(val) {
- console.log('selection: ', val);
- },
-
- multipleSelection(val) {
- console.log('selection: ', val);
- }
- },
-
- events: {
- handleClick(row) {
- console.log('you clicked ', row);
- }
}
};
@@ -159,6 +143,32 @@ Other components can be nested in popover. Following is an example of nested tab
Click to activate
+
+
```
:::
@@ -181,6 +191,16 @@ Of course, you can nest other operations. It's more light-weight than using a di
Delete
+
+
```
:::
diff --git a/examples/docs/en-US/radio.md b/examples/docs/en-US/radio.md
index 212844fec..9a7be7c33 100644
--- a/examples/docs/en-US/radio.md
+++ b/examples/docs/en-US/radio.md
@@ -30,7 +30,7 @@ Radio should not have too many options. Otherwise, use the Select component inst
export default {
data () {
return {
- radio: ''
+ radio: '1'
};
}
}
@@ -73,6 +73,16 @@ Suitable for choosing from some mutually exclusive options.
optionB
optionC
+
+
```
:::
diff --git a/examples/docs/en-US/rate.md b/examples/docs/en-US/rate.md
index 5b111d7e3..ac4478a23 100644
--- a/examples/docs/en-US/rate.md
+++ b/examples/docs/en-US/rate.md
@@ -38,6 +38,7 @@ Used for rating
:colors="['#99A9BF', '#F7BA2A', '#FF9900']">
+
+```
:::
### Disabled
@@ -48,8 +58,17 @@ Switch is used for switching between two opposing states.
v-model="value3"
disabled>
-```
+
+```
:::
### Attributes
diff --git a/examples/docs/en-US/time-picker.md b/examples/docs/en-US/time-picker.md
index bbb58e7bc..118c58332 100644
--- a/examples/docs/en-US/time-picker.md
+++ b/examples/docs/en-US/time-picker.md
@@ -17,6 +17,16 @@ Provide a list of fixed time for users to choose.
}"
placeholder="Select time">
+
+
```
:::
diff --git a/examples/docs/en-US/tooltip.md b/examples/docs/en-US/tooltip.md
index e6b151354..9c3321bd9 100644
--- a/examples/docs/en-US/tooltip.md
+++ b/examples/docs/en-US/tooltip.md
@@ -39,44 +39,6 @@ Tooltip has 9 placements.
:::demo Use attribute `content` to set the display content when hover. The attribute `placement` determines the position of the tooltip. Its value is `[orientation]-[alignment]` with four orientations `top`, `left`, `right`, `bottom` and three alignments `start`, `end`, `null`, and the default alignment is null. Take `placement="left-end"` for example, Tooltip will display on the left of the element which you are hovering and the bottom of the tooltip aligns with the bottom of the element.
```html
-
-
@@ -124,6 +86,44 @@ Tooltip has 9 placements.
+
+
```
:::
diff --git a/examples/docs/zh-CN/badge.md b/examples/docs/zh-CN/badge.md
index 605585592..22d98fbd2 100644
--- a/examples/docs/zh-CN/badge.md
+++ b/examples/docs/zh-CN/badge.md
@@ -36,6 +36,13 @@
+
+
```
:::
@@ -51,6 +58,13 @@
回复
+
+
```
:::
@@ -66,6 +80,13 @@
回复
+
+
```
:::
@@ -79,6 +100,13 @@
+
+
```
:::
diff --git a/examples/docs/zh-CN/card.md b/examples/docs/zh-CN/card.md
index e0a3ce44d..7c745e930 100644
--- a/examples/docs/zh-CN/card.md
+++ b/examples/docs/zh-CN/card.md
@@ -65,6 +65,29 @@
{{'列表内容 ' + o }}
+
+
```
:::
@@ -79,6 +102,20 @@
{{'列表内容 ' + o }}
+
+
```
:::
@@ -102,6 +139,48 @@
+
+
+
+
```
:::
diff --git a/examples/docs/zh-CN/date-picker.md b/examples/docs/zh-CN/date-picker.md
index 28d1a2ab1..0af6252f3 100644
--- a/examples/docs/zh-CN/date-picker.md
+++ b/examples/docs/zh-CN/date-picker.md
@@ -199,6 +199,18 @@
placeholder="选择年">
+
+
```
:::
diff --git a/examples/docs/zh-CN/dialog.md b/examples/docs/zh-CN/dialog.md
index 8b9292579..7aa0ab7c6 100644
--- a/examples/docs/zh-CN/dialog.md
+++ b/examples/docs/zh-CN/dialog.md
@@ -20,11 +20,7 @@
address: '上海市普陀区金沙江路 1518 弄'
}],
dialogVisible: false,
- dialogTinyVisible: false,
- dialogFullVisible: false,
- dialogStubbornVisible: false,
dialogTableVisible: false,
- dialogBindVisible: false,
dialogFormVisible: false,
form: {
name: '',
@@ -88,6 +84,16 @@ Dialog 弹出一个对话框,适合需要定制性更大的场景。
确 定
+
+
```
:::
@@ -128,6 +134,45 @@ Dialog 组件的内容可以是任意的,甚至可以是表格或表单,下
确 定
+
+
```
:::
diff --git a/examples/docs/zh-CN/input.md b/examples/docs/zh-CN/input.md
index a65936c71..8444ddce9 100644
--- a/examples/docs/zh-CN/input.md
+++ b/examples/docs/zh-CN/input.md
@@ -124,7 +124,7 @@
```
:::
@@ -80,6 +109,35 @@
+
+
```
:::
@@ -104,6 +162,35 @@
+
+
```
:::
@@ -124,6 +211,35 @@
+
+
```
:::
@@ -158,6 +274,35 @@
+
+
```
:::
diff --git a/examples/docs/zh-CN/loading.md b/examples/docs/zh-CN/loading.md
index 89a69477f..ddcd688fa 100644
--- a/examples/docs/zh-CN/loading.md
+++ b/examples/docs/zh-CN/loading.md
@@ -69,6 +69,12 @@
+
+
```
:::
@@ -87,7 +97,7 @@
带 icon
-
不带 icon
-
+
+
```
:::
diff --git a/examples/docs/zh-CN/popover.md b/examples/docs/zh-CN/popover.md
index 71deca2f7..0a2603b2b 100644
--- a/examples/docs/zh-CN/popover.md
+++ b/examples/docs/zh-CN/popover.md
@@ -170,6 +170,32 @@ Popover 的属性与 Tooltip 很类似,它们都是基于`Vue-popper`开发的
click 激活
+
+
```
:::
@@ -192,6 +218,16 @@ Popover 的属性与 Tooltip 很类似,它们都是基于`Vue-popper`开发的
删除
+
+
```
:::
diff --git a/examples/docs/zh-CN/rate.md b/examples/docs/zh-CN/rate.md
index 32d247866..fead2ef06 100644
--- a/examples/docs/zh-CN/rate.md
+++ b/examples/docs/zh-CN/rate.md
@@ -57,6 +57,17 @@
:colors="['#99A9BF', '#F7BA2A', '#FF9900']">
+
+
```
:::
@@ -70,6 +81,16 @@
v-model="value3"
show-text>
+
+
```
:::
@@ -85,6 +106,16 @@
void-icon-class="icon-rate-face-off"
:colors="['#99A9BF', '#F7BA2A', '#FF9900']">
+
+
```
:::
@@ -101,6 +132,16 @@
text-color="#ff9900"
text-template="{value}">
+
+
```
:::
diff --git a/examples/docs/zh-CN/switch.md b/examples/docs/zh-CN/switch.md
index 718d713a5..86ba4c77f 100644
--- a/examples/docs/zh-CN/switch.md
+++ b/examples/docs/zh-CN/switch.md
@@ -37,6 +37,17 @@
on-color="#13ce66"
off-color="#ff4949">
+
+
```
:::
@@ -55,6 +66,16 @@
v-model="value3"
disabled>
+
+
```
:::
diff --git a/examples/docs/zh-CN/time-picker.md b/examples/docs/zh-CN/time-picker.md
index da518cc1c..05912d8bb 100644
--- a/examples/docs/zh-CN/time-picker.md
+++ b/examples/docs/zh-CN/time-picker.md
@@ -25,6 +25,16 @@
}"
placeholder="选择时间">
+
+
```
:::
diff --git a/examples/docs/zh-CN/tooltip.md b/examples/docs/zh-CN/tooltip.md
index 290576b84..cc9d95d26 100644
--- a/examples/docs/zh-CN/tooltip.md
+++ b/examples/docs/zh-CN/tooltip.md
@@ -107,6 +107,40 @@
+
+
```
:::
diff --git a/examples/i18n/component.json b/examples/i18n/component.json
index 76688fc1e..2cbab3eec 100644
--- a/examples/i18n/component.json
+++ b/examples/i18n/component.json
@@ -5,7 +5,7 @@
"hide-text": "隐藏代码",
"show-text": "显示代码",
"button-text": "在线运行",
- "tooltip-text": "前往 jsfiddle.net 运行此实例"
+ "tooltip-text": "前往 jsfiddle.net 运行此示例"
},
"footer": {
"feedback": "反馈建议",