摘要:
// 时间的计算 time是差值 var chazhi = this.now - this.$moment(this.createTime).unix(); transTime(time) { if (time "") { return ""; } else { time = time * 1000 阅读全文
摘要:
function getLocalTime(nS) { var d = new Date(parseInt(nS)* 1000); //根据时间戳生成的时间对象 var date = (d.getFullYear()) + "-" + (d.getMonth() + 1) + "-" + (d.ge 阅读全文