咏竹莉
where there is a will,there is a way
posts - 132,comments - 1,views - 66816
07 2021 档案
vsode 按command无法跳转到函数定义处
摘要:安装vue-helper 插件 ,安装完就可以了 阅读全文
posted @ 2021-07-29 17:57 咏竹莉 阅读(118) 评论(0) 推荐(0) 编辑
node版本管理
摘要:一、安装npm插件n ,通过n模块来管理node版本 1、全局安装n模块 npm install -g n 2、安装当前稳定版本 n stable或者sudo n stable 3、安装最新版本的 n latest或者sudo n latest 4、安装指定版本的node n v8.16.0 5、卸 阅读全文
posted @ 2021-07-21 17:32 咏竹莉 编辑
小程序开发尺寸
摘要:小程序开发时,设计稿尺寸按750*1334开发 , 看到多少px,就写为多少rpx,以iphone6为标准,屏幕尺寸是375px, 此时1rpx = .5px; 小程序的官方文档中有写到: 阅读全文
posted @ 2021-07-19 14:50 咏竹莉 阅读(1415) 评论(0) 推荐(0) 编辑
Object的扩展 Object.create、Object.defineProperty、Object.defineProperties
摘要:1. Object.create(obj, [descriptors]) 作用: 以指定对象为原型,创建新的对象。同时,第二个参数可以为新的对象添加新的属性,并对此属性进行描述。 举例:(没有第二个参数时) var obj1 = {username: 'smyhvae', age: 26}; var 阅读全文
posted @ 2021-07-16 11:34 咏竹莉 阅读(132) 评论(0) 推荐(0) 编辑
gist.github.com 无法访问解决办法
摘要:1.打开https://www.ipaddress.com/,(解析gist对应的ip)输入gist.github.com获取IP地址。 2. ping此ip 地址,可以访问 3. 将IP地址写入本地Hosts文件。 140.82.112.4 gist.github.com 4. 本地刷新DNS缓存 阅读全文
posted @ 2021-07-15 11:27 咏竹莉 编辑
macbookpro 打开功能键
摘要:勾上此选项 阅读全文
posted @ 2021-07-14 11:53 咏竹莉 编辑
VSCode 设置tab键为4个空格
摘要:1. 点击右下角空格 2. 选择使用空格缩进 3. 选择4设置为 4个空格 阅读全文
posted @ 2021-07-14 11:40 咏竹莉 编辑
my97使用及修改弹框位置
摘要:1. 页面引入 (样式修改参考项目) <div class="calendarBar"> <input type="text" class="Wdate inputDate" value="2021-06" /> </div> 2. 使用 $('.inputDate').click(function 阅读全文
posted @ 2021-07-13 14:47 咏竹莉 编辑
if else 简写
摘要:第一种省略括号: /*方法1*/ if(a > b) console.log('a大'); else console.log('b大'); /*三元操作运算符*/ a> b ? 'a大' : 'b大' 第二种使用对象形式: let orderStatus = '' if (res.data.stat 阅读全文
posted @ 2021-07-08 15:15 咏竹莉 编辑
mac 安装nginx
摘要:安装工具 homebrew (之前本机已安装) 安装nginx 1. 打开终端: brew update 2. 查看nginx是否存在 brew search nginx 3. 查看nginx信息 brew info nginx 4. 若无nginx,开始安装: brew install nginx 阅读全文
posted @ 2021-07-08 10:53 咏竹莉 编辑
mac 打包文件在nginx上运行
摘要:1. 想本地启动打包后的文件,需要本地安装nginx 具体安装步骤百度,本机已安装 安装步骤:[https://www.cnblogs.com/tandaxia/p/8810648.html](https://www.cnblogs.com/tandaxia/p/8810648.html) 2. 打 阅读全文
posted @ 2021-07-08 10:29 咏竹莉 阅读(135) 评论(0) 推荐(0) 编辑
操作DOM
摘要:操作DOM节点,做常用的是document.getElementById() 和 document.getElementsByTagName() , 以及css选择器document.getElementsByClassName(); document.getElementsByTagName() 阅读全文
posted @ 2021-07-02 10:18 咏竹莉 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示