摘要: 1、应用系统字符(%¥……&,防SQL注入)输入框的特殊字符过滤: 在main.js 引入以下代码,即可全局使用。 Vue.prototype.validSe = function(value) { value = value.replace(/[`~*~!@#$%^&*()_\-+=<>?:"{} 阅读全文
posted @ 2020-11-06 14:00 X1aoYE 阅读(155) 评论(0) 推荐(0) 编辑
摘要: <iframe src="这里写你的视频链接?rel=0&amp;autoplay=1" frameborder=0 allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" allow="autopl 阅读全文
posted @ 2020-07-21 09:38 X1aoYE 阅读(1079) 评论(0) 推荐(0) 编辑
摘要: 先给图片一个属性: 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 阅读(993) 评论(0) 推荐(0) 编辑
摘要: //阻止浏览器事件 function disabledMouseWheel() { document.addEventListener('DOMMouseScroll', scrollFunc, { passive: false }); document.addEventListener('mous 阅读全文
posted @ 2020-06-12 15:40 X1aoYE 阅读(280) 评论(0) 推荐(0) 编辑
摘要: //方法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 阅读(3420) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(2047) 评论(0) 推荐(0) 编辑
摘要: 用到的命令行: show status like 'Threads%'; show variables like '%max_connections%'; show global status like 'Max_used_connections'; 所以可以在mysql 命令行 尝试下重新设置以下 阅读全文
posted @ 2020-02-07 13:33 X1aoYE 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 可以试试以下解决方案: 1、修改qrcode.min.js:里的function n()红线区域替换成这个 , 原因是这样子才能支持安卓机显示。 阅读全文
posted @ 2019-12-11 11:13 X1aoYE 阅读(1202) 评论(0) 推荐(0) 编辑
摘要: 单行溢出显示省略号: white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 多行溢出显示省略号: display: -webkit-box !important; overflow: hidden; text-overflow 阅读全文
posted @ 2019-11-28 11:16 X1aoYE 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(235) 评论(0) 推荐(0) 编辑