|
@@ -142,7 +142,7 @@ Page({
|
|
|
}
|
|
|
|
|
|
/* 关注和我的需要登陆后查看 */
|
|
|
- console.log(this.data.isLogin,'zzzzzzzzz');
|
|
|
+ console.log(this.data.isLogin, 'zzzzzzzzz');
|
|
|
if (!this.data.isLogin) {
|
|
|
wx.navigateTo({
|
|
|
url: `../../pages/login/login?index=${myIndex}`
|
|
@@ -187,8 +187,6 @@ Page({
|
|
|
})
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
showPage: function () {
|
|
|
let options = this.data.options;
|
|
@@ -299,7 +297,6 @@ Page({
|
|
|
* 活动统计
|
|
|
*/
|
|
|
if (options.activity) {
|
|
|
- console.log('统计')
|
|
|
httpRequestApi.shareAddHotAmount(options.readId).success(res => {
|
|
|
console.log(res)
|
|
|
})
|
|
@@ -359,9 +356,6 @@ Page({
|
|
|
}, (error) => {
|
|
|
console.log('获取失败', error)
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
this.uid = wx.getStorageSync('uid');
|
|
|
if (options.sid) {
|
|
|
httpRequestApi.getUserRec(options.sid).success(res => {
|
|
@@ -371,18 +365,9 @@ Page({
|
|
|
} else {
|
|
|
this.shareGetPage(options)
|
|
|
}
|
|
|
- // if (!this.uid || !grade) {
|
|
|
- // this.setData({
|
|
|
- // isGradeShow: true,
|
|
|
- // options
|
|
|
- // })
|
|
|
- // console.log('没有uid 也不是游客,需要去授权')
|
|
|
- // return;
|
|
|
- // }
|
|
|
wx.getSystemInfo({
|
|
|
success: (res) => {
|
|
|
console.log('系统', res)
|
|
|
-
|
|
|
console.log('nextMargin', res.pixelRatio)
|
|
|
console.log('windowHeight', res.windowHeight)
|
|
|
console.log('windowWidth', res.windowWidth)
|