getdate() {
var that = this;
let date = new Date();
if (date.getHours() >= 0 && date.getHours() < 12) {
that.daytype = 0 //上午
} else if (date.getHours() >= 12 && date.getHours() < 18) {
that.daytype = 1 //下午
} else {
that.daytype = 2 //晚上
}
}