myClass.js 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. //index.js
  2. //获取应用实例
  3. const app = getApp()
  4. Page({
  5. data: {
  6. showMore: false, //更多
  7. show: false,
  8. notice: "通知通知我是通知通知通知我是通知通知通知我是通知通知通知我是通知",
  9. "spxxArr": [{
  10. "isfinish": "/images/unfinish.png",
  11. "spfm": "/images/spfm.jpg",
  12. "iszburl": "/images/zb.png",
  13. "name": "一期素质教育培训",
  14. "startdate": "6月9日",
  15. "starttime": "19:30",
  16. "isstartstudy": "/images/startstudy.png",
  17. "isdtxs": "/images/dtxs.png",
  18. "ispjkc": "/images/pjkc.png"
  19. }, {
  20. "isfinish": "/images/finish.png",
  21. "spfm": "/images/spfm.jpg",
  22. "iszburl": "/images/db.png",
  23. "name": "一期素质教育培训",
  24. "startdate": "6月9日",
  25. "starttime": "19:30",
  26. "isstartstudy": "/images/startstudy.png",
  27. "isdtxs": "/images/dtxs.png",
  28. "ispjkc": "/images/pjkc.png"
  29. }, {
  30. "isfinish": "/images/unstart.png",
  31. "spfm": "/images/spfm.jpg",
  32. "iszburl": "/images/db.png",
  33. "name": "一期素质教育培训",
  34. "startdate": "6月9日",
  35. "starttime": "19:30",
  36. "isstartstudy": "/images/startstudy.png",
  37. "isdtxs": "/images/dtxs.png",
  38. "ispjkc": "/images/pjkc.png",
  39. },
  40. {
  41. "isfinish": "/images/unstart.png",
  42. "spfm": "/images/spfm.jpg",
  43. "iszburl": "/images/db.png",
  44. "name": "一期素质教育培训",
  45. "startdate": "6月9日",
  46. "starttime": "19:30",
  47. "isstartstudy": "/images/startstudy.png",
  48. "isdtxs": "/images/dtxs.png",
  49. "ispjkc": "/images/pjkc.png"
  50. },
  51. {
  52. "isfinish": "/images/unstart.png",
  53. "spfm": "/images/spfm.jpg",
  54. "iszburl": "/images/db.png",
  55. "name": "一期素质教育培训",
  56. "startdate": "6月9日",
  57. "starttime": "19:30",
  58. "isstartstudy": "/images/startstudy.png",
  59. "isdtxs": "/images/dtxs.png",
  60. "ispjkc": "/images/pjkc.png"
  61. },
  62. {
  63. "isfinish": "/images/unstart.png",
  64. "spfm": "/images/spfm.jpg",
  65. "iszburl": "/images/db.png",
  66. "name": "一期素质教育培训",
  67. "startdate": "6月9日",
  68. "starttime": "19:30",
  69. "isstartstudy": "/images/startstudy.png",
  70. "isdtxs": "/images/dtxs.png",
  71. "ispjkc": "/images/pjkc.png"
  72. }
  73. ],
  74. "myactiveArr": [{
  75. "name": "现场体验:长山花园社区",
  76. "cysj": "2020/06/20 07:09",
  77. "cyry": "全体人员",
  78. },
  79. {
  80. "name": "实战演练:党建工作实务",
  81. "cysj": "2020/06/21 07:09",
  82. "cyry": "全体人员",
  83. }, {
  84. "name": "现场体验:青岛路社区",
  85. "cysj": "2020/06/22 07:09",
  86. "cyry": "全体人员",
  87. }
  88. ]
  89. },
  90. // showPopup() {
  91. // },
  92. // 更多
  93. listToggle: function () {
  94. this.setData({
  95. showMore: !this.data.showMore
  96. })
  97. },
  98. hidePopup() {
  99. this.setData({
  100. show: false
  101. });
  102. },
  103. myactiveMore() {
  104. wx.navigateTo({
  105. url: '../myActive/myActive'
  106. })
  107. },
  108. gokhAnswer() {
  109. wx.navigateTo({
  110. url: '../answerAfterclass/answerAfterclass'
  111. })
  112. },
  113. gopjClass() {
  114. wx.navigateTo({
  115. url: '../evaluationCourse/evaluationCourse'
  116. })
  117. },
  118. goMyPoints() {
  119. wx.navigateTo({
  120. url: '../myPoints/myPoints'
  121. })
  122. },
  123. goactiveDetails() {
  124. wx.navigateTo({
  125. url: '../myactiveDetails/myactiveDetails'
  126. })
  127. },
  128. lq() {
  129. wx.showToast({
  130. title: '领取成功'
  131. })
  132. },
  133. goWrite(){
  134. wx.navigateTo({
  135. url: '../studentRegistration/studentRegistration'
  136. })
  137. },
  138. goWrite2(){
  139. wx.navigateTo({
  140. url: '../feedBack/feedBack'
  141. })
  142. },
  143. onReady: function () {},
  144. onLoad: function () {
  145. },
  146. onShow: function () {
  147. this.setData({
  148. show: true
  149. });
  150. }
  151. })