<form action=""> 用户名:<input type="text" name="userName" id="userName"><br> 电话:<input type="tel" name="userPhone" id="userPhone" pattern="^1\d{10}$"> < ...
分类:
Web程序 时间:
2018-12-13 22:18:05
阅读次数:
192
name = [] tel = [] while True: print('==通讯录管理系统==') print('1.增加姓名和手机') print('2.删除姓名') print('3.修改手机') print('4.查询所有用户') print('5.根据姓名查找手机号') ... ...
分类:
移动开发 时间:
2018-12-10 17:59:55
阅读次数:
459
/** * Spring MVC 会按请求参数名和 POJO 属性名进行自动匹配, 自动为该对象填充属性值。支持级联属性。 * 如:dept.deptId、dept.address.tel 等 */ @RequestMapping("/testPojo") public String testPoj... ...
分类:
编程语言 时间:
2018-12-08 19:12:37
阅读次数:
110
字典常用操作 键值对,冒号前面是键,后面跟的是值,用大括号来包裹数据 键必须是唯一的,但值则不必。 值可以取任何数据类型,但键必须是不可变的,如字符串,数字或元组。创建字典 >>> dic={'name':'heygor','tel':18028768679} >>> dic2={'name':'Q ...
分类:
编程语言 时间:
2018-12-01 12:58:45
阅读次数:
298
Problem Description The WHU ACM Team has a big cup, with which every member drinks water. Now, we know the volume of the water in the cup, can you tel ...
分类:
其他好文 时间:
2018-11-16 10:30:20
阅读次数:
217
1.去除字符串所有的空格 str.replace(/\s/g,'') 2.判断是否符合手机号码 let reg = /^1[3|4|5|7|8][0-9]{9}$/; let phone = parseInt(tel); reg.test(phone) let phone = parseInt(te ...
分类:
其他好文 时间:
2018-11-15 13:48:41
阅读次数:
176
1、语义标签 比如 header、nav、footer、section等 2、input表单增强 比如 date日期选择 time时间选择 search搜索 tel电话 url地址 3、视频音频 audio video 4、canvas绘图 5、SVG绘图 6、地理位置 7、拖放API 比如 拖放文 ...
分类:
Web程序 时间:
2018-11-13 02:56:36
阅读次数:
222
一. model的知识点 1 class UserInfo(AbstractUser): 2 tel=models.CharField(max_length=32) 3 gender=models.IntegerField(choices=((1,"男"),(2,"女")),default=1) 4 ...
分类:
其他好文 时间:
2018-11-06 22:38:15
阅读次数:
182
一、路由器版本及登录方式介绍 二、登录方式代码 要求: 1.console口进入操作界面必须接对口 2.HTTP登录时,登录名称是CISCO路由器名,密码是登录Telnet密码 3.Telnet登录必须在网卡网段与远方设备需同一网段 连线结构如右: C3电脑绑定了实际物理网卡,在路由器没有设置Tel ...
分类:
系统相关 时间:
2018-10-07 00:39:36
阅读次数:
279
<head>里面加上:<meta name="format-detection" content="telephone=yes"/> 需要拨打电话的地方:<a href="tel:400-0000-688">400-0000-688</a> 发短信:<a href="sms:18688888888" ...
分类:
移动开发 时间:
2018-09-29 16:49:02
阅读次数:
265