2025-04-28 07:59:21 +00:00
|
|
|
// pages/mypage/mypage.js
|
|
|
|
Page({
|
|
|
|
|
2025-05-11 07:12:01 +00:00
|
|
|
|
2025-04-28 07:59:21 +00:00
|
|
|
data: {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
2025-05-11 07:12:01 +00:00
|
|
|
myteam(){
|
|
|
|
wx.navigateTo({
|
|
|
|
url: '/pages/wodetuandui/wodetuandui',
|
|
|
|
})
|
|
|
|
},
|
2025-04-28 07:59:21 +00:00
|
|
|
onLoad(options) {
|
2025-05-11 07:12:01 +00:00
|
|
|
|
2025-04-28 07:59:21 +00:00
|
|
|
},
|
|
|
|
onReady() {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onShow() {
|
2025-05-11 07:12:01 +00:00
|
|
|
const that = this
|
|
|
|
wx.getStorage({
|
|
|
|
key: "usermessage",
|
|
|
|
success(res) {
|
|
|
|
console.log(res.data,'aslkdjas');
|
|
|
|
const userInfo = res.data
|
|
|
|
that.setData({
|
|
|
|
nickName : userInfo.nickName,
|
|
|
|
phoneNumber: userInfo.phoneNumber,
|
|
|
|
invitationCode:userInfo.invitationCode,
|
|
|
|
userAvatar:userInfo.userAvatar
|
|
|
|
});
|
|
|
|
}
|
|
|
|
})
|
2025-04-28 07:59:21 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
onHide() {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onUnload() {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onPullDownRefresh() {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onReachBottom() {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onShareAppMessage() {
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|