//index.js //获取应用实例 const app = getApp() Page({ data: { showMore: false, //更多 show: false, notice: "通知通知我是通知通知通知我是通知通知通知我是通知通知通知我是通知", "spxxArr": [{ "isfinish": "/images/unfinish.png", "spfm": "/images/spfm.jpg", "iszburl": "/images/zb.png", "name": "一期素质教育培训", "startdate": "6月9日", "starttime": "19:30", "isstartstudy": "/images/startstudy.png", "isdtxs": "/images/dtxs.png", "ispjkc": "/images/pjkc.png" }, { "isfinish": "/images/finish.png", "spfm": "/images/spfm.jpg", "iszburl": "/images/db.png", "name": "一期素质教育培训", "startdate": "6月9日", "starttime": "19:30", "isstartstudy": "/images/startstudy.png", "isdtxs": "/images/dtxs.png", "ispjkc": "/images/pjkc.png" }, { "isfinish": "/images/unstart.png", "spfm": "/images/spfm.jpg", "iszburl": "/images/db.png", "name": "一期素质教育培训", "startdate": "6月9日", "starttime": "19:30", "isstartstudy": "/images/startstudy.png", "isdtxs": "/images/dtxs.png", "ispjkc": "/images/pjkc.png", }, { "isfinish": "/images/unstart.png", "spfm": "/images/spfm.jpg", "iszburl": "/images/db.png", "name": "一期素质教育培训", "startdate": "6月9日", "starttime": "19:30", "isstartstudy": "/images/startstudy.png", "isdtxs": "/images/dtxs.png", "ispjkc": "/images/pjkc.png" }, { "isfinish": "/images/unstart.png", "spfm": "/images/spfm.jpg", "iszburl": "/images/db.png", "name": "一期素质教育培训", "startdate": "6月9日", "starttime": "19:30", "isstartstudy": "/images/startstudy.png", "isdtxs": "/images/dtxs.png", "ispjkc": "/images/pjkc.png" }, { "isfinish": "/images/unstart.png", "spfm": "/images/spfm.jpg", "iszburl": "/images/db.png", "name": "一期素质教育培训", "startdate": "6月9日", "starttime": "19:30", "isstartstudy": "/images/startstudy.png", "isdtxs": "/images/dtxs.png", "ispjkc": "/images/pjkc.png" } ], "myactiveArr": [{ "name": "现场体验:长山花园社区", "cysj": "2020/06/20 07:09", "cyry": "全体人员", }, { "name": "实战演练:党建工作实务", "cysj": "2020/06/21 07:09", "cyry": "全体人员", }, { "name": "现场体验:青岛路社区", "cysj": "2020/06/22 07:09", "cyry": "全体人员", } ] }, // showPopup() { // }, // 更多 listToggle: function () { this.setData({ showMore: !this.data.showMore }) }, hidePopup() { this.setData({ show: false }); }, myactiveMore() { wx.navigateTo({ url: '../myActive/myActive' }) }, gokhAnswer() { wx.navigateTo({ url: '../answerAfterclass/answerAfterclass' }) }, gopjClass() { wx.navigateTo({ url: '../evaluationCourse/evaluationCourse' }) }, goMyPoints() { wx.navigateTo({ url: '../myPoints/myPoints' }) }, goactiveDetails() { wx.navigateTo({ url: '../myactiveDetails/myactiveDetails' }) }, lq() { wx.showToast({ title: '领取成功' }) }, goWrite(){ wx.navigateTo({ url: '../studentRegistration/studentRegistration' }) }, goWrite2(){ wx.navigateTo({ url: '../feedBack/feedBack' }) }, onReady: function () {}, onLoad: function () { }, onShow: function () { this.setData({ show: true }); } })