jufubao-base 1.0.283 → 1.0.285

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.283",
3
+ "version": "1.0.285",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -70,6 +70,8 @@
70
70
  class="search_input"
71
71
  :value="keyword"
72
72
  @input="handleInput"
73
+ @blur="handleBlur"
74
+ @focus="handleFocus"
73
75
  @click="toSearch"
74
76
  :placeholder-style="'color:' + inputTextColor"
75
77
  />
@@ -295,6 +297,12 @@
295
297
  document.querySelector('.xd-Layout__top').style.zIndex = 149099;
296
298
  }
297
299
  },
300
+ handleFocus(){
301
+ jfbRootFnExec(this, 'onCustomEvent')("baseHeader@focus");
302
+ },
303
+ handleBlur(){
304
+ jfbRootFnExec(this, 'onCustomEvent')("baseHeader@blur");
305
+ },
298
306
  handleInput(e){
299
307
  this.keyword = e.detail.value;
300
308
  //如果有搜索按钮,则不自动执行搜索