摘要: 1.下载安装node,傻瓜式安装 下载地址:https://nodejs.org/en/download/ 2.终端中输入 node -v ,返回版本号, 终端中输入 npm -v ,返回版本号,安装成功。 3.配置: 在Finder中打开用户目录(就是Mac管理员,点开侧栏打开目录,创建一个Js文 阅读全文
posted @ 2019-09-24 22:13 钱小柒 阅读(2634) 评论(0) 推荐(0)
摘要: ⌘ --> command⇧ --> shift⌥ --> option⬆ --> 上箭头⬇ --> 下箭头⌃ --> Control 编辑 ⌘ + F 在当前窗口查找 ⌘ + ⇧ + F 在全工程查找 ⌘ + ⇧ + ⌥ + N 查找类中的方法或变量 F3 / ⇧ + F3 移动到搜索结果的下/上 阅读全文
posted @ 2019-08-17 15:15 钱小柒 阅读(254) 评论(0) 推荐(0)
摘要: 定制天气插件 阮一峰个人网站 大前端工具集 阅读全文
posted @ 2019-05-14 14:33 钱小柒 阅读(131) 评论(0) 推荐(0)
摘要: 在H5页面中跳转到地图App,或者在本地App中加载的H5页面跳转到地图App,唤起App进行导航; 1、腾讯地图: 调用方式: http://apis.map.qq.com/uri/v1/marker?marker=coord:lat,lng;addr:address 其中lat、lng、addr 阅读全文
posted @ 2019-03-04 12:25 钱小柒 阅读(7789) 评论(0) 推荐(1)
摘要: var temp = "'a1','a2','a3'"; var aaa = temp.split(","); for (var i = 0; i < aaa.length; i++) { var reg = /^[\']|[\']$/g; aaa[i] = aaa[i].replace(reg, 阅读全文
posted @ 2018-11-14 17:05 钱小柒 阅读(4307) 评论(0) 推荐(0)
摘要: 绝对单位: 比例: 1 in inches 英寸 2.54 cm centimeter 厘米 6 pc picas 派卡 25.4 mm millimeter 毫米 72 pt points 磅 96 px pixel 像素 101.6 q quarter millimeter 1/4毫米 相对单位 阅读全文
posted @ 2018-11-08 18:43 钱小柒 阅读(430) 评论(0) 推荐(0)