会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chenfengami
博客园
首页
新随笔
联系
订阅
管理
2021年11月2日
nginx配置本地https方法
摘要: OpenSSL创建自签名证书 openssl req -sha256 -newkey rsa:2048 -nodes -keyout agsenterprise.key -x509 -days 3650 -out agsenterprise.crt -config /usr/local/etc/op
阅读全文
posted @ 2021-11-02 12:46 chenfengami
阅读(251)
评论(0)
推荐(0)
2021年6月8日
ios端下overflow-hidden和border-radius无法隐藏边角问题
摘要: 问题如下: 解决 position: relative; z-index: 1;
阅读全文
posted @ 2021-06-08 10:13 chenfengami
阅读(128)
评论(0)
推荐(0)
2021年4月29日
利用Vue.extend生成全局弹窗
摘要: 利用Vue.extend生成全局弹窗 效果 弹窗组件 <template> <div class="dialog" v-if="isVisible"> <div class="mask" /> <div class="info"> <button @click="handleClose">关闭</b
阅读全文
posted @ 2021-04-29 20:44 chenfengami
阅读(356)
评论(0)
推荐(0)
2021年4月21日
EventEmitter的前端JS实现
摘要: EventEmitter的前端JS实现 /** * on(event, listener):为指定事件注册一个监听器,接受一个字符串 event 和一个回调函数。 * emit(event, [arg1], [arg2]): 按监听器的顺序执行执行每个监听器 * addListener(event,
阅读全文
posted @ 2021-04-21 14:23 chenfengami
阅读(383)
评论(0)
推荐(0)
2021年4月20日
linux find查找文件位置
摘要: linux find查找文件位置 find / -name nginx.conf
阅读全文
posted @ 2021-04-20 11:14 chenfengami
阅读(142)
评论(0)
推荐(0)
2021年4月14日
运用vue-awesome-swiper实现一个slide居中一个缩小显示
摘要: 运用vue-awesome-swiper实现一个slide居中一个缩小显示 效果图 HTML代码 <swiper ref="cardSwiper" :options="cardSwiperOption" > <swiper-slide /> <swiper-slide /> </swiper> sw
阅读全文
posted @ 2021-04-14 20:06 chenfengami
阅读(677)
评论(0)
推荐(0)
2021年2月22日
IntersectionObserver
摘要: IntersectionObserver 图片懒加载 参考: http://www.ruanyifeng.com/blog/2016/11/intersectionobserver_api.html https://developer.mozilla.org/zh-CN/docs/Web/API/I
阅读全文
posted @ 2021-02-22 23:33 chenfengami
阅读(45)
评论(0)
推荐(0)
2021年1月18日
leetcode 加一
摘要: leetcode 加一 给定一个由 整数 组成的 非空 数组所表示的非负整数,在该数的基础上加一。 最高位数字存放在数组的首位, 数组中每个元素只存储单个数字。 你可以假设除了整数 0 之外,这个整数不会以零开头。 示例 1: 输入:digits = [1,2,3] 输出:[1,2,4] 解释:输入
阅读全文
posted @ 2021-01-18 19:38 chenfengami
阅读(60)
评论(0)
推荐(0)
2020年12月4日
Promise数组的串行执行
摘要: Promise数组的串行执行 利用递归的方式 let promises = []; // 初始化promise数组 for (let i = 0; i < 5; i++) { promises.push( new Promise((resolve, reject) => { setTimeout((
阅读全文
posted @ 2020-12-04 10:59 chenfengami
阅读(895)
评论(0)
推荐(0)
2020年11月29日
微任务和宏任务都有哪些?
摘要: 微任务和宏任务有哪些 微任务 process.nextTick MutationObserver Promise.then catch finally 宏任务 I/O setTimeout setInterval setImmediate requestAnimationFrame
阅读全文
posted @ 2020-11-29 20:48 chenfengami
阅读(933)
评论(0)
推荐(0)
下一页
公告