Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
d6b4cf3f
Commit
d6b4cf3f
authored
Mar 27, 2018
by
杨奕
Committed by
GitHub
Mar 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TimePicker: fix missing dependency style files (#10381)
parent
54c36136
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
66 deletions
+65
-66
examples/docs/en-US/button.md
examples/docs/en-US/button.md
+20
-21
examples/docs/es/button.md
examples/docs/es/button.md
+23
-24
examples/docs/zh-CN/button.md
examples/docs/zh-CN/button.md
+20
-21
packages/theme-chalk/src/time-picker.scss
packages/theme-chalk/src/time-picker.scss
+2
-0
No files found.
examples/docs/en-US/button.md
View file @
d6b4cf3f
<style>
<style>
.demo-box.demo-button {
.demo-box.demo-button {
.el-row {
.el-row {
margin-bottom: 10px;
}
.el-button {
margin-bottom: 20px;
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
}
.el-button + .el-button {
.el-button + .el-button {
margin-left: 10px;
margin-left: 10px;
}
}
.el-button-group {
.el-button-group {
margin-bottom: 20px;
.el-button + .el-button {
.el-button + .el-button {
margin-left: 0;
margin-left: 0;
}
}
...
@@ -32,41 +31,41 @@ Commonly used button.
...
@@ -32,41 +31,41 @@ Commonly used button.
:::demo Use
`type`
,
`plain`
,
`round`
and
`circle`
to define Button's style.
:::demo Use
`type`
,
`plain`
,
`round`
and
`circle`
to define Button's style.
```
html
```
html
<
div
>
<
el-row
>
<el-button>
Default
</el-button>
<el-button>
Default
</el-button>
<el-button
type=
"primary"
>
Primary
</el-button>
<el-button
type=
"primary"
>
Primary
</el-button>
<el-button
type=
"success"
>
Success
</el-button>
<el-button
type=
"success"
>
Success
</el-button>
<el-button
type=
"info"
>
Info
</el-button>
<el-button
type=
"info"
>
Info
</el-button>
<el-button
type=
"warning"
>
Warning
</el-button>
<el-button
type=
"warning"
>
Warning
</el-button>
<el-button
type=
"danger"
>
Danger
</el-button>
<el-button
type=
"danger"
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
plain
>
Plain
</el-button>
<el-button
plain
>
Plain
</el-button>
<el-button
type=
"primary"
plain
>
Primary
</el-button>
<el-button
type=
"primary"
plain
>
Primary
</el-button>
<el-button
type=
"success"
plain
>
Success
</el-button>
<el-button
type=
"success"
plain
>
Success
</el-button>
<el-button
type=
"info"
plain
>
Info
</el-button>
<el-button
type=
"info"
plain
>
Info
</el-button>
<el-button
type=
"warning"
plain
>
Warning
</el-button>
<el-button
type=
"warning"
plain
>
Warning
</el-button>
<el-button
type=
"danger"
plain
>
Danger
</el-button>
<el-button
type=
"danger"
plain
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
round
>
Round
</el-button>
<el-button
round
>
Round
</el-button>
<el-button
type=
"primary"
round
>
Primary
</el-button>
<el-button
type=
"primary"
round
>
Primary
</el-button>
<el-button
type=
"success"
round
>
Success
</el-button>
<el-button
type=
"success"
round
>
Success
</el-button>
<el-button
type=
"info"
round
>
Info
</el-button>
<el-button
type=
"info"
round
>
Info
</el-button>
<el-button
type=
"warning"
round
>
Warning
</el-button>
<el-button
type=
"warning"
round
>
Warning
</el-button>
<el-button
type=
"danger"
round
>
Danger
</el-button>
<el-button
type=
"danger"
round
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
icon=
"el-icon-search"
circle
></el-button>
<el-button
icon=
"el-icon-search"
circle
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
></el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
></el-button>
<el-button
type=
"info"
icon=
"el-icon-message"
circle
></el-button>
<el-button
type=
"info"
icon=
"el-icon-message"
circle
></el-button>
<el-button
type=
"warning"
icon=
"el-icon-star-off"
circle
></el-button>
<el-button
type=
"warning"
icon=
"el-icon-star-off"
circle
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
@@ -77,23 +76,23 @@ The `disabled` attribute determines if the button is disabled.
...
@@ -77,23 +76,23 @@ The `disabled` attribute determines if the button is disabled.
:::demo Use
`disabled`
attribute to determine whether a button is disabled. It accepts a
`Boolean`
value.
:::demo Use
`disabled`
attribute to determine whether a button is disabled. It accepts a
`Boolean`
value.
```
html
```
html
<
div
>
<
el-row
>
<el-button
disabled
>
Default
</el-button>
<el-button
disabled
>
Default
</el-button>
<el-button
type=
"primary"
disabled
>
Primary
</el-button>
<el-button
type=
"primary"
disabled
>
Primary
</el-button>
<el-button
type=
"success"
disabled
>
Success
</el-button>
<el-button
type=
"success"
disabled
>
Success
</el-button>
<el-button
type=
"info"
disabled
>
Info
</el-button>
<el-button
type=
"info"
disabled
>
Info
</el-button>
<el-button
type=
"warning"
disabled
>
Warning
</el-button>
<el-button
type=
"warning"
disabled
>
Warning
</el-button>
<el-button
type=
"danger"
disabled
>
Danger
</el-button>
<el-button
type=
"danger"
disabled
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
plain
disabled
>
Plain
</el-button>
<el-button
plain
disabled
>
Plain
</el-button>
<el-button
type=
"primary"
plain
disabled
>
Primary
</el-button>
<el-button
type=
"primary"
plain
disabled
>
Primary
</el-button>
<el-button
type=
"success"
plain
disabled
>
Success
</el-button>
<el-button
type=
"success"
plain
disabled
>
Success
</el-button>
<el-button
type=
"info"
plain
disabled
>
Info
</el-button>
<el-button
type=
"info"
plain
disabled
>
Info
</el-button>
<el-button
type=
"warning"
plain
disabled
>
Warning
</el-button>
<el-button
type=
"warning"
plain
disabled
>
Warning
</el-button>
<el-button
type=
"danger"
plain
disabled
>
Danger
</el-button>
<el-button
type=
"danger"
plain
disabled
>
Danger
</el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
@@ -160,18 +159,18 @@ Besides default size, Button component provides three additional sizes for you t
...
@@ -160,18 +159,18 @@ Besides default size, Button component provides three additional sizes for you t
:::demo Use attribute
`size`
to set additional sizes with
`medium`
,
`small`
or
`mini`
.
:::demo Use attribute
`size`
to set additional sizes with
`medium`
,
`small`
or
`mini`
.
```
html
```
html
<
div
>
<
el-row
>
<el-button>
Default
</el-button>
<el-button>
Default
</el-button>
<el-button
size=
"medium"
>
Medium
</el-button>
<el-button
size=
"medium"
>
Medium
</el-button>
<el-button
size=
"small"
>
Small
</el-button>
<el-button
size=
"small"
>
Small
</el-button>
<el-button
size=
"mini"
>
Mini
</el-button>
<el-button
size=
"mini"
>
Mini
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
round
>
Default
</el-button>
<el-button
round
>
Default
</el-button>
<el-button
size=
"medium"
round
>
Medium
</el-button>
<el-button
size=
"medium"
round
>
Medium
</el-button>
<el-button
size=
"small"
round
>
Small
</el-button>
<el-button
size=
"small"
round
>
Small
</el-button>
<el-button
size=
"mini"
round
>
Mini
</el-button>
<el-button
size=
"mini"
round
>
Mini
</el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
...
examples/docs/es/button.md
View file @
d6b4cf3f
<style>
<style>
.demo-box.demo-button {
.demo-box.demo-button {
.el-row {
.el-row {
margin-bottom: 10px;
}
.el-button {
margin-bottom: 20px;
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
}
.el-button + .el-button {
.el-button + .el-button {
margin-left: 10px;
margin-left: 10px;
}
}
.el-button-group {
.el-button-group {
margin-bottom: 20px;
.el-button + .el-button {
.el-button + .el-button {
margin-left: 0;
margin-left: 0;
}
}
...
@@ -32,41 +31,41 @@ Botones comúnmente usados.
...
@@ -32,41 +31,41 @@ Botones comúnmente usados.
:::demo Use
`type`
,
`plain`
,
`round`
y
`circle`
para definir estilos a los botones.
:::demo Use
`type`
,
`plain`
,
`round`
y
`circle`
para definir estilos a los botones.
```
html
```
html
<
div
>
<
el-row
>
<el-button>
Default
</el-button>
<el-button>
Default
</el-button>
<el-button
type=
"primary"
>
Primary
</el-button>
<el-button
type=
"primary"
>
Primary
</el-button>
<el-button
type=
"success"
>
Success
</el-button>
<el-button
type=
"success"
>
Success
</el-button>
<el-button
type=
"info"
>
Info
</el-button>
<el-button
type=
"info"
>
Info
</el-button>
<el-button
type=
"warning"
>
Warning
</el-button>
<el-button
type=
"warning"
>
Warning
</el-button>
<el-button
type=
"danger"
>
Danger
</el-button>
<el-button
type=
"danger"
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
plain
>
Plain
</el-button>
<el-button
plain
>
Plain
</el-button>
<el-button
type=
"primary"
plain
>
Primary
</el-button>
<el-button
type=
"primary"
plain
>
Primary
</el-button>
<el-button
type=
"success"
plain
>
Success
</el-button>
<el-button
type=
"success"
plain
>
Success
</el-button>
<el-button
type=
"info"
plain
>
Info
</el-button>
<el-button
type=
"info"
plain
>
Info
</el-button>
<el-button
type=
"warning"
plain
>
Warning
</el-button>
<el-button
type=
"warning"
plain
>
Warning
</el-button>
<el-button
type=
"danger"
plain
>
Danger
</el-button>
<el-button
type=
"danger"
plain
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
round
>
Round
</el-button>
<el-button
round
>
Round
</el-button>
<el-button
type=
"primary"
round
>
Primary
</el-button>
<el-button
type=
"primary"
round
>
Primary
</el-button>
<el-button
type=
"success"
round
>
Success
</el-button>
<el-button
type=
"success"
round
>
Success
</el-button>
<el-button
type=
"info"
round
>
Info
</el-button>
<el-button
type=
"info"
round
>
Info
</el-button>
<el-button
type=
"warning"
round
>
Warning
</el-button>
<el-button
type=
"warning"
round
>
Warning
</el-button>
<el-button
type=
"danger"
round
>
Danger
</el-button>
<el-button
type=
"danger"
round
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
icon=
"el-icon-search"
circle
></el-button>
<el-button
icon=
"el-icon-search"
circle
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
></el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
></el-button>
<el-button
type=
"info"
icon=
"el-icon-message"
circle
></el-button>
<el-button
type=
"info"
icon=
"el-icon-message"
circle
></el-button>
<el-button
type=
"warning"
icon=
"el-icon-star-off"
circle
></el-button>
<el-button
type=
"warning"
icon=
"el-icon-star-off"
circle
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
@@ -77,23 +76,23 @@ El atributo `disabled` determina su un botón esta deshabilitado.
...
@@ -77,23 +76,23 @@ El atributo `disabled` determina su un botón esta deshabilitado.
:::demo Use el atributo
`disabled`
para determinar si un botón esta deshabilitado. Acepta un valor
`Boolean`
.
:::demo Use el atributo
`disabled`
para determinar si un botón esta deshabilitado. Acepta un valor
`Boolean`
.
```
html
```
html
<
div
>
<
el-row
>
<el-button
disabled
>
Default
</el-button>
<el-button
disabled
>
Default
</el-button>
<el-button
type=
"primary"
disabled
>
Primary
</el-button>
<el-button
type=
"primary"
disabled
>
Primary
</el-button>
<el-button
type=
"success"
disabled
>
Success
</el-button>
<el-button
type=
"success"
disabled
>
Success
</el-button>
<el-button
type=
"info"
disabled
>
Info
</el-button>
<el-button
type=
"info"
disabled
>
Info
</el-button>
<el-button
type=
"warning"
disabled
>
Warning
</el-button>
<el-button
type=
"warning"
disabled
>
Warning
</el-button>
<el-button
type=
"danger"
disabled
>
Danger
</el-button>
<el-button
type=
"danger"
disabled
>
Danger
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
plain
disabled
>
Plain
</el-button>
<el-button
plain
disabled
>
Plain
</el-button>
<el-button
type=
"primary"
plain
disabled
>
Primary
</el-button>
<el-button
type=
"primary"
plain
disabled
>
Primary
</el-button>
<el-button
type=
"success"
plain
disabled
>
Success
</el-button>
<el-button
type=
"success"
plain
disabled
>
Success
</el-button>
<el-button
type=
"info"
plain
disabled
>
Info
</el-button>
<el-button
type=
"info"
plain
disabled
>
Info
</el-button>
<el-button
type=
"warning"
plain
disabled
>
Warning
</el-button>
<el-button
type=
"warning"
plain
disabled
>
Warning
</el-button>
<el-button
type=
"danger"
plain
disabled
>
Danger
</el-button>
<el-button
type=
"danger"
plain
disabled
>
Danger
</el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
@@ -160,18 +159,18 @@ Además del tamaño por defecto, el componente Button provee tres tamaños adici
...
@@ -160,18 +159,18 @@ Además del tamaño por defecto, el componente Button provee tres tamaños adici
:::demo Use el atributo
`size`
para setear tamaños adicionales con
`medium`
,
`small`
or
`mini`
.
:::demo Use el atributo
`size`
para setear tamaños adicionales con
`medium`
,
`small`
or
`mini`
.
```
html
```
html
<
div
>
<
el-row
>
<el-button>
Default
</el-button>
<el-button>
Default
</el-button>
<el-button
size=
"medium"
>
Medium
</el-button>
<el-button
size=
"medium"
>
Medium
</el-button>
<el-button
size=
"small"
>
Small
</el-button>
<el-button
size=
"small"
>
Small
</el-button>
<el-button
size=
"mini"
>
Mini
</el-button>
<el-button
size=
"mini"
>
Mini
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
round
>
Default
</el-button>
<el-button
round
>
Default
</el-button>
<el-button
size=
"medium"
round
>
Medium
</el-button>
<el-button
size=
"medium"
round
>
Medium
</el-button>
<el-button
size=
"small"
round
>
Small
</el-button>
<el-button
size=
"small"
round
>
Small
</el-button>
<el-button
size=
"mini"
round
>
Mini
</el-button>
<el-button
size=
"mini"
round
>
Mini
</el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
@@ -182,9 +181,9 @@ Además del tamaño por defecto, el componente Button provee tres tamaños adici
...
@@ -182,9 +181,9 @@ Además del tamaño por defecto, el componente Button provee tres tamaños adici
| type | tipo de botón | string | primary / success / warning / danger / info / text | — |
| type | tipo de botón | string | primary / success / warning / danger / info / text | — |
| plain | determinar si es o no un botón plano | boolean | — | false |
| plain | determinar si es o no un botón plano | boolean | — | false |
| round | determinar si es o no un botón redondo | boolean | — | false |
| round | determinar si es o no un botón redondo | boolean | — | false |
| circle | determin
ar si es o no un botón circle
| boolean | — | false |
| circle | determin
e whether it's a circle button
| boolean | — | false |
| loading | determinar si es o no un botón de descarga | boolean | —
| false |
| loading | determinar si es o no un botón de descarga | boolean | — | false |
| disabled | deshabilitar el botón | boolean | — | false |
| disabled | deshabilitar el botón | boolean | — | false |
| icon | nombre de la clase del icono | string | — | — |
| icon | nombre de la clase del icono | string | — | — |
| autofocus | misma funcionalidad que la nativa
`autofocus`
| boolean | —
| false |
| autofocus | misma funcionalidad que la nativa
`autofocus`
| boolean | — | false |
| native-type | misma funcionalidad que la nativa
`type`
| string | button / submit / reset | button |
| native-type | misma funcionalidad que la nativa
`type`
| string | button / submit / reset | button |
\ No newline at end of file
examples/docs/zh-CN/button.md
View file @
d6b4cf3f
<style>
<style>
.demo-box.demo-button {
.demo-box.demo-button {
.el-row {
.el-row {
margin-bottom: 10px;
}
.el-button {
margin-bottom: 20px;
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
}
.el-button + .el-button {
.el-button + .el-button {
margin-left: 10px;
margin-left: 10px;
}
}
.el-button-group {
.el-button-group {
margin-bottom: 20px;
.el-button + .el-button {
.el-button + .el-button {
margin-left: 0;
margin-left: 0;
}
}
...
@@ -33,41 +32,41 @@
...
@@ -33,41 +32,41 @@
:::demo 使用
`type`
、
`plain`
、
`round`
和
`circle`
属性来定义 Button 的样式。
:::demo 使用
`type`
、
`plain`
、
`round`
和
`circle`
属性来定义 Button 的样式。
```
html
```
html
<
div
>
<
el-row
>
<el-button>
默认按钮
</el-button>
<el-button>
默认按钮
</el-button>
<el-button
type=
"primary"
>
主要按钮
</el-button>
<el-button
type=
"primary"
>
主要按钮
</el-button>
<el-button
type=
"success"
>
成功按钮
</el-button>
<el-button
type=
"success"
>
成功按钮
</el-button>
<el-button
type=
"info"
>
信息按钮
</el-button>
<el-button
type=
"info"
>
信息按钮
</el-button>
<el-button
type=
"warning"
>
警告按钮
</el-button>
<el-button
type=
"warning"
>
警告按钮
</el-button>
<el-button
type=
"danger"
>
危险按钮
</el-button>
<el-button
type=
"danger"
>
危险按钮
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
plain
>
朴素按钮
</el-button>
<el-button
plain
>
朴素按钮
</el-button>
<el-button
type=
"primary"
plain
>
主要按钮
</el-button>
<el-button
type=
"primary"
plain
>
主要按钮
</el-button>
<el-button
type=
"success"
plain
>
成功按钮
</el-button>
<el-button
type=
"success"
plain
>
成功按钮
</el-button>
<el-button
type=
"info"
plain
>
信息按钮
</el-button>
<el-button
type=
"info"
plain
>
信息按钮
</el-button>
<el-button
type=
"warning"
plain
>
警告按钮
</el-button>
<el-button
type=
"warning"
plain
>
警告按钮
</el-button>
<el-button
type=
"danger"
plain
>
危险按钮
</el-button>
<el-button
type=
"danger"
plain
>
危险按钮
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
round
>
圆角按钮
</el-button>
<el-button
round
>
圆角按钮
</el-button>
<el-button
type=
"primary"
round
>
主要按钮
</el-button>
<el-button
type=
"primary"
round
>
主要按钮
</el-button>
<el-button
type=
"success"
round
>
成功按钮
</el-button>
<el-button
type=
"success"
round
>
成功按钮
</el-button>
<el-button
type=
"info"
round
>
信息按钮
</el-button>
<el-button
type=
"info"
round
>
信息按钮
</el-button>
<el-button
type=
"warning"
round
>
警告按钮
</el-button>
<el-button
type=
"warning"
round
>
警告按钮
</el-button>
<el-button
type=
"danger"
round
>
危险按钮
</el-button>
<el-button
type=
"danger"
round
>
危险按钮
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
icon=
"el-icon-search"
circle
></el-button>
<el-button
icon=
"el-icon-search"
circle
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
></el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
></el-button>
<el-button
type=
"info"
icon=
"el-icon-message"
circle
></el-button>
<el-button
type=
"info"
icon=
"el-icon-message"
circle
></el-button>
<el-button
type=
"warning"
icon=
"el-icon-star-off"
circle
></el-button>
<el-button
type=
"warning"
icon=
"el-icon-star-off"
circle
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
@@ -78,23 +77,23 @@
...
@@ -78,23 +77,23 @@
:::demo 你可以使用
`disabled`
属性来定义按钮是否可用,它接受一个
`Boolean`
值。
:::demo 你可以使用
`disabled`
属性来定义按钮是否可用,它接受一个
`Boolean`
值。
```
html
```
html
<
div
>
<
el-row
>
<el-button
disabled
>
默认按钮
</el-button>
<el-button
disabled
>
默认按钮
</el-button>
<el-button
type=
"primary"
disabled
>
主要按钮
</el-button>
<el-button
type=
"primary"
disabled
>
主要按钮
</el-button>
<el-button
type=
"success"
disabled
>
成功按钮
</el-button>
<el-button
type=
"success"
disabled
>
成功按钮
</el-button>
<el-button
type=
"info"
disabled
>
信息按钮
</el-button>
<el-button
type=
"info"
disabled
>
信息按钮
</el-button>
<el-button
type=
"warning"
disabled
>
警告按钮
</el-button>
<el-button
type=
"warning"
disabled
>
警告按钮
</el-button>
<el-button
type=
"danger"
disabled
>
危险按钮
</el-button>
<el-button
type=
"danger"
disabled
>
危险按钮
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
plain
disabled
>
朴素按钮
</el-button>
<el-button
plain
disabled
>
朴素按钮
</el-button>
<el-button
type=
"primary"
plain
disabled
>
主要按钮
</el-button>
<el-button
type=
"primary"
plain
disabled
>
主要按钮
</el-button>
<el-button
type=
"success"
plain
disabled
>
成功按钮
</el-button>
<el-button
type=
"success"
plain
disabled
>
成功按钮
</el-button>
<el-button
type=
"info"
plain
disabled
>
信息按钮
</el-button>
<el-button
type=
"info"
plain
disabled
>
信息按钮
</el-button>
<el-button
type=
"warning"
plain
disabled
>
警告按钮
</el-button>
<el-button
type=
"warning"
plain
disabled
>
警告按钮
</el-button>
<el-button
type=
"danger"
plain
disabled
>
危险按钮
</el-button>
<el-button
type=
"danger"
plain
disabled
>
危险按钮
</el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
@@ -161,18 +160,18 @@ Button 组件提供除了默认值以外的三种尺寸,可以在不同场景
...
@@ -161,18 +160,18 @@ Button 组件提供除了默认值以外的三种尺寸,可以在不同场景
:::demo 额外的尺寸:
`medium`
、
`small`
、
`mini`
,通过设置
`size`
属性来配置它们。
:::demo 额外的尺寸:
`medium`
、
`small`
、
`mini`
,通过设置
`size`
属性来配置它们。
```
html
```
html
<
div
>
<
el-row
>
<el-button>
默认按钮
</el-button>
<el-button>
默认按钮
</el-button>
<el-button
size=
"medium"
>
中等按钮
</el-button>
<el-button
size=
"medium"
>
中等按钮
</el-button>
<el-button
size=
"small"
>
小型按钮
</el-button>
<el-button
size=
"small"
>
小型按钮
</el-button>
<el-button
size=
"mini"
>
超小按钮
</el-button>
<el-button
size=
"mini"
>
超小按钮
</el-button>
</
div
>
</
el-row
>
<
div
>
<
el-row
>
<el-button
round
>
默认按钮
</el-button>
<el-button
round
>
默认按钮
</el-button>
<el-button
size=
"medium"
round
>
中等按钮
</el-button>
<el-button
size=
"medium"
round
>
中等按钮
</el-button>
<el-button
size=
"small"
round
>
小型按钮
</el-button>
<el-button
size=
"small"
round
>
小型按钮
</el-button>
<el-button
size=
"mini"
round
>
超小按钮
</el-button>
<el-button
size=
"mini"
round
>
超小按钮
</el-button>
</
div
>
</
el-row
>
```
```
:::
:::
...
...
packages/theme-chalk/src/time-picker.scss
View file @
d6b4cf3f
@import
"./date-picker/picker.scss"
;
@import
"./date-picker/picker.scss"
;
@import
"./date-picker/picker-panel.scss"
;
@import
"./date-picker/time-spinner.scss"
;
@import
"./date-picker/time-spinner.scss"
;
@import
"./date-picker/time-picker.scss"
;
@import
"./date-picker/time-picker.scss"
;
@import
"./date-picker/time-range-picker.scss"
;
@import
"./input.scss"
;
@import
"./input.scss"
;
@import
"./scrollbar.scss"
;
@import
"./scrollbar.scss"
;
@import
"./popper"
;
@import
"./popper"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment