会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
仔仔爱学习
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
20
下一页
2023年1月10日
vue 3.0 引入swiper 8 direction不生效
摘要: 需要手动给元素高度 <swiper class="my-swiper" :modules="modules" :direction="'vertical'" :loop="true" :slides-per-view="1" :space-between="50" :autoplay="autopl
阅读全文
posted @ 2023-01-10 10:41 仔仔爱学习
阅读(404)
评论(0)
推荐(0)
2022年12月14日
在css 中使用calc并且含有变量
摘要: bottom:~"calc(.9rem + constant(safe-area-inset-bottom))"; bottom:~"calc(.9rem + env(safe-area-inset-bottom))";
阅读全文
posted @ 2022-12-14 15:10 仔仔爱学习
阅读(330)
评论(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 仔仔爱学习
阅读(89)
评论(0)
推荐(0)
2022年12月13日
需要改动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 仔仔爱学习
阅读(117)
评论(0)
推荐(0)
2022年12月9日
整个项目,置灰
摘要: 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 仔仔爱学习
阅读(21)
评论(0)
推荐(0)
2022年11月25日
vue 同一个子组件,两次赋值不同,dom不更新
摘要: 转自:https://blog.csdn.net/WO_JIAMIFENG/article/details/115250918 <div :key="inputkey"> 我是子组件,我不更新,我的标签上加个:key <div> watch: { data: { deep: true, immedi
阅读全文
posted @ 2022-11-25 10:14 仔仔爱学习
阅读(157)
评论(0)
推荐(0)
2022年7月23日
uniapp 微信小程序 使用 echarts 避坑
摘要: echarts.min.js的版本 5.3.2 第一步 : https://blog.csdn.net/qq_45164516/article/details/125298373 第二步: 重中之重修改echarts.min.js https://blog.csdn.net/qq_20095005/
阅读全文
posted @ 2022-07-23 12:23 仔仔爱学习
阅读(414)
评论(0)
推荐(0)
2022年7月11日
毛玻璃效果
摘要: backdrop-filter:saturate(150%) contrast(50%) blur(8px);-webkit-backdrop-filter:saturate(150%) contrast(50%) blur(8px);background-color:rgba(0,0,0,.3);
阅读全文
posted @ 2022-07-11 13:45 仔仔爱学习
阅读(72)
评论(0)
推荐(0)
iview 后台 禁止F12
摘要: mounted() {}, beforeRouteEnter(to, from, next) { if(to.name 'data_home_index'){ document.onload = function (){ return false; } document.oncontextmenu
阅读全文
posted @ 2022-07-11 11:10 仔仔爱学习
阅读(41)
评论(0)
推荐(0)
2022年6月29日
-webkit-box-orient: vertical 打包后不生效
摘要: 多行超出隐藏使用-webkit-box-orient: vertical; 本地开发环境正常,项目打包后-webkit-box-orient: vertical丢失,原因是optimize-css-assets-webpack-plugin包的问题 //在scss中 /*! autoprefixer
阅读全文
posted @ 2022-06-29 09:37 仔仔爱学习
阅读(190)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
20
下一页
公告