宁杰措

导航

2017年1月17日

css倒影

摘要: .img-box { width: 100%; height: 44.8vw; background-size:cover; background-repeat:no-repeat; background-position:center; -webkit-box-reflect: below 1px 阅读全文

posted @ 2017-01-17 14:46 宁杰措 阅读(69) 评论(0) 推荐(0) 编辑

2017年1月6日

canvas生成二维码,并下载保存为本地的图片

摘要: function getTicket(id,salt){//qrcode生成canvas二维码 $(".zc-mask").show(); $(".edit-box").show(); var url = 'http://tour.s-linktimes.com/beta/payment.html? 阅读全文

posted @ 2017-01-06 16:46 宁杰措 阅读(517) 评论(0) 推荐(0) 编辑

MyEclipse 激活

摘要: 2014版,需要注意的几个问题: 1.安装路径不要有空格; 2.输入usercode-systemid-tools rebyild-active-tools replace-tools-save; 3.tools-replace 时,找不到plugins文件夹,找APPData下面的路径,看不到可能 阅读全文

posted @ 2017-01-06 16:32 宁杰措 阅读(155) 评论(0) 推荐(0) 编辑

2016年11月14日

文字溢出隐藏

摘要: list-item-text-desc { line-height: 5.6vw; height: 11.2vw; overflow: hidden; display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertica 阅读全文

posted @ 2016-11-14 16:27 宁杰措 阅读(92) 评论(0) 推荐(0) 编辑

2016年9月12日

CRLF和LF

摘要: 协作项目,开发环境不同(mac,window)构建过程中,命令行报错(expecting LF but only find CRLF) 打开git bash,输入 $ git config --global core.autocr lf false 再构建,解决 阅读全文

posted @ 2016-09-12 16:09 宁杰措 阅读(186) 评论(0) 推荐(0) 编辑

2016年8月30日

基于JS功能强大的日期插件Kalendae

摘要: 开发中需要一个日期插件,可以在zepto下使用,可以选择日期段,可以设置不可选日期 找到一个完全满足的,并且基于JS不依赖于任何库。 在线演示:http://chipersoft.com/Kalendae/ 项目地址:https://github.com/ChiperSoft/Kalendae 阅读全文

posted @ 2016-08-30 11:07 宁杰措 阅读(796) 评论(0) 推荐(0) 编辑

2016年8月24日

source tree 推送错误解决

摘要: fatal: The remote end hung up unexpectedly 出现这个问题是因为文件过大 解决办法: 打开git bash 输入git config --global http.postBuffer 157286400 解决 更多详情参考https://confluence. 阅读全文

posted @ 2016-08-24 17:27 宁杰措 阅读(439) 评论(0) 推荐(0) 编辑