摘要:
/** * 获取最近3天日期 * @param {*} day */ getDay: function (day) { var that = this; var today = new Date(); var targetday_milliseconds = today.getTime() + 10 阅读全文
摘要:
drawText: function (ctx, str, leftWidth, initHeight, titleHeight, canvasWidth) { var lineWidth = 0; var num = 1; var lastSubStrIndex = 0; //每次开始截取的字符串 阅读全文