import common from '../../utils/util'; import main from '../../utils/main'; import animation from '../../utils/animation'; const app = getApp(); Page({ data: { IsShowRemind:false, }, onLoad: function (options) { let that = this; that.setData({ Containnerheight: main.getWindowHeight(), }); that.getData(app.globalData.userInfo.UserID); main.checkGenerating(); }, getData:function(userID){ wx.showLoading({ title: '请稍候', }); let that=this; main.getData('GetYJBDCArticleList?UserID=' + userID, function (data) { wx.hideLoading(); if (data) { for(let i=0;i { if (res.confirm) { if (res.content) that.getData(res.content); } } }) } }, onShareAppMessage: function () { return { title: app.globalData.ShareTitle, path: app.globalData.SharePath + '?UserID=' + app.globalData.userInfo.UserID, imageUrl: app.globalData.ShareImage, } }, })