摘要: /** * 获取最近3天日期 * @param {*} day */ getDay: function (day) { var that = this; var today = new Date(); var targetday_milliseconds = today.getTime() + 10 阅读全文
posted @ 2021-10-22 14:53 MiniDuck 阅读(955) 评论(0) 推荐(0) 编辑
摘要: drawText: function (ctx, str, leftWidth, initHeight, titleHeight, canvasWidth) { var lineWidth = 0; var num = 1; var lastSubStrIndex = 0; //每次开始截取的字符串 阅读全文
posted @ 2021-10-22 14:45 MiniDuck 阅读(592) 评论(0) 推荐(0) 编辑