fix(goods search): 修复搜索框点击区域问题
将搜索触发事件从整个搜索盒移动到搜索图标上,避免点击输入框时误触发搜索
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
<view :style="themeColor">
|
<view :style="themeColor">
|
||||||
<view class="content" :style="tabBarPagePaddingStyle">
|
<view class="content" :style="tabBarPagePaddingStyle">
|
||||||
<view class="cate-search">
|
<view class="cate-search">
|
||||||
<view class="search-box" @tap.stop="search()">
|
<view class="search-box">
|
||||||
<input class="uni-input" maxlength="50" v-model="inputValue" confirm-type="search" @focus="inputFocus" focus @confirm="search()" @tap="search()" :placeholder="searchWords ? searchWords : ''" />
|
<input class="uni-input" maxlength="50" v-model="inputValue" confirm-type="search" @focus="inputFocus" focus :placeholder="searchWords ? searchWords : ''" />
|
||||||
<text class="iconfont icon-sousuo3"></text>
|
<text class="iconfont icon-sousuo3" @tap.stop="search()"></text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="search-content">
|
<view class="search-content">
|
||||||
|
|||||||
Reference in New Issue
Block a user