摘要: grid布局 网格布局,顾名思义,方方正正的格子都用它布局😊 常见属性 网格容器属性:grid,grid-template-columns,grid-auto-rows,gap... 网格子元素属性:grid-row,grid-column,grid-area 属性 解释 人话 grid 更改容器 阅读全文
posted @ 2025-08-07 16:39 lupulus 阅读(23) 评论(0) 推荐(0)
摘要: wsl2代理使用 阅读全文
posted @ 2025-02-24 18:11 lupulus 阅读(1) 评论(0) 推荐(0)
摘要: 使用pdf.js窗口预览pdf 一、业务场景 预览pdf一般通过浏览器自带的pdf预览器就可以,但有时候需要窗口预览或自定义操作,可以使用pdf.js操作 二、使用方法 1. 下载安装 pdf.js需要构建后使用,我们可以直接下载安装pdfjs-dist,这是构建好的版本 npm install p 阅读全文
posted @ 2024-01-07 11:35 lupulus 阅读(6284) 评论(0) 推荐(0)
摘要: 本地localhost服务不可用解决方法 阅读全文
posted @ 2023-09-14 22:52 lupulus 阅读(604) 评论(0) 推荐(0)
摘要: 学习下vuex的基本使用 阅读全文
posted @ 2022-08-03 15:10 lupulus 阅读(181) 评论(2) 推荐(1)
摘要: 具名插槽,作用域插槽再也不会一知半解 阅读全文
posted @ 2022-08-02 09:48 lupulus 阅读(119) 评论(0) 推荐(0)
摘要: 自定义组件上使用v-model和.sync,简单的事情就要简单学 阅读全文
posted @ 2022-07-29 10:42 lupulus 阅读(1170) 评论(1) 推荐(2)
摘要: vue2中那些基础的组件通信方式 阅读全文
posted @ 2022-07-28 11:10 lupulus 阅读(778) 评论(1) 推荐(1)
摘要: vue项目菜单栏实现方案 阅读全文
posted @ 2022-07-27 11:18 lupulus 阅读(1228) 评论(0) 推荐(0)
摘要: ES6 class中的一些问题 记录下class中的原型,实例,super之间的关系 //父类 class Dad { constructor(x, y) { this.x = 5; this.y = 1; this.state = 789 } static x = 521 state1 = 666 阅读全文
posted @ 2022-07-21 15:15 lupulus 阅读(255) 评论(0) 推荐(0)