From b19ef36fae9fa42f8fa87bce77dc895ce96eb673 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Mon, 17 Feb 2025 16:27:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/firstBill/index.js | 13 +++++++++++++ pages/firstBill/index.wxml | 1 + 2 files changed, 14 insertions(+) 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"