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
5eefd27a
Commit
5eefd27a
authored
Jan 15, 2017
by
Pierre-Louis Renaudin
Committed by
杨奕
Jan 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix en-US language
parent
33954866
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
examples/docs/en-US/input.md
examples/docs/en-US/input.md
+16
-15
No files found.
examples/docs/en-US/input.md
View file @
5eefd27a
...
...
@@ -286,25 +286,26 @@ Prepend or append an element, generally a label or a button.
```
html
<div>
<el-input
placeholder=
"
请输入内容
"
v-model=
"input3"
>
<el-input
placeholder=
"
Please input
"
v-model=
"input3"
>
<template
slot=
"prepend"
>
Http://
</template>
</el-input>
</div>
<div
style=
"margin-top: 15px;"
>
<el-input
placeholder=
"
请输入内容
"
v-model=
"input4"
>
<el-input
placeholder=
"
Please input
"
v-model=
"input4"
>
<template
slot=
"append"
>
.com
</template>
</el-input>
</div>
<div
style=
"margin-top: 15px;"
>
<el-input
placeholder=
"
请输入内容
"
v-model=
"input5"
>
<el-select
v-model=
"select"
slot=
"prepend"
placeholder=
"
请选择
"
>
<el-option
label=
"
餐厅名
"
value=
"1"
></el-option>
<el-option
label=
"
订单号
"
value=
"2"
></el-option>
<el-option
label=
"
用户电话
"
value=
"3"
></el-option>
<el-input
placeholder=
"
Please input
"
v-model=
"input5"
>
<el-select
v-model=
"select"
slot=
"prepend"
placeholder=
"
Select
"
>
<el-option
label=
"
Restaurant
"
value=
"1"
></el-option>
<el-option
label=
"
Order No.
"
value=
"2"
></el-option>
<el-option
label=
"
Tel
"
value=
"3"
></el-option>
</el-select>
<el-button
slot=
"append"
icon=
"search"
></el-button>
</el-input>
</div>
<style>
.el-select
.el-input
{
width
:
110px
;
...
...
@@ -332,21 +333,21 @@ export default {
<div
class=
"demo-input-size"
>
<el-input
size=
"large"
placeholder=
"
请输入内容
"
placeholder=
"
Please Input
"
v-model=
"input6"
>
</el-input>
<el-input
placeholder=
"
请输入内容
"
placeholder=
"
Please Input
"
v-model=
"input7"
>
</el-input>
<el-input
size=
"small"
placeholder=
"
请输入内容
"
placeholder=
"
Please Input
"
v-model=
"input8"
>
</el-input>
<el-input
size=
"mini"
placeholder=
"
请输入内容
"
placeholder=
"
Please Input
"
v-model=
"input9"
>
</el-input>
</div>
...
...
@@ -374,22 +375,22 @@ You can get some recommended tips based on the current input.
```
html
<el-row
class=
"demo-autocomplete"
>
<el-col
:span=
"12"
>
<div
class=
"sub-title"
>
激活即列出输入建议
</div>
<div
class=
"sub-title"
>
list suggestions when activated
</div>
<el-autocomplete
class=
"inline-input"
v-model=
"state1"
:fetch-suggestions=
"querySearch"
placeholder=
"
请输入内容
"
placeholder=
"
Please Input
"
@
select=
"handleSelect"
></el-autocomplete>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"sub-title"
>
输入后匹配输入建议
</div>
<div
class=
"sub-title"
>
list suggestions on input
</div>
<el-autocomplete
class=
"inline-input"
v-model=
"state2"
:fetch-suggestions=
"querySearch"
placeholder=
"
请输入内容
"
placeholder=
"
Please Input
"
:trigger-on-focus=
"false"
@
select=
"handleSelect"
></el-autocomplete>
...
...
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