litian
2024-04-02 a9abe435bdc23bda340c84f45deb363eccf907a7
个人中心
3个文件已修改
17 ■■■■■ 已修改文件
packageDomain/pages/teacherCertification/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/personalCenter/index.js 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/personalCenter/index.wxss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/teacherCertification/index.js
@@ -225,6 +225,10 @@
            }
          }
        } else {
          that.setData({
            skeletonLoding: false,
          });
        }
      } catch (error) {}
    })
pages/personalCenter/index.js
@@ -156,7 +156,7 @@
      })
    } else {
      this.setData({
        currAuthStep: 1,
        currAuthStep: 3,
      });
      this.getUserInfo()
    }
@@ -186,7 +186,7 @@
          this.setData({
            userTypeActive: JSON.parse(userTypeData.data).userType,
          });
          type = userTypeList.find((item) => item.value === this.data.userTypeActive)?.lable;
          type = this.data.userTypeList.find((item) => item.value === this.data.userTypeActive)?.lable;
        } else {
          type = ''
        }
@@ -224,10 +224,11 @@
          });
        } else if (secretData) {
          defaultUser = {
            nickName: secretData.credential,
            icon: "",
            nickName: nickNameData && JSON.parse(nickNameData.data).nickName ? JSON.parse(nickNameData.data).nickName : secretData.credential,
            icon: nickNameData && JSON.parse(nickNameData.data).icon != "" ? JSON.parse(nickNameData.data).icon : "",
            userId: res.userId,
            role: "Student"
            role: "Student",
            userType: type,
          }
          this.setData({
            currAuthStep: 3,
pages/personalCenter/index.wxss
@@ -149,7 +149,7 @@
  background: #fff;
  border-top-left-radius: 16rpx;
  border-top-right-radius: 16rpx;
  margin-bottom: 100rpx;
  margin-bottom: calc(env(safe-area-inset-bottom) + 88rpx);
}
.block .header {