From 7af57c84c54f4051935756eb5ffdd7054a4be09d Mon Sep 17 00:00:00 2001 From: Leopoldthecoder Date: Thu, 10 Nov 2016 23:50:55 +0800 Subject: [PATCH] i18n: remove redundant styles --- examples/components/demo-block.vue | 2 +- examples/docs/en-US/alert.md | 9 --- examples/docs/en-US/badge.md | 6 -- examples/docs/en-US/button.md | 41 ------------ examples/docs/en-US/checkbox.md | 12 ---- examples/docs/en-US/color.md | 86 -------------------------- examples/docs/en-US/date-picker.md | 24 ------- examples/docs/en-US/datetime-picker.md | 24 ------- examples/docs/en-US/dialog.md | 21 +------ examples/docs/en-US/dropdown.md | 40 ------------ examples/docs/en-US/form.md | 2 +- examples/docs/en-US/icon.md | 55 ---------------- examples/docs/en-US/input-number.md | 8 +-- examples/docs/en-US/layout.md | 31 ---------- examples/docs/en-US/loading.md | 6 -- examples/docs/en-US/menu.md | 30 --------- examples/docs/en-US/message.md | 8 --- examples/docs/en-US/notification.md | 8 --- examples/docs/en-US/pagination.md | 50 --------------- examples/docs/en-US/popover.md | 14 ----- examples/docs/en-US/time-picker.md | 8 --- examples/docs/zh-CN/form.md | 2 +- examples/docs/zh-CN/message.md | 8 --- examples/docs/zh-CN/notification.md | 8 --- 24 files changed, 5 insertions(+), 498 deletions(-) diff --git a/examples/components/demo-block.vue b/examples/components/demo-block.vue index c9a5e788a..8d03fc501 100644 --- a/examples/components/demo-block.vue +++ b/examples/components/demo-block.vue @@ -212,7 +212,7 @@ }, blockClass() { - return `demo-${ this.$router.currentRoute.path.split('/').pop() }`; + return `demo-${ this.lang } demo-${ this.$router.currentRoute.path.split('/').pop() }`; }, iconClass() { diff --git a/examples/docs/en-US/alert.md b/examples/docs/en-US/alert.md index 322d49673..11990af59 100644 --- a/examples/docs/en-US/alert.md +++ b/examples/docs/en-US/alert.md @@ -7,15 +7,6 @@ } } - ## Alert diff --git a/examples/docs/en-US/badge.md b/examples/docs/en-US/badge.md index 4a311a16c..022089262 100644 --- a/examples/docs/en-US/badge.md +++ b/examples/docs/en-US/badge.md @@ -1,9 +1,3 @@ - - ## Badge A number or status mark on buttons and icons. diff --git a/examples/docs/en-US/button.md b/examples/docs/en-US/button.md index 82fd9c267..4f992da07 100644 --- a/examples/docs/en-US/button.md +++ b/examples/docs/en-US/button.md @@ -22,47 +22,6 @@ } } - ## Button diff --git a/examples/docs/en-US/checkbox.md b/examples/docs/en-US/checkbox.md index 5838b8900..29f57e956 100644 --- a/examples/docs/en-US/checkbox.md +++ b/examples/docs/en-US/checkbox.md @@ -13,18 +13,6 @@ }; - - ## Checkbox A group of options for multiple choices. diff --git a/examples/docs/en-US/color.md b/examples/docs/en-US/color.md index bb7717b02..ccfa83c0c 100644 --- a/examples/docs/en-US/color.md +++ b/examples/docs/en-US/color.md @@ -1,89 +1,3 @@ - - ## Color Element uses a specific set of palettes to specify colors to provide a consistent look and feel for the products you build. diff --git a/examples/docs/en-US/date-picker.md b/examples/docs/en-US/date-picker.md index a5f5b57d0..5a5fe0fe5 100644 --- a/examples/docs/en-US/date-picker.md +++ b/examples/docs/en-US/date-picker.md @@ -63,30 +63,6 @@ }; - - ## DatePicker Use Date Picker for date input. diff --git a/examples/docs/en-US/datetime-picker.md b/examples/docs/en-US/datetime-picker.md index c9b545a6b..cd78b3e3a 100644 --- a/examples/docs/en-US/datetime-picker.md +++ b/examples/docs/en-US/datetime-picker.md @@ -72,30 +72,6 @@ }; - - ## DateTimePicker Select date and time in one picker. diff --git a/examples/docs/en-US/dialog.md b/examples/docs/en-US/dialog.md index c73d8bc19..9799d5914 100644 --- a/examples/docs/en-US/dialog.md +++ b/examples/docs/en-US/dialog.md @@ -36,7 +36,7 @@ resource: '', desc: '' }, - formLabelWidth: '80px' + formLabelWidth: '120px' }; }, methods: { @@ -47,25 +47,6 @@ }; - ## Dialog Informs users while preserving the current page state. diff --git a/examples/docs/en-US/dropdown.md b/examples/docs/en-US/dropdown.md index 94602e85f..86658eecd 100644 --- a/examples/docs/en-US/dropdown.md +++ b/examples/docs/en-US/dropdown.md @@ -1,43 +1,3 @@ - - ## Icon diff --git a/examples/docs/en-US/input-number.md b/examples/docs/en-US/input-number.md index 4210d8062..8e9aa2b9c 100644 --- a/examples/docs/en-US/input-number.md +++ b/examples/docs/en-US/input-number.md @@ -14,13 +14,7 @@ } }; - + ## InputNumber Input numerical values with a customizable range. diff --git a/examples/docs/en-US/layout.md b/examples/docs/en-US/layout.md index c7011ca83..e47c7527f 100644 --- a/examples/docs/en-US/layout.md +++ b/examples/docs/en-US/layout.md @@ -1,34 +1,3 @@ - - ## Layout Quickly and easily create layouts with the basic 24-column. diff --git a/examples/docs/en-US/loading.md b/examples/docs/en-US/loading.md index 56ad6c172..63f5e8171 100644 --- a/examples/docs/en-US/loading.md +++ b/examples/docs/en-US/loading.md @@ -1,9 +1,3 @@ - - - - ## Message Used to show feedback after an activity. The difference with Notification is that the latter is often used to show a system level passive notification. diff --git a/examples/docs/en-US/notification.md b/examples/docs/en-US/notification.md index d8edae6a4..ad7a6a7d5 100644 --- a/examples/docs/en-US/notification.md +++ b/examples/docs/en-US/notification.md @@ -53,14 +53,6 @@ }; - - ## Notification Displays a global notification message at the upper right corner of the page. diff --git a/examples/docs/en-US/pagination.md b/examples/docs/en-US/pagination.md index 9b9d1cf4f..d880ed9eb 100644 --- a/examples/docs/en-US/pagination.md +++ b/examples/docs/en-US/pagination.md @@ -128,56 +128,6 @@ Add more modules based on your scenario. } } - - ### Attributes | Attribute | Description | Type | Accepted Values | Default | diff --git a/examples/docs/en-US/popover.md b/examples/docs/en-US/popover.md index 2cdbfd74e..fbf2b00e8 100644 --- a/examples/docs/en-US/popover.md +++ b/examples/docs/en-US/popover.md @@ -99,20 +99,6 @@ }; - - ## Popover ### Basic usage diff --git a/examples/docs/en-US/time-picker.md b/examples/docs/en-US/time-picker.md index 0eaf786f3..993c18bca 100644 --- a/examples/docs/en-US/time-picker.md +++ b/examples/docs/en-US/time-picker.md @@ -1,11 +1,3 @@ - - ## TimePicker Use Time Picker for time input. diff --git a/examples/docs/zh-CN/form.md b/examples/docs/zh-CN/form.md index 0af69d82d..9e8ec79bd 100644 --- a/examples/docs/zh-CN/form.md +++ b/examples/docs/zh-CN/form.md @@ -200,7 +200,7 @@ - ## Message 消息提示 常用于主动操作后的反馈提示。与 Notification 的区别是后者更多用于系统级通知的被动提醒。 diff --git a/examples/docs/zh-CN/notification.md b/examples/docs/zh-CN/notification.md index e302b8bf0..a378964cf 100644 --- a/examples/docs/zh-CN/notification.md +++ b/examples/docs/zh-CN/notification.md @@ -53,14 +53,6 @@ }; - - ## Notification 通知 悬浮出现在页面右上角,显示全局的通知提醒消息。