Skip to content

Commit

Permalink
-> v2.1.1-rc.12
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Mar 17, 2017
1 parent 4a1d0b2 commit 58ba171
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vux",
"version": "2.1.1-rc.11",
"version": "2.1.1-rc.12",
"main": "index.js",
"description": "Mobile web UI based on Vue and WeUI",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/marquee/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ marquee-item:
en: content slot
zh-CN: 内容插槽
changes:
next:
v2.1.1-rc.12:
en:
- '[feature] Support async marquee-item'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/search/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ events:
en: when input gets focus
zh-CN: 输入框获取到焦点时触发
changes:
next:
v2.1.1-rc.12:
en:
- '[enhance] do not emit on-change is isCancel = true'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-address/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ events:
en: emits when being open
zh-CN: 显示时触发
changes:
next:
v2.1.1-rc.12:
en:
- '[enhance] Simpify Address data #1101'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-button/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ changes:
v2.1.0-rc.46:
zh-CN:
- '[feature] 添加`less`变量 #896 @erguotou520'
next:
v2.1.1-rc.12:
en:
- '[fix] Fix primary button active background-color'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-textarea/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ events:
en: blur event
zh-CN: blur 事件
changes:
next:
v2.1.1-rc.12:
en:
- '[enhance] trigger focus event of x-textarea when click counter'
zh-CN:
Expand Down
3 changes: 2 additions & 1 deletion src/demo_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,6 @@
"XIcon",
"ScrollerSwiper",
"TabbarIcon",
"DatetimeRange"
"DatetimeRange",
"XImgScroller#/demo/x-img-scroller"
]
5 changes: 4 additions & 1 deletion src/demos/Search.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<img src="../assets/demo/filter_bg.jpg" style="width: 100%">
<search @result-click="resultClick" @on-change="getResult" :results="results" v-model="value" position="absolute" auto-scroll-to-top top="46px" @on-focus="onFocus"></search>
<search @result-click="resultClick" @on-change="getResult" :results="results" v-model="value" position="absolute" auto-scroll-to-top top="46px" @on-focus="onFocus" @on-cancel="onCancel"></search>
<br>
<group>
<cell title="static position demo" is-link link="/component/search-static"></cell>
Expand All @@ -27,6 +27,9 @@ export default {
},
onFocus () {
console.log('on focus')
},
onCancel () {
console.log('on cancel')
}
},
data () {
Expand Down
7 changes: 5 additions & 2 deletions src/demos/SearchStatic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<div>
<img src="../assets/demo/filter_bg.jpg" style="width: 100%">
<br>
<search @on-submit="onSubmit" :auto-fixed="autoFixed" @on-focus="onFocus"></search>
<search @on-submit="onSubmit" :auto-fixed="autoFixed" @on-focus="onFocus" @on-cancel="onCancel"></search>
<divider>set value</divider>
<search @on-submit="onSubmit" :auto-fixed="false" v-model="value2" @on-focus="onFocus"></search>
<search @on-submit="onSubmit" :auto-fixed="false" v-model="value2" @on-focus="onFocus" @on-cancel="onCancel"></search>
</div>
</template>

Expand All @@ -26,6 +26,9 @@ export default {
onSubmit (val) {
window.alert('on submit' + val)
},
onCancel () {
console.log('on cancel')
},
onFocus () {
console.log('on focus')
}
Expand Down

0 comments on commit 58ba171

Please sign in to comment.