Browse Source

search tips

featrue/v4.5
xpz2018 4 years ago
parent
commit
7d814c1362
2 changed files with 4 additions and 0 deletions
  1. 3
      pages/mall/search-list/index.js
  2. 1
      pages/mall/search-list/index.json

3
pages/mall/search-list/index.js

@ -58,6 +58,9 @@ Page({
this.setData({ visible: true })
}
},
onClose: function(){
this.setData({ visible: false })
},
flodKeybord: function(){
if(this.data.keyIndex > 0 && this.data.keyIndex == 2){
this.setData({keyIndex : 1, searchList: rearchStringList.slice(0, limit), focus: true})

1
pages/mall/search-list/index.json

@ -7,6 +7,7 @@
"order-item": "/pages/agent/order-item/index",
"agent-item": "/pages/agent/agent-item/index",
"moment-item": "/pages/moment/moment-item/index",
"wux-image": "/components/image/index",
"wux-popup": "/components/popup/index"
}
}
Loading…
Cancel
Save