会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
半糖也很甜吖
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
下一页
2020年12月7日
VMware Workstation 15 Pro安装Mac OS 10.15.0
摘要: 1.安装环境信息 VMware Workstation版本 VMware® Workstation 15 Pro 15.5.6 build-16341506 操作系统版本 Windows 10 企业版 LTSC 处理器:Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
阅读全文
posted @ 2020-12-07 14:42 半糖也甜吖
阅读(1428)
评论(0)
推荐(0)
2020年11月25日
Centos7 安装NodeJS以及Nvm多版本管理
摘要: 安装node 1.curl --silent --location https://rpm.nodesource.com/setup_12.x | sudo bash - 2.yum install -y nodejs 3.node -v 多版本管理 1.进入https://github.com/n
阅读全文
posted @ 2020-11-25 14:32 半糖也甜吖
阅读(1649)
评论(0)
推荐(0)
2020年10月14日
Vue-内容展开收起过渡效果(借鉴某位大佬,不知道出处了)
摘要: 1.定义collapseTransition .js 1 const elTransition = '0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out'; 2 const Tr
阅读全文
posted @ 2020-10-14 17:15 半糖也甜吖
阅读(1173)
评论(0)
推荐(0)
Vue-表单校验
摘要: 1.新建xxx.js 定义策略对象和策略类 1 /*策略对象*/ 2 const strategies = { 3 // 是否为空 4 isNonEmpty(value, errorMsg) { 5 return value '' ? errorMsg : void 0; 6 }, 7 // 最小长
阅读全文
posted @ 2020-10-14 17:04 半糖也甜吖
阅读(382)
评论(0)
推荐(0)
2020年10月9日
使用Scriptable添加IOS小组件
摘要: 1.在apple store中搜索下载Scriptable 2.打开Scriptable 3.点击右上角 "+",进入添加界面 4.在空白区域粘贴代码,点击右下角运行按钮可以试运行 5.长按脚本,选择rename可以进行重命名。 6.在桌面添加小组件 a.选择scriptable组件 b.长按添加的
阅读全文
posted @ 2020-10-09 09:39 半糖也甜吖
阅读(7912)
评论(0)
推荐(0)
使用Scriptable制作IOS小组件之图片展示
摘要: 1 let widget = await createWidget(); 2 if (!config.runsInWidget) { 3 await widget.presentLarge(); 4 } 5 Script.setWidget(widget); 6 Script.complete();
阅读全文
posted @ 2020-10-09 09:05 半糖也甜吖
阅读(1514)
评论(0)
推荐(0)
2020年9月23日
Android Monkey测试
摘要: 查看包名adb shell dumpsys window w | findstr \/ | findstr name= 基本用法adb shell monkey -p com.shanghai.test -v 10000 输出日志adb shell monkey -p com.shanghai.te
阅读全文
posted @ 2020-09-23 15:15 半糖也甜吖
阅读(139)
评论(0)
推荐(0)
2020年8月31日
JS常用工具类
摘要: 1.获取当前dom相对于document的偏移量 1 const getOffset = el => { 2 console.log(el); 3 const {top, left} = el.getBoundingClientRect(); 4 const {scrollTop, scrollLe
阅读全文
posted @ 2020-08-31 16:07 半糖也甜吖
阅读(581)
评论(0)
推荐(0)
2020年6月2日
VScode-插件使用以及配置项
摘要: 1.vscode 版本: 版本: 1.56.2 (user setup) 在最新版本中,vscode增加了账户登录选项,实现了配置文件保存在账户中,在更换电脑或者端时,可以直接登录自己账号获取云端vscode配置。 2.配置保存路径 github 3.setting.json { // 对应文件类型
阅读全文
posted @ 2020-06-02 17:38 半糖也甜吖
阅读(2239)
评论(1)
推荐(0)
2020年5月20日
Bootstrap插件——bootstrap-datetimepicker基本使用
摘要: 1 1.首先需要引入css,js文件 2 3 样式文件 4 5 <link rel="stylesheet" href="../bower_components/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css"
阅读全文
posted @ 2020-05-20 09:54 半糖也甜吖
阅读(1080)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告