会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
永颜
我就看看不说话
博客园
新随笔
联系
管理
订阅
上一页
1
2
2019年4月18日
前端常用的工具库
摘要: Lodash是一个一致性、模块化、高性能的 JavaScript 实用工具库。 网址:https://www.lodashjs.com/ JavaScript 日期处理类库 JavaScript 日期处理类库 网址:http://momentjs.cn/
阅读全文
posted @ 2019-04-18 20:37 永颜
阅读(211)
评论(0)
推荐(0)
2019年3月20日
常用git命令
摘要: git命令: ########################################################### git clone -b 分支名 仓库地址 git fetch origin 获取远端分支 git fetch -p 清理远程已删除本地还存在的分支 ########
阅读全文
posted @ 2019-03-20 17:18 永颜
阅读(177)
评论(0)
推荐(0)
Git拉取代码提示Another git process seems to be running
摘要: Git操作的过程中突然显示 Another git process seems to be running in this repository, e.g.an editor opened by 'git commit'. Please make sure all processesare term
阅读全文
posted @ 2019-03-20 17:15 永颜
阅读(2469)
评论(0)
推荐(0)
2019年2月21日
Vue & React组件间的传递
摘要: Vue: ref 传值 父组件<test1 ref="AAA"></test1>子组件<img ref="BBB" /> methods:{ afun(){ ... } } if (this.$refs.AAA) { this.$refs.AAA.$refs.BBB.src = "xxx"; thi
阅读全文
posted @ 2019-02-21 15:41 永颜
阅读(371)
评论(0)
推荐(0)
2017年8月8日
CSS 3D transform 之 perspective 属性
摘要: perspective的中文意思是:透视,视角! perspective属性的是否存在 决定了你所看到的是2次元的还是3次元的。 perspective 属性定义 3D 元素距视图的距离,以像素计。该属性允许您改变 3D 元素查看 3D 元素的视图。 当为元素定义 perspective 属性时,其
阅读全文
posted @ 2017-08-08 14:34 永颜
阅读(1907)
评论(0)
推荐(0)
2017年6月28日
Node批量抓取高清妹子图片
摘要: node爬虫很有意思,看大神都是各种爬小说,爬图片,爬视频等等。自己也是刚了解,希望可以共同学习~ 代码如下: 安装Node.js http://nodejs.org/download/ 安装依赖包 npm install xxxxxx 运行程序 node app.js
阅读全文
posted @ 2017-06-28 17:35 永颜
阅读(552)
评论(0)
推荐(0)
2017年6月7日
js获取页面URL地址,判断URL是否包含具体值
摘要: window.location.pathname //设置或获取对象指定的文件名或路径window.location.href //设置或获取整个 URL 为字符串 window.location.origin // 获取当前页面的域名window.location.port //设置或获取与 UR
阅读全文
posted @ 2017-06-07 18:42 永颜
阅读(23122)
评论(0)
推荐(0)
2017年3月23日
H5 本地存储 localstorage封装 - store.js
摘要: store.js 是一个实现了浏览器的本地存储的 JavaScript 封装 API,不是通过 Cookie 和 Flash 技术实现,而是使用 localStorage、globalStorage 和 userData 行为。 示例代码: GitHub地址:https://github.com/m
阅读全文
posted @ 2017-03-23 15:25 永颜
阅读(2239)
评论(0)
推荐(0)
手机字体大小 px - rem javascript 换算
摘要: (function () { function o() { document.documentElement.style.fontSize = (document.documentElement.clientWidth ) / 31.25 + "px" } var e = nu...
阅读全文
posted @ 2017-03-23 15:18 永颜
阅读(458)
评论(0)
推荐(0)
上一页
1
2