上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: Vue的意义:将开发者的精力从dom操作解脱,更加专注于数据的操作,数据驱动,界面的渲染 随着数据的变化自动变化 1.将开发者的精力从dom中解除, 极少做dom操作 2.通过指令(directive)将元素和数据进行绑定 3.数据变化元素界面变... 阅读全文
posted @ 2018-12-14 20:56 阿宇的编程之旅 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 待办事项: Document + {{item.value... 阅读全文
posted @ 2018-12-11 11:57 阿宇的编程之旅 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Html: Carousel Js:var Carousel = (function () { var liStyle = { //初始化下面的小点样式 width: "20px"... 阅读全文
posted @ 2018-12-08 21:46 阿宇的编程之旅 阅读(428) 评论(0) 推荐(0) 编辑
摘要: token:(引入jsonwebtoken模块)对称加密,一个秘钥进行加密解密const crypto = require('crypto');// 产生tokenlet obj = { a: 1, b: 2,};let sec = 'HelloWorld... 阅读全文
posted @ 2018-12-05 18:01 阿宇的编程之旅 阅读(834) 评论(0) 推荐(0) 编辑
摘要: 较上个版本功能全面,函数模块化,降低联系,bug减少,附上代码:Html: Document ... 阅读全文
posted @ 2018-12-04 20:09 阿宇的编程之旅 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 初级版轮播图,实现左右按钮切换图片,下方小点切换图片,简单的自动轮播代码:(缺点,固定图片张数和宽度高度,每次用时都需要复制,代码累赘,多处功能不完善)Html: Page Title ... 阅读全文
posted @ 2018-12-04 14:53 阿宇的编程之旅 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 需要引入的模块和框架:JQ,monogoDB,mongoose模块,express模块,nodemailer模块,cors模块,multer模块,body-parser模块。文件夹(大致)结构如下:css:主页样式;get_pic: 临时文件存放;img:默认头像路径... 阅读全文
posted @ 2018-12-03 17:35 阿宇的编程之旅 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: Html: shop Css:*{ margin: 0; padding: 0;}table{ width: 1200px; /* background: lightcoral... 阅读全文
posted @ 2018-12-02 20:14 阿宇的编程之旅 阅读(4609) 评论(0) 推荐(0) 编辑
摘要: 代码: Document ... 阅读全文
posted @ 2018-12-02 19:33 阿宇的编程之旅 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 附上代码: Document 阅读全文
posted @ 2018-12-02 16:57 阿宇的编程之旅 阅读(938) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 下一页