Commit 63d9e4fdf919776f087e352ad197000800edf1a0
1 parent
13286e8f
积分够自动获取焦点
Showing
1 changed file
with
2 additions
and
1 deletions
packageA/pages/jfbuy/jfbuy.wxml
... | ... | @@ -81,7 +81,8 @@ |
81 | 81 | <view class="s_box"> |
82 | 82 | <view class="pdh20 pdv10 flex ai_c jc_sb"> |
83 | 83 | <view class="input-box"> |
84 | - <input class="input-search" name="word" placeholder="请输入商品关键字" bindconfirm="submitSearch" bindinput="getInput" bindfocus="inputFocus" value="{{keyword}}"/> | |
84 | + <input class="input-search" name="word" placeholder="请输入商品关键字" | |
85 | + bindconfirm="submitSearch" bindinput="getInput" focus="{{focus}}" value="{{keyword}}"/> | |
85 | 86 | <text class="iconfont icon-guan" hidden="{{hiddenClear}}" catchtap="clearInput"></text> |
86 | 87 | </view> |
87 | 88 | <button catchtap="close_layer" class="btn" hover-class="none">取消</button> | ... | ... |