|
@@ -25,7 +25,6 @@ Page({
|
|
|
},
|
|
|
// 关闭信件
|
|
|
closeLetter() {
|
|
|
- console.log('1')
|
|
|
this.setData({
|
|
|
letterStatus: true
|
|
|
})
|
|
@@ -62,7 +61,6 @@ Page({
|
|
|
url: app.globalData.publicUrl + '/wx/member/' + this.data.openid + '/actives',
|
|
|
method: "get",
|
|
|
success: (res) => {
|
|
|
- console.log(res)
|
|
|
if (res.data.code == 0) {
|
|
|
this.setData({
|
|
|
arr: res.data.actives
|
|
@@ -97,20 +95,15 @@ Page({
|
|
|
})
|
|
|
},
|
|
|
getletterStauts() {
|
|
|
- console.log(wx.getStorageSync('letterStatus'))
|
|
|
if (wx.getStorageSync('letterStatus') == true) {
|
|
|
- console.log('我缓存里有值是1')
|
|
|
this.setData({
|
|
|
letterStatus: true
|
|
|
})
|
|
|
- // this.closeLetter();
|
|
|
} else {
|
|
|
- console.log('我没有缓存、')
|
|
|
this.setData({
|
|
|
letterStatus: false
|
|
|
})
|
|
|
}
|
|
|
- console.log(this.data.letterStatus)
|
|
|
},
|
|
|
getInfos() {
|
|
|
wx.request({
|
|
@@ -125,7 +118,6 @@ Page({
|
|
|
}else{
|
|
|
sex1='男'
|
|
|
}
|
|
|
- console.log(sex1)
|
|
|
this.setData({
|
|
|
myInfo: res.data.info,
|
|
|
[config]:JSON.stringify({
|
|
@@ -158,7 +150,6 @@ Page({
|
|
|
])
|
|
|
})
|
|
|
})
|
|
|
- console.log(this.data.ysf.config)
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -183,7 +174,6 @@ Page({
|
|
|
this.setData({
|
|
|
userInfo:JSON.parse(res.rawData)
|
|
|
})
|
|
|
- console.log(this.data.userInfo)
|
|
|
}).catch(err => {
|
|
|
console.log(err)
|
|
|
})
|