01 2022 档案
摘要:默认显示当天的00:00:00 到23:59:59 new Date(new Date().setHours(0, 0, 0, 0)) new Date(new Date().setHours(23, 59, 59, 59)) 默认显示前一天的00:00:00 到23:59:59 new Date(
阅读全文
摘要:const RegexUtils = { /** * 中文验证 */ checkCN(text: string): boolean { if (text) { let regex = /^[\u4E00-\u9FA5]+$/; return regex.test(text.trim()); } el
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <style> .anim-opacity2 { animation: 2s opacity2 0s infinite; -webkit-an
阅读全文