摘要:
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
灰色的修饰
阅读(48)
评论(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
灰色的修饰
阅读(37)
评论(0)
推荐(0)

浙公网安备 33010602011771号