xsnow
机遇总是留给有准备的人
摘要: js中常见的宽度,高度 阅读全文
posted @ 2019-05-21 18:35 xsnow 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 问题描述 1、npm -v检查版本正常,npm install安装依赖提示超时 2、cnpm -v检查版本正常,cnpm install安装依赖无反应(输入命令后没有任何提示,一直卡在那) 解决(参考网址:https://segmentfault.com/q/1010000012575385/rev 阅读全文
posted @ 2019-04-18 10:33 xsnow 阅读(956) 评论(0) 推荐(0) 编辑
摘要: 最近在做移动端页面时,出现弹窗时,在手机端滑动页面,页面底部出现空白,现将解决方法整理如下。 阅读全文
posted @ 2019-04-03 18:34 xsnow 阅读(946) 评论(0) 推荐(0) 编辑
摘要: 最新,在使用sort进行排序时,遇到苹果手机与安卓手机排序不一致问题,现将解决方法记录如下。 阅读全文
posted @ 2019-04-03 18:21 xsnow 阅读(714) 评论(0) 推荐(0) 编辑
摘要: 一、官网 官网地址:http://www.websocket.org/ 二、websocket初识demo <input id="sendTxt" type="text"/> <button id="sendBtn">发送</button> <div id="recv"></div> <script 阅读全文
posted @ 2019-04-02 09:48 xsnow 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 一、创建项目 git clone xx.git 克隆项目到本地 git init 初始化本地项目,生成.git文件 二、创建分支,推送分支,合并分支,撤销分支合并 1、创建分支 git branch <branch-name> 新建分支 git checkout <branch-name> 切换分支 阅读全文
posted @ 2019-03-20 09:11 xsnow 阅读(171) 评论(0) 推荐(0) 编辑
摘要: vue调试方法有如下三种 1、chrome谷歌插件vue-devtools 2、console.log()、console.error()、alert()、debugger 3、设置全局变量,分为两种 第一种:cdn方式引用vue.js文件的调试方法,定义变量app var app = new Vu 阅读全文
posted @ 2019-03-19 09:21 xsnow 阅读(898) 评论(0) 推荐(0) 编辑
摘要: .gitinore中配置已提交过的代码文件夹,提交时配置失效 阅读全文
posted @ 2019-03-12 17:13 xsnow 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 一、window对象 1.1 窗口位置 screenLeft / screenTop : 分别表示窗口相对于屏幕左边和上边的位置(IE,Safari, Opera, Chrome支持) screenX / screenY : 分别表示窗口相对于屏幕左边和上边的位置 (Firefox支持) // 跨浏 阅读全文
posted @ 2019-03-06 16:58 xsnow 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 问题:最近在写样式时,遇到一个这样的问题,子元素的z-index值大于父元素兄弟元素z-index值,结果子元素超出父元素部分被父元素兄弟元素遮挡解决:将父元素的z-index值设置为大于兄弟元素z-index值即可代码如下:<style> .wrapper:first-of-type .outer 阅读全文
posted @ 2019-01-23 14:02 xsnow 阅读(2315) 评论(0) 推荐(0) 编辑