Loading

Loading

摘要: const ipt = document.querySelector('#ipt') ipt.oninput = (e) => { const v = (e.target.value + '').replace(/\D/g, '') const r = v.replace(/^(\d{3})/, ' 阅读全文
posted @ 2022-06-22 00:17 灰色的修饰 阅读(40) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> body { background: #f5f5fe; } .container { width: 400px; margin: 150px au 阅读全文
posted @ 2022-06-22 00:14 灰色的修饰 阅读(26) 评论(0) 推荐(0) 编辑