2024年7月16日

Sublime Text安装

摘要: 破解说明,使用https://hexed.it/,修改sublime_text.exe文件,将80 78 05 00 0F 94 C1 替换为C6 40 05 01 48 85 C9 阅读全文

posted @ 2024-07-16 09:39 凵 阅读(3) 评论(0) 推荐(0) 编辑

2023年3月29日

js文字滚动功能

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文

posted @ 2023-03-29 18:28 凵 阅读(305) 评论(0) 推荐(0) 编辑

CustomEvent 使用

摘要: <!DOCTYPE html> <meta charset="utf-8" /> <html> <head> <title>自定义事件</title> <style type="text/css"> * { margin: 0; padding: 0; } </style> </head> <bod 阅读全文

posted @ 2023-03-29 10:31 凵 阅读(31) 评论(0) 推荐(0) 编辑

2023年3月23日

canvas 网格

摘要: 效果图片 其中的小圆可以移动 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="vi 阅读全文

posted @ 2023-03-23 18:20 凵 阅读(90) 评论(0) 推荐(0) 编辑

2022年11月9日

更改滚动条样式

摘要: .chosePart { padding: 12px 0; height: 280px; overflow-y: auto; } .chosePart::-webkit-scrollbar { width: 5px; height: 5px; } .chosePart::-webkit-scroll 阅读全文

posted @ 2022-11-09 13:59 凵 阅读(35) 评论(0) 推荐(0) 编辑

2022年11月4日

element ui 中table标签添加新一行后自适应滚动到底部

摘要: // 添加 handleAdd () { const tableDemo = { id: null, optionName1: "", optionName2: "", }; this.list.push(tableDemo); // 重要的是下面这部分代码 const timer = setTim 阅读全文

posted @ 2022-11-04 11:20 凵 阅读(165) 评论(0) 推荐(0) 编辑

css中的循环样式 less与sass

摘要: 在sass中.flex { @for $i from 1 through 30 { &-#{$i} { flex: $i; } } }在less中 .flexCn(@i) when(@i <=24) { .flex@{i} { flex: @i; } .flexCn((@i + 1)); } .fl 阅读全文

posted @ 2022-11-04 11:15 凵 阅读(240) 评论(0) 推荐(0) 编辑

2022年3月29日

vscode-settings配置

摘要: { // 文字加粗 "editor.fontWeight": "bold", "files.autoSave": "afterDelay", "eslint.run": "onSave", // 自动保存 "eslint.alwaysShowStatus": true, "editor.mouseW 阅读全文

posted @ 2022-03-29 19:54 凵 阅读(187) 评论(0) 推荐(0) 编辑

2021年12月8日

js7种继承方式

摘要: 1.原型链继承 // 核心:将父类的实例作为子类的原型 // 核心代码 // SubType.prototype = new SuperType() // // 所有涉及到原型链继承的继承方式都要修改子类构造函数的指向,否则子类实例的构造函数会指向SuperType。 // SubType.prot 阅读全文

posted @ 2021-12-08 17:29 凵 阅读(71) 评论(0) 推荐(0) 编辑

2021年10月29日

vue中多个全局指令的配置方法

摘要: // 1. 创建一个关于指令的文件,并且导出 export const mybind= { inserted(dom,options){ } } export const a= { inserted(dom,options){ } } // 2. 将引入文件所有的 export 导出的对象作为一个 阅读全文

posted @ 2021-10-29 10:09 凵 阅读(207) 评论(0) 推荐(0) 编辑

导航