摘要: nav{width: 100%;height: 50px;background: black} ul{list-style: none;background: lightblue;height:100%; margin: 0 auto;display: flex;justify-content: s 阅读全文
posted @ 2021-12-26 22:06 Exercise 阅读(60) 评论(0) 推荐(0)
摘要: app.get('/child',function(req,res) { const dataX=req.query.id const data=dataX ? eval('('+dataX+')'):{create_at:1} res.render('child.html',{data})}) 阅读全文
posted @ 2021-12-26 21:42 Exercise 阅读(22) 评论(0) 推荐(0)
摘要: app.post('/login',function(req,res){ console.log(req.body) if(req.body.name==''&&req.body.tell=='') { console.log(req.query.name) console.log(req.quer 阅读全文
posted @ 2021-12-26 20:41 Exercise 阅读(174) 评论(0) 推荐(0)
摘要: app.get('/child',function(req,res) {res.render('child.html',{data})}) 阅读全文
posted @ 2021-12-20 09:03 Exercise 阅读(27) 评论(0) 推荐(0)
摘要: function snow() { // var documentHieght=725+'px'; // 1、定义一片雪花模板 var flake = document.createElement('div'); // 雪花字符 ❄❉❅❆✻✼❇❈❊✥✺ flake.innerHTML = '❅'; 阅读全文
posted @ 2021-12-20 09:01 Exercise 阅读(42) 评论(0) 推荐(0)
摘要: 本人迷惑,随意解读一下 两者的不同 console.log(req.query) 的输出结果{ account: '123456' } console.log(req.query.account) 的输出结果 123456 阅读全文
posted @ 2021-12-08 22:58 Exercise 阅读(44) 评论(0) 推荐(0)
摘要: 1.打开终端初始化 npm init - y 2.中间的express之前讲过了,可供参考 3.下载jQuery,npm i jquery 4.在HTML文件中引入 <script src="node_modules/jquery/dist/jquery.min.js"></script>,路径可能 阅读全文
posted @ 2021-12-08 22:44 Exercise 阅读(127) 评论(0) 推荐(0)
摘要: const div1=document.getElementById('div1')//js获取dom $('#div1')//jquery获取dom // js dom和jq dom可以相互转换 console.log($(div1))//js dom ==>jq dom console.log( 阅读全文
posted @ 2021-12-08 22:37 Exercise 阅读(30) 评论(0) 推荐(0)
摘要: public class Test9 { public static void main(String[] args) { int x, y, z; // 声明三个变量 System.out.print("请输入一个数:"); Scanner input = new Scanner(System.i 阅读全文
posted @ 2021-12-05 17:59 Exercise 阅读(61) 评论(0) 推荐(0)
摘要: 如果函数会存在执行间隔极短的情况,我们在处理代码时,需要再下一次代码执行前清楚上一次代码的,clearInterval是清楚函数,这样以免函数嵌套 阅读全文
posted @ 2021-12-05 17:54 Exercise 阅读(73) 评论(0) 推荐(0)