timer() {
this.time 为后端返回的时间戳
this.m = parseInt((this.time % (1000 * 60 * 60)) / (1000 * 60));
this.s = parseInt((this.time % (1000 * 60)) / 1000);
const times = setInterval(() => {
this.s--;
if (this.s < 10) this.s = `0${this.s}`;
if (this.s === "00") {
this.s = 59;
this.m--;
if (this.m < 10) this.m = `0${this.m}`;
if (this.m === "00" && this.s === "00") clearTimeout(times);
}
}, 1000);
},