|
|
|
@ -204,5 +204,16 @@ Page({
|
|
|
|
|
}, |
|
|
|
|
calendarSelectedDate(e) { |
|
|
|
|
console.log(e) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 回到今天
|
|
|
|
|
todayFun(){ |
|
|
|
|
this.setData({ |
|
|
|
|
year: moment().format('YYYY'), |
|
|
|
|
month:moment().format('MM'), |
|
|
|
|
timer : moment().format('YYYY-MM-DD'), |
|
|
|
|
calendarDisplayTime: moment().format('YYYY-MM-DD'), |
|
|
|
|
}) |
|
|
|
|
this.onShow(); |
|
|
|
|
}, |
|
|
|
|
}) |