[new feature] Search: update style, add new prop shape、label (#2788)

This commit is contained in:
rex
2019-02-19 11:32:05 +08:00
committed by neverland
parent 07a6bcbe9f
commit 52a4b7eec9
7 changed files with 94 additions and 39 deletions
+8 -4
View File
@@ -24,6 +24,8 @@
v-model="value"
:placeholder="$t('placeholder')"
show-action
shape="round"
:label="$t('label')"
@search="onSearch"
>
<div
@@ -42,13 +44,15 @@ export default {
i18n: {
'zh-CN': {
title2: '监听对应事件',
title3: '自定义行动按钮',
placeholder: '请输入搜索关键词'
title3: '高级用法',
placeholder: '请输入搜索关键词',
label: '收货地址'
},
'en-US': {
title2: 'Listen to Events',
title3: 'Custom Button',
placeholder: 'Placeholder'
title3: 'Advanced Usage',
placeholder: 'Placeholder',
label: 'Address'
}
},