阿萨德
This commit is contained in:
@ -1,18 +1,13 @@
|
||||
const { checkLogin } = require('../../utils/logcheck');
|
||||
|
||||
import {url} from '../../request'
|
||||
Page({
|
||||
|
||||
|
||||
data: {
|
||||
userAvatar:'https://tse2-mm.cn.bing.net/th/id/OIP-C.jHUH4s7TQ48X_B-1iozuJgHaHa?w=207&h=207&c=7&r=0&o=5&dpr=1.5&pid=1.7',
|
||||
nickName:'请登录'
|
||||
|
||||
},
|
||||
|
||||
myteam(){
|
||||
wx.navigateTo({
|
||||
url: '/pages/wodetuandui/wodetuandui',
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
onLoad(options) {
|
||||
checkLogin();
|
||||
@ -26,19 +21,7 @@ Page({
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
console.log("页面展示 onShow");
|
||||
try {
|
||||
const userInfo = wx.getStorageSync('usermessage');
|
||||
console.log('用户信息:', userInfo);
|
||||
this.setData({
|
||||
nickName: userInfo.nickName || '请登录',
|
||||
phoneNumber: userInfo.phoneNumber || '',
|
||||
invitationCode: userInfo.invitationCode || '',
|
||||
userAvatar: userInfo.userAvatar || 'https://tse2-mm.cn.bing.net/th/id/OIP-C.jHUH4s7TQ48X_B-1iozuJgHaHa?w=207&h=207&c=7&r=0&o=5&dpr=1.5&pid=1.7'
|
||||
});
|
||||
} catch (e) {
|
||||
console.error('读取缓存失败:', e);
|
||||
}
|
||||
|
||||
},
|
||||
wodejiedan(){
|
||||
wx.navigateTo({
|
||||
|
Reference in New Issue
Block a user