会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Felix_Openmind
https://github.com/serendipitywzz
博客园
首页
新随笔
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
46
下一页
2024年5月4日
Diff算法
摘要: 概论: 什么是Diff算法?为什么要使用diff算法? 手写Vue的diff算法 手写React的diff算法 diff去比较虚拟DOM =》找出差异点(需要更新一个虚拟DOM) =》真实DOM =》render Vue中diff算法实现:https://blog.csdn.net/weixin_6
阅读全文
posted @ 2024-05-04 23:07 Felix_Openmind
阅读(45)
评论(0)
推荐(0)
2024年5月1日
Git commit规范(约定式提交)
摘要: fix: 修复Bug feat:新增功能 build:修改项目构建系统,eg:修改依赖库或升级版本... chore: 对非业务性代码进行修改,修改构建流程或工具配置等 docs:修改文档 style:修改代码的样式,eg:调整缩进、空格、空行等 refactor:重构代码,eg:修改代码结构、变量
阅读全文
posted @ 2024-05-01 16:23 Felix_Openmind
阅读(81)
评论(0)
推荐(0)
2024年4月23日
ant design vue的a-select下拉框,实现既能输入内容,也可以下拉选择的效果 - SECRET_COMBOBOX_MODE_DO_NOT_USE
摘要: 参考: https://juejin.cn/post/7358446362575355914 <template> 请选择: <a-select v-model:value="keyValue" allowClear mode="SECRET_COMBOBOX_MODE_DO_NOT_USE" sh
阅读全文
posted @ 2024-04-23 10:11 Felix_Openmind
阅读(3488)
评论(0)
推荐(2)
2024年4月22日
Web检测页面活跃状态
摘要: document.addEventListener("visibilitychange", function() { if (document.visibilityState 'visible') { // 当前页签处于活跃状态 console.log('当前页签处于活跃状态'); } else {
阅读全文
posted @ 2024-04-22 18:57 Felix_Openmind
阅读(79)
评论(0)
推荐(0)
2024年4月19日
浮动利用opacity实现过度隐藏动画
摘要: <span class="role-name role-count-info"> {{ roleCountInfo }} <div class="all-roleName-box"> <li v-for="(roleName, index) in roleListNames" :key="index
阅读全文
posted @ 2024-04-19 10:42 Felix_Openmind
阅读(44)
评论(0)
推荐(0)
2024年4月18日
wangeditor5富文本中的图片点击放大
摘要: 放大图片组件 img-preview.vue <template> <div class="preview" @click="onClick" @keydown="onKeydown"> <div class="preview-img" > <img :src="src" alt /> </div>
阅读全文
posted @ 2024-04-18 19:37 Felix_Openmind
阅读(949)
评论(0)
推荐(0)
Wangeditor5富文本上传设置图片默认大小 eg: 设置宽度为30%
摘要: const imgRegEx = /<img.*?>/gi; const handleChange = (editor) => { console.log('change:', editor.getHtml()) const richText = valueHtml.value valueHtml.
阅读全文
posted @ 2024-04-18 19:18 Felix_Openmind
阅读(1732)
评论(0)
推荐(0)
2024年4月16日
CSS实现网站置灰
摘要: body{ filter: grayscale(1); } //或者 html.gray-mode { filter: grayscale(.95); -webkit-filter: grayscale(.95); } 其他 blur 模糊-webkit-filter:blur(2px); brig
阅读全文
posted @ 2024-04-16 15:44 Felix_Openmind
阅读(131)
评论(0)
推荐(0)
CSS实现边框渐变色
摘要: border有个border-image的属性,类似background也有个background-image一样,通过为其设置渐变颜色后,实现的渐变,后面的数字4为x方向偏移量 .border-grident{ margin-top: 20px; width: 200px; height: 200
阅读全文
posted @ 2024-04-16 15:41 Felix_Openmind
阅读(413)
评论(0)
推荐(0)
2024年4月14日
Vue3、AntDesignModal、useModal.js封装组件
摘要: useModal.js import { nextTick, ref } from 'vue' import {isFunction} from "lodash-es"; export function useModal() { const visible = ref(false) const lo
阅读全文
posted @ 2024-04-14 12:57 Felix_Openmind
阅读(646)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
46
下一页
*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}