//获取时间
  getDateTime(e) {
    let timeArr = e.detail.value.split('-')
    let year = parseInt(timeArr[0])
    let month = parseInt(timeArr[1])
    this.setData({
      showTime: `${year}年${month}月`
    })
    let date = new Date(year, month, 0);
    //月份减1
    let start_time = new Date(year, month - 1, 1).valueOf() / 1000;
    let end_time = new Date(year, month - 1, date.getDate()).valueOf() / 1000 + 24 * 60 * 60;
    this.setData({
      start_time,
      end_time
    })
  },