随笔 - 193  文章 - 0  评论 - 8  阅读 - 32万 
12 2022 档案
在css 中使用calc并且含有变量
摘要:bottom:~"calc(.9rem + constant(safe-area-inset-bottom))"; bottom:~"calc(.9rem + env(safe-area-inset-bottom))"; 阅读全文
posted @ 2022-12-14 15:10 仔仔爱学习 阅读(313) 评论(0) 推荐(0) 编辑
项目引入fastclick 导致ios中input需要多次点击才能触发focus
摘要:main.js中引入之后的修改 import FastClick from "fastclick"; FastClick.prototype.focus = function (targetElement) { let length; if ( targetElement.setSelectionR 阅读全文
posted @ 2022-12-14 13:46 仔仔爱学习 阅读(74) 评论(0) 推荐(0) 编辑
需要改动node_modules,并且别人也可以同步,插件 patch-package
摘要:patch-package 转自:https://www.cnblogs.com/lovewhatIlove/p/15724812.html 1、简介:有个功能需要修改node_modules里面的代码,就发现patch-package可以立即修改并保留对 npm 依赖项的修改。 2、安装patch 阅读全文
posted @ 2022-12-13 09:17 仔仔爱学习 阅读(109) 评论(0) 推荐(0) 编辑
整个项目,置灰
摘要:html { /*兼容FF*/ filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' 阅读全文
posted @ 2022-12-09 09:41 仔仔爱学习 阅读(16) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示