会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wanpisces
博客园
首页
新随笔
联系
订阅
管理
2018年1月
canvas生成水印图,并且存图分享
摘要: h5存图分享 微信存图:
阅读全文
posted @ 2018-01-15 15:37 wanpisces
阅读(216)
评论(0)
推荐(0)
编辑
es6总结
摘要: yield: 关键字用来暂停和继续一个生成器函数。我们可以在需要的时候控制函数的运行。 yield 关键字使生成器函数暂停执行,并返回跟在它后面的表达式的当前值。与return类似,但是可以使用next方法让生成器函数继续执行函数yield后面内容,直到遇到yield暂停或return返回或函数执行
阅读全文
posted @ 2018-01-04 10:24 wanpisces
阅读(92)
评论(0)
推荐(0)
编辑
2017年10月
nodeJs技术相关
摘要: 岁的萨芬
阅读全文
posted @ 2017-10-23 16:23 wanpisces
阅读(87)
评论(0)
推荐(0)
编辑
2017年9月
微信小程序相关
摘要: (1)定位选择: (2)h5页面跳小程序: <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.0.js"></script> if (window.__wxjs_environment 'min
阅读全文
posted @ 2017-09-04 09:53 wanpisces
阅读(109)
评论(0)
推荐(0)
编辑
2017年8月
react
摘要: (1)componentDidMount() 钩子,这是一个建立定时器的好地方 (2)componentWillUnmount()生命周期钩子中卸载计时器 (3)关于setState: setState()该函数将接收先前的状态作为第一个参数,将需要更新的值作为第二个参数 例如:this.setSt
阅读全文
posted @ 2017-08-14 14:25 wanpisces
阅读(125)
评论(0)
推荐(0)
编辑
2017年6月
nodeJs+mongodb博客系统搭建
摘要: (一) 搭建项目: (1)初始化模块 (2) 填写项目名字 (3) Yes (4)npm安装express模块 链接数据库 可Robomongo视化工具连接
阅读全文
posted @ 2017-06-03 11:24 wanpisces
阅读(147)
评论(0)
推荐(0)
编辑
vue-cli
摘要: (1) (2)其中vue-example是生成的文件夹名字 (3) (4)启动:
阅读全文
posted @ 2017-06-03 11:15 wanpisces
阅读(127)
评论(0)
推荐(0)
编辑
插件方法总结
摘要: 禁止页面缩放 //百度搜索接口 function baiduSearch(oContainer ,index ,cbName){ var searchInput=document.getElementsByClassName(oContainer)[index]; searchInput.onkey
阅读全文
posted @ 2017-06-03 11:11 wanpisces
阅读(241)
评论(0)
推荐(0)
编辑
兼容性积累
摘要: 设置字间距letter-spacing: ; 对于rem在p元素中失效的问题 可以:max-height:99999px; Header nav search main side option footer table tr td{border-collapse:collapse;} Ctl+alt
阅读全文
posted @ 2017-06-03 11:10 wanpisces
阅读(99)
评论(0)
推荐(0)
编辑
webpack
摘要: (1) npm init –yes (2) npm install webpack --save-dev (3) 如果想要支持css文件的打包需要:npm install css-loader style-loader --save-dev (4) webpack hello.js helo.bun
阅读全文
posted @ 2017-06-03 11:08 wanpisces
阅读(89)
评论(0)
推荐(0)
编辑
下一页
公告