From 6a7e1f5b8a08728860140652d442209f810d58e1 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 01 四月 2024 16:12:21 +0800 Subject: [PATCH] 问题修改 --- packageDomain/pages/teacherCertification/index.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/packageDomain/pages/teacherCertification/index.js b/packageDomain/pages/teacherCertification/index.js index 9ed9576..4a146d5 100644 --- a/packageDomain/pages/teacherCertification/index.js +++ b/packageDomain/pages/teacherCertification/index.js @@ -45,6 +45,7 @@ editState: true, reasonTxt: "", reasonTxtShow: false, + skeletonLoding: true, }, /** @@ -99,7 +100,8 @@ if (res) { this.getType() this.setData({ - userId: res.userId + userId: res.userId, + skeletonLoding: true, }) let nickNameData = res.infoList.find((item) => item.type == 'nickName') let teacherRole = res.roleLinks.find((item) => item.role.refCode == 'teacher') @@ -185,6 +187,7 @@ topicId: resData.id, topicMessageList: resData.cmsItemDataList, teachText: info.positionalTitle, + skeletonLoding: false, }) if (resData.feedBack != null) { that.setData({ @@ -355,6 +358,14 @@ // 涓婁紶鍥剧墖浜嬩欢 chooseImg(e) { var that = this; + if (that.data.imgPics.length == 4) { + wx.showToast({ + title: "宸ヤ綔璇佹枃浠朵笉瓒呰繃5涓紒", + icon: 'none', + duration: 1000, + }) + return + } wx.chooseMedia({ count: 1, sizeType: ['original', 'compressed'], // 鍙互鎸囧畾鏄師鍥捐繕鏄帇缂╁浘锛岄粯璁や簩鑰呴兘鏈� -- Gitblit v1.9.1