<input  
  name="search" 
  type='text' 
  confirm-type="search" 
  bindconfirm="bindconfirm"  
  focus='{{focus}}' 
  bindinput='bindinput' ></input>
// 点击键盘上的搜索
  bindconfirm:function(e){
    var that=this;
    var discountName=e.detail.value['search - input'] ?e.detail.value['search - input'] : e.detail.value 
    console.log('e.detail.value', discountName)
  },