摘要: 在ios中屏蔽了meta中user-scalable=no的功能,如果想要实现禁止缩放功能需要通过js去实现 阅读全文
posted @ 2019-07-17 09:16 后知_后觉 阅读(2064) 评论(0) 推荐(0) 编辑
摘要: git的基础命令行操作 1、git init //初始化本地git仓库 2、git add <file> //添加文件 3、git status //查看状态 4、git commit //提交 5、git push //推送到仓库 6、git pull //从远程仓库拉取数据 7、git clon 阅读全文
posted @ 2019-07-10 14:38 后知_后觉 阅读(101) 评论(0) 推荐(0) 编辑
摘要: mongoose操作流程 1)安装mongoose包:npm i mongoose 2)引入mongoose:const mongoose=require("mongoose") 3)连接数据库: mongoose.connect("mongodb://127.0.0.1:27017/数据库名",{ 阅读全文
posted @ 2019-05-13 09:40 后知_后觉 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1、进入数据库管理模式: mongo进入数据库管理模式 exit退出数据库管理模式 在数据库管理模式中只能执行数据库命令2、常用的命令 1)数据库命令 a.显示所有的数据库列表:show dbs b.创建数据库:use 数据库名 (如果数据库名不存在,则创建,已存在, 则进入) c.查看当前数据库: 阅读全文
posted @ 2019-05-12 19:42 后知_后觉 阅读(1937) 评论(0) 推荐(0) 编辑
摘要: 1)、安装express-generator生成器 cnpm/npm i -g express-generator 2)、创建项目 express -e 项目名称 3)、安装依赖 cnpm/npm i 4)、开启项目 cnpm / npm app (需要手动添加监听端口代码) app.listen( 阅读全文
posted @ 2019-05-11 14:59 后知_后觉 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Document 弹窗 弹窗头部 × body Lorem ipsum dolor sit amet consectetur adipi... 阅读全文
posted @ 2019-05-07 11:44 后知_后觉 阅读(150) 评论(0) 推荐(0) 编辑
摘要: css实现全图滚动 主页 关于我们 服务 联系我们 主页 Lorem ipsum dolor sit am... 阅读全文
posted @ 2019-05-06 14:17 后知_后觉 阅读(944) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-05 09:23 后知_后觉 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 布局: 两栏布局,一侧固定宽度,另一侧自适应:固定宽度设置浮动,另一侧overflow:hidden; 阅读全文
posted @ 2018-12-29 10:18 后知_后觉 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 1、移动端实现滑动切换轮播图,主要由touch(touchstart,touchmove,touchend)事件实现。在touch事件中可以通过 e.touches[0].clientX获取当前触摸点的位置,在touchend事件中没有e.touches[0].clientX值 阅读全文
posted @ 2018-12-28 11:12 后知_后觉 阅读(1854) 评论(0) 推荐(0) 编辑