会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
X1aoYE
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
下一页
2020年11月6日
vue项目等保二级整理
摘要: 1、应用系统字符(%¥……&,防SQL注入)输入框的特殊字符过滤: 在main.js 引入以下代码,即可全局使用。 Vue.prototype.validSe = function(value) { value = value.replace(/[`~*~!@#$%^&*()_\-+=<>?:"{}
阅读全文
posted @ 2020-11-06 14:00 X1aoYE
阅读(191)
评论(0)
推荐(0)
2020年7月21日
iframe 标签 引入视频 的格式
摘要: <iframe src="这里写你的视频链接?rel=0&autoplay=1" frameborder=0 allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" allow="autopl
阅读全文
posted @ 2020-07-21 09:38 X1aoYE
阅读(1174)
评论(0)
推荐(0)
2020年7月17日
hover图片放大效果
摘要: 先给图片一个属性: transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1); 再给hover一个属性: transform: scale3d(1.2, 1.2, 1);
阅读全文
posted @ 2020-07-17 14:27 X1aoYE
阅读(1003)
评论(0)
推荐(0)
2020年6月12日
阻止页面滚动的方法
摘要: //阻止浏览器事件 function disabledMouseWheel() { document.addEventListener('DOMMouseScroll', scrollFunc, { passive: false }); document.addEventListener('mous
阅读全文
posted @ 2020-06-12 15:40 X1aoYE
阅读(319)
评论(0)
推荐(0)
2020年5月14日
uniapp navigator url 传参方法
摘要: //方法1<navigator :url="'/pages/index/information/news?id='+值+'&title=值'"> </navigator>//方法2<navigator :url="`/pages/index/information/news?id=${值}&titl
阅读全文
posted @ 2020-05-14 14:42 X1aoYE
阅读(3539)
评论(0)
推荐(0)
2020年5月13日
uniapp 动态class
摘要: <image class="img1" :class="[{'img1':index == 0},{'img2':index == 1},{'img3':index == 2}]" :src="avtUrl" lazy-load="true" mode="aspectFill" v-for="(av
阅读全文
posted @ 2020-05-13 23:02 X1aoYE
阅读(2071)
评论(0)
推荐(0)
2020年2月7日
express写的接口在疯狂刷新几十次后,服务器挂掉
摘要: 用到的命令行: show status like 'Threads%'; show variables like '%max_connections%'; show global status like 'Max_used_connections'; 所以可以在mysql 命令行 尝试下重新设置以下
阅读全文
posted @ 2020-02-07 13:33 X1aoYE
阅读(451)
评论(0)
推荐(0)
2019年12月11日
qrcode在手机上不显示的问题
摘要: 可以试试以下解决方案: 1、修改qrcode.min.js:里的function n()红线区域替换成这个 , 原因是这样子才能支持安卓机显示。
阅读全文
posted @ 2019-12-11 11:13 X1aoYE
阅读(1334)
评论(0)
推荐(0)
2019年11月28日
css 文本溢出省略号
摘要: 单行溢出显示省略号: white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 多行溢出显示省略号: display: -webkit-box !important; overflow: hidden; text-overflow
阅读全文
posted @ 2019-11-28 11:16 X1aoYE
阅读(132)
评论(0)
推荐(0)
2019年11月26日
css解决字段不换行
摘要: 1.自动换行 <div style="widht:100%;height:100%;word-wrap: break-word">啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</div> 2.限制宽高度 <div style="widht:100px;height:100px;overflow:hi
阅读全文
posted @ 2019-11-26 17:15 X1aoYE
阅读(241)
评论(0)
推荐(0)
1
2
3
4
下一页
公告