From ba2a6cd54676f752584d547445cd0baf2d5a36c5 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期五, 01 八月 2025 16:03:30 +0800 Subject: [PATCH] 文本框限宽,水平居中 --- packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js b/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js index e724c1b..f392248 100644 --- a/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js +++ b/packageBookService/pages/bookServices/examination/components/joinGroupDialog/index.js @@ -9,6 +9,10 @@ }, ready() { var that = this; + const isJoinClass = wx.getStorageSync('joinClass') + that.setData({ + noTip: isJoinClass + }) // 鍔ㄦ�佽幏鍙栧睆骞曢珮搴� wx.getSystemInfo({ success: (result) => { @@ -47,6 +51,14 @@ }) }, + // 涓嶅啀鎻愮ず鍔犲叆鐝骇 + onChangeshow(e) { + wx.setStorageSync('joinClass', e.detail.checked) + this.setData({ + noTip: e.detail.checked + }) + }, + // 杈撳叆妗嗘敼鍙� inputChange(e) { this.setData({ -- Gitblit v1.9.1