/**时间转化 */ getDateStr(seconds) { var date = new Date(seconds) var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); var hour = date.getHours() < 10 ? "0" + date.getHours() : date.getHours(); var minute = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes(); var second = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds(); var currentTime = year + "-" + month + "-" + day + " " + hour + ":" + minute + ":" + second; return currentTime },
站长微信:xiaomao0055
站长QQ:14496453