This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
[门店搜索][修改]:[修改门店搜索]
tags/C.10.02
meo
5 years ago
parent
b4899983ec
commit
aa84cb5c2a
3 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
pages/searchbar/searchbar.js
+1
-1
pages/searchbar/searchbar.wxml
+0
-1
pages/searchbar/searchbar.wxss
+ 0
- 2
pages/searchbar/searchbar.js
View File
@@ -160,8 +160,6 @@ Component({
this.triggerEvent('clear');
},
inputFocus: function inputFocus(e) {
debugger;
this.triggerEvent('focus', e.detail);
},
inputBlur: function inputBlur(e) {
+ 1
- 1
pages/searchbar/searchbar.wxml
View File
@@ -9,7 +9,7 @@
搜索
</view>
</picker>
<view class="weui-icon-clear" wx:if="{{value.length > 0}}" bindtap="clearInput">
<view class="weui-icon-clear" wx:if="{{value.length > 0}}" bindtap="clearInput"
style="z-index:500000;"
>
<icon type="clear" size="12"></icon>
</view>
</view>
+ 0
- 1
pages/searchbar/searchbar.wxss
View File
@@ -9,5 +9,4 @@
bottom: 0;
margin: auto;
color: transparent;
border: 1px solid #07C160;
}
Write
Preview
Loading…
Cancel
Save