|
@@ -20,6 +20,9 @@ import {
|
|
|
|
|
|
import httpRequestApi from '../../utils/APIClient';
|
|
|
import httputil from '../../utils/httpUtil';
|
|
|
+import {
|
|
|
+ GetQueryString
|
|
|
+} from '../../utils/util';
|
|
|
|
|
|
Page({
|
|
|
data: {
|
|
@@ -78,7 +81,7 @@ Page({
|
|
|
templates
|
|
|
});
|
|
|
if (myIndex == 0) {
|
|
|
-
|
|
|
+
|
|
|
groupInit(this);
|
|
|
}
|
|
|
if (myIndex == 1) {
|
|
@@ -105,9 +108,18 @@ Page({
|
|
|
}
|
|
|
},
|
|
|
onLoad: function (options) {
|
|
|
- console.log(options)
|
|
|
- this.uid = wx.getStorageSync('uid');
|
|
|
|
|
|
+ this.uid = wx.getStorageSync('uid');
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
wx.getSystemInfo({
|
|
|
success: (res) => {
|
|
|
this.setData({
|
|
@@ -161,7 +173,7 @@ Page({
|
|
|
},
|
|
|
|
|
|
onReachBottom: function () {
|
|
|
-
|
|
|
+
|
|
|
|
|
|
if (this.data.myIndex === 1) {
|
|
|
console.log(this.data.recommendPageNo)
|
|
@@ -196,6 +208,6 @@ Page({
|
|
|
wx.startPullDownRefresh();
|
|
|
setTimeout(() => {
|
|
|
wx.stopPullDownRefresh()
|
|
|
- },10)
|
|
|
+ }, 10)
|
|
|
}
|
|
|
})
|