admin
2020-12-19 84920ada00d69565bef33e7e31bc32b426ec5dc3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
var help = require('../../util/help.js');
Page({
  data: {
    showStatistic: true,
    currentType: 1,
    showLoading: true,
    rankList: [{ rank: 1 }, { rank: 3 }, {}, {}, {}],
    joinerList: [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}],
    joinerHasMore: true
  },
  onLoad() {
    help.setPageNavBar("参与统计");
  },
  changeNav(event) {
    var type = help.getEventParam(event, "type");
    type = parseInt(type);
    if (type == this.data.currentType)
      return;
    console.log(type);
    this.setData({
      currentType: type
    });
  },
  onMoreJoiner() {
    console.log("加载更多参与者信息");
  },
  onStatisticClose() {
    this.setData({
      showStatistic: false
    });
  }
});