diff --git a/pages/firstBill/index.js b/pages/firstBill/index.js index 2898825..55b163e 100644 --- a/pages/firstBill/index.js +++ b/pages/firstBill/index.js @@ -661,6 +661,19 @@ Page({ this.data.storeJobListSearchForm.keys = ""; this.getJobList('search'); }, + bindconfirm: function (e){ + if (!this.data.isLogin) { + wx.navigateTo({ + url: "../login/index", + }); + return; + } + console.log(e); + this.data.recordList = []; + this.data.storeJobListSearchForm.pageNum = 1; + this.data.storeJobListSearchForm.keys = e.detail.value; + this.getJobList('search'); + }, inputTyping: function (e) { this.setData({ inputVal: e.detail.value, diff --git a/pages/firstBill/index.wxml b/pages/firstBill/index.wxml index b528d5d..4d66301 100644 --- a/pages/firstBill/index.wxml +++ b/pages/firstBill/index.wxml @@ -30,6 +30,7 @@ value="{{inputVal}}" class="f14" bindinput="inputTyping" + bindconfirm="bindconfirm" placeholder="" catchblur placeholder-class="f14"