From 80cee152c8c7f314d43a05ae1994aeeecd28b08a Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 20 九月 2024 18:35:47 +0800 Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master --- packageDomain/pages/publickBookForm/index.js | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/packageDomain/pages/publickBookForm/index.js b/packageDomain/pages/publickBookForm/index.js index e0c1a1c..fbdf23d 100644 --- a/packageDomain/pages/publickBookForm/index.js +++ b/packageDomain/pages/publickBookForm/index.js @@ -35,7 +35,8 @@ }, phoneError: false, emailError: false, - loading: false + loading: false, + isKeyboard: false }, /** @@ -77,6 +78,21 @@ */ onUnload() { + }, + + scroll() { + // 鐩戝惉瑙嗗浘婊氬姩锛屾墜鍔ㄦ敹璧烽敭鐩� + if (this.data.isKeyboard) { + wx.hideKeyboard() + } + }, + // 鐩戝惉閿洏寮硅捣鍜屾敹璧� + bindkeyboardheightchange(e) { + // 閿洏楂樺害 + const height = e.detail.height; + this.setData({ + isKeyboard: height ? true : false + }) }, //鑾峰彇瀛楁 getType() { @@ -302,6 +318,7 @@ "teacherInfo.targetReaders": '', "teacherInfo.topicImpactAndExpected": '', "teacherInfo.topicProgress": '', + "teacherInfo.topicFeatures": '', "teacherInfo.marketAnalysis": '', "teacherInfo.marketingAndPromotionPlan": '', "teacherInfo.digitalResourceDevelopmentPlan": '', -- Gitblit v1.9.1