[Improvement] Search: update style (#1603)

This commit is contained in:
neverland
2018-08-07 14:03:30 +08:00
committed by GitHub
parent 1f67c28998
commit cdc93188ca
8 changed files with 40 additions and 66 deletions
+2 -9
View File
@@ -19,6 +19,7 @@
<demo-block :title="$t('title3')">
<van-search
v-model="value"
:placeholder="$t('placeholder')"
show-action
@search="onSearch"
>
@@ -34,7 +35,7 @@ export default {
'zh-CN': {
title2: '监听对应事件',
title3: '自定义行动按钮',
placeholder: '请输入商品名称'
placeholder: '请输入搜索关键词'
},
'en-US': {
title2: 'Listen to Events',
@@ -59,11 +60,3 @@ export default {
}
};
</script>
<style lang="postcss">
.demo-search {
.van-search__action div {
padding: 0 10px;
}
}
</style>