07 2018 档案

摘要:1 # 实现:使用Python实现用户登录,如果用户存在则登录成功(假设该用户已在数据库中) 2 3 4 import pymysql 5 # user = input('请输入用户名:') 6 # 7 # pwd = input('请输入密码:') 8 9 10 11 # 1.连接 12 conn = pymysql.connect(host='127.0.0.1'... 阅读全文
posted @ 2018-07-30 21:31 yuyou123 阅读(203) 评论(0) 推荐(0) 编辑
摘要:1 1.先引入jquery的包 2 2.入口函数 3 $(document).ready() 4 5 $(function(){}) 6 3.jquery的选择器 7 8 $('ul li:eq(1)') 过滤 9 10 筛选选择器$('ul li').silbings() 11 12 属性操作: 阅读全文
posted @ 2018-07-23 22:08 yuyou123 阅读(120) 评论(0) 推荐(0) 编辑
摘要:1.回顾 js 的onload有覆盖现象 this self;;;innerText 要用this,不能用oBoxs[i] 因为var声明的变量,存在变量提升 变量提升,不会取值,报undefined 演示tab选项卡 es6 let声明变量,属于块级作用域 es6阮一峰 资料参考 www.ruan 阅读全文
posted @ 2018-07-20 20:48 yuyou123 阅读(168) 评论(0) 推荐(0) 编辑
摘要:1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title></title> 5 <style> 6 .box1 { 7 width: 200px; 8 height: 200px; 9 background-color: red; 10 /**/ 11 } 12 13 阅读全文
posted @ 2018-07-12 21:48 yuyou123 阅读(163) 评论(0) 推荐(0) 编辑
摘要:1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title>js练习</title> 6 </head> 7 <body> 8 <script type="text/javascript"> 9 // 1.控制台输出:c 阅读全文
posted @ 2018-07-12 21:31 yuyou123 阅读(140) 评论(0) 推荐(0) 编辑
摘要:1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title></title> 5 <style type="text/css" media="screen"> 6 7 div{ 8 width: 200px; 9 height: 200px; 10 11 } 12 .b 阅读全文
posted @ 2018-07-10 21:20 yuyou123 阅读(202) 评论(0) 推荐(0) 编辑
摘要:1 前端课程: 2 3 1.后面要用到 4 2.把前面学习的一些内容(数据)(静态数据) 展示到前端,给用户看 浏览器 5 3.增加交互 6 4.增加用户体验 7 8 前端工程师主要工作: 9 1.html5页面 web移动端页面 10 2.跟后端交互(数据) 11 3.游戏的h5 12 4.切图( 阅读全文
posted @ 2018-07-01 21:37 yuyou123 阅读(110) 评论(0) 推荐(0) 编辑